Skip to content

Instantly share code, notes, and snippets.

@kumo
Created May 4, 2011 13:12
Show Gist options
  • Save kumo/955187 to your computer and use it in GitHub Desktop.
Save kumo/955187 to your computer and use it in GitHub Desktop.
Finding a key
"Lost Key" by Rob
The Prison is a room. "Dirty, smelly, and cold -- everything that you hate in a room."
There is a key. The key can be found or lost. The key is lost. The description is "This must be the key for the door."
A pile of dirt is here.
Instead of examining the pile of dirt when the key is lost:
now the key is found;
say "You dig through the dirt and there at the bottom is something remarkable -- the key.";
move the key to the location of the player.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment