Please Be Seated...
8 Jun 1995 02:45:39 GMT
Hello! I've been developing a game in TADS, but I've become stuck on
what should be a rather simple implementation. Please keep in mind that
I'm new to TADS (although not to programming), so forgive me if I'm
missing the obvious.
I have a trap which sends the player into a chair, which s/he cannot
immediately stand up from.(ie is strapped down). I'm trying to override
doStand for the chair object, but I can't figure out how. I'm trying to
write something like the following
doStand(actor)=
{
if (coin.coshed=true)
"You strain and strain, but the straps hold you tight!";
else
pass doStand
}
on the chair object. Should it go on the room? Or am I _really_ off base?
Thanks for the help,
-Chris