Escapade!An interactive fiction by Juhana Leinonen (2008) - the Inform 7 source text | |
Home page Contents Previous Next Complete text | Part Urinating
[There's a toilet hole so I guess this must be here as well.] Urinating is an action applying to one thing. Understand "urinate" as urinating. Understand "urinate on [something]" as urinating. Understand "urinate in [something]" as urinating. Understand the command "pee" and "piss" and "wee" and "tinkle" and "whizz" as "urinate". Understand the command "shit" as something new. Understand the command "defecate" and "poop" and "shit" and "shite" and "crap" as "urinate". Rule for supplying a missing noun while urinating: if the player can see the toilet hole: change the noun to the toilet hole; otherwise: change the noun to the floor. [this can be anything because the response is always the same.] Check urinating: if the noun is not the toilet hole: say "That would just make a mess." instead. Carry out urinating: say "You don't really need to go now[if the creature is in the cell]. And you couldn't, not with the creature looking[end if].[if the creature is present][line break][c]You can be 100 % sure that I wouldn't look,' [the creature] says and shakes its head." |