Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Recipe 23: Neighborhood Watch
by
The Inform Recipe Book
Played 2,615 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Neighborhood Watch" by "Inform 7 Recipe Book" The shabby door is a door. It is outside from the Studio Apartment and inside from the Rickety Stairwell. The shabby door is locked. The brass key is carried by the player. It unlocks the shabby door. Understand "lock [something]" as locking keylessly. Locking keylessly is an action applying to one thing. Check locking keylessly: if the noun is not a door, say "[The noun] is not something you can lock." instead; if the noun is locked, say "[The noun] is already locked." instead; if the player carries the brass key and the player is in the Stairwell, try locking the noun with the brass key instead; if the player is in the Stairwell, say "You can't lock the door from this side without the key." instead. Carry out locking keylessly: now the noun is locked. Report locking keylessly: say "You flip over the deadbolt to lock [the noun]." Understand "unlock [something]" as unlocking keylessly. Unlocking keylessly is an action applying to one thing. Check unlocking keylessly: if the noun is not a door, say "[The noun] is not something you can lock." instead; if the noun is unlocked, say "[The noun] is already unlocked." instead; if the player carries the brass key and the player is in the Stairwell, try unlocking the noun with the brass key instead; if the player is in the Stairwell, say "You can't unlock the door from this side without the key." instead. Carry out unlocking keylessly: now the noun is unlocked. Report unlocking keylessly: say "You flip over the deadbolt to unlock [the noun]." Test me with "unlock door / drop key / open door / out / close door / lock door / open door / in / get key / out / close door / lock door / unlock door".