[Home] [Groups] - Message: [Prev in Group] [Next in Group]
2854: RE: [MUD-Dev] PirateMUD and CSL
[Full Header] [Plain Text]
From: "Koster, Raph" <rkoster@origin.ea.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 6 Aug 1997 10:13:41 -0500
Organization: Kanga.Nu
On Wednesday, August 06, 1997 2:53 AM,
cg@ami-cg.GraySage.Edmonton.AB.CA wrote:
> [Niklas E:]
> :Greetings everyone,
>
> Greetings!
>
> : <room>
> : .. (room data)
> : <csl>
> : <leave>
> : if (is_env("north")) then {
> : if (has_item("fraznium gloves") {
> : tell_room("The portal glows as @the(i) enter@ve(i).")
> : okay()
> : }
> : else {
> : tell_room("The portal prevents @the(i) from entering."
> : fail()
> : }
> : }
> : </leave>
> : </csl>
> : </room>
> :
> :This worked tremendously well, and has allowed us to write some
very nice
> :puzzles and quests. However, there is one little problem with this
approach:
> :Since the MUD engine gets confirmation of an event from the CSL
function,
> :things may happen in the wrong order.
>
> Been there. Noticed the problem. Don't really have a solution. :-)