Re: Another Inform Question


15 Jun 1995 09:47:37 -0700

> The keep_silent flag can stop library routines from printing
>their successfull message (unsuccessfull it will still print, like "you
>can't..." so an so). The "(taking the safety belt first)" message is made
>by the parser so this will probably not work. You could change the
>parser so that it only prints when the keep_silent flag is false. Only
>way I can see to do it...
> I just checked the parser and, it will print regardless of the
>keep_silent flag.
> Of course you could do the wear action yourself. The seatbelt's
>before routine-
>
> before [;
> wear :
> if (parent(player) == seat) { ! Only wearable in the seat.
> if (self has worn) "Already wearing it.";
> give seatbelt worn;
> move seatbelt to player; ! migth be able to get rid of this.
> "You put on the seatbelt";
> }
> "You have to sit down first.";
> }
> remove :
> if (self hasnt worn) "Your not wearing it";
> give seatbelt ~worn;
> move seatbelt to chair;
> "You take the seatbelt off.";
> ],
>
>Hope this helps...
>-MRR

Actually, this won't work, because the parser sends a Take action (the
seatbelt) before it does a Wear action. I found the appropriate line in
the parser, and I may just comment it out if there aren't any other
situations in the game where (taking the XXXX first) is especially needed.

Thanks

-- 
|Evan Day                | "Audiowhore - sucking on sound, sucking my
| daye@peak.org          |  voice, dragging me down..."        
|"Redneckers, they get us|                         Go Loaf!                   
| pissed" - Black Francis| They've got the guns but we've got the numbers.