![]() |
Damnatio MemoriaeAn interactive fiction by Emily Short (2008) - the Inform 7 source text |
| Home page Contents Previous Next Complete text | Book 5 - Affecting Actions
Chapter 1 - Opening and Closing Instead of opening something which affects something openable (called the slave): say "You tug at [the noun]. "; if the slave is open, say "[The slave] jiggles, but is already open. "; otherwise say "[The slave] pops open. "; now the slave is open; if the slave affects the noun begin; now the noun is open; say "[The noun] opens as well, of course."; otherwise; say "Nothing happens to [the noun]."; end if. Instead of closing something which affects something openable (called the slave): say "You push at [the noun]. "; if the slave is closed, say "[The slave] jiggles, but is already closed. "; otherwise say "[The slave] slams closed. "; now the slave is closed; if the slave affects the noun begin; now the noun is closed; say "[The noun] is closed as well, of course."; otherwise; say "Nothing happens to [the noun]."; end if. |