Subject: Fart reactions
Author: Massaria
Posted: 01/30/2006 09:56AM
I've been looking over the farts, and it seems to me they're lacking an important function - a special reaction check of sorts.
Of course, I could very well be wrong ;-)
Say I wanted to have the players do something before something else happens. Like say a prayer to get some kind of boost, move a stone to uncover a hole - whatever. These situations doesn't seem to be covered by the events presently implemented (timer, arrival, show).
I guess I could do it with a cmd and have the command check if the player is in the right room(s) before executing the rest of the cmd file, but that seems to make farts superflous and is just plain awkward. Making the cmd-file add some sort of event, defined and handled on the room/player seems a step in the right direction, but still not very smart I think - would mean an awful lot of commands in the end.
So, is this something I could add myself, or is it something to be included in a future release... or am I missing something?
Thanks
Mass.
reply
Subject: Fart reactions
Author: Tyche
Posted: 02/04/2006 02:47AM
I thought I mentioned it somewhere, maybe not. I don't have any plans on doing anything at all with the farts language. It's an experiment and anyone is free to extend it or not. I wasn't kidding when I said that it stinks. ;-)
It is quite possible that I'll make another more capable little language.
One of my intentions was to allow the triggers to return a value. That would allow one to short circuit events on false values. I don't remember whether farts does it or not. I think maybe only on crashing.
reply
Subject: Fart reactions
Author: Massaria
Posted: 02/07/2006 10:57AM
Tyche wrote:
> It is quite possible that I'll make another more capable little language.
>
I really think you ought to. I know you're doing this for your own reasons and satisfaction, but if you'd like tmud to be useful for making muds, this kind of feature really is a must. Having some king of routine that picks up on keywords and executes whatever associated instructions there might be (after the check for a valid command, I guess), would really elevate tmud's usefulness in most regards.
Massaria
reply