[Home] [Groups] - Message: [Prev in Group] [Next in Group]
10818: Re: [MUD-Dev] an idea..wondering if this has been done
[Full Header] [Plain Text]
From: "David Bennett" <ddt@discworld.imaginary.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Thu, 15 Jul 1999 15:18:13 -0700
References: [1] [2] <-newest
Organization: Kanga.Nu
On 7/15/99, at 11:21 AM, Christopher Allen - GM Fangs wrote:
>It is difficult to do this with verbs that have effects on objects, but we
>have created a 'verb editor' using XML for socials in the Skotos lib that
>allows a wizard to add quite complex socials.
Hmmm... Interesting...
On Discworld I did this instead:
(roll
(pattern "<indirect:any-living>")
(pattern "<string>")
(pattern "<string> <indirect:any-living>")
(pattern "<indirect:any-living> <string>")
(single
(arguments
(arguments around on the floor laughing,up into a paper to be
delivered,
up into a ball,over and plays dead,sideways,backwards,
professionally,like a spy through an imaginary door,
fearfully,tightly,slowly,a joint)
(self "You roll $arg$.")
(rest "$mcname$ rolls $arg$.")
)
(arguments
(arguments eyes,own cigarette)
(self "You roll your $arg$.")
(rest "$mcname$ rolls $mposs$ $arg$.")
)
)
(targeted
(no-arguments
(self "You roll over $hcname$.")
(target "$mcname$ rolls over you.")
(rest "$mcname$ rolls over $hcname$.")
)
(arguments
(arguments quickly,slowly,painfully,excitedly,lovingly,carefully)
(self "You roll $arg$ over $hcname$.")
(target "$mcname$ rolls $arg$ over you.")
(rest "$mcname$ rolls $arg$ over $hcname$.")
)
)
)
Where it selects an output pattern based on the argument you give it. It
also specifies the pattens used to trigger the soul.
Good luck!
David.
_______________________________________________
MUD-Dev maillist - MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev