
"Eating an Apple" by John Timmons
Release along with the source text and a website.
The release number is 1. The story creation year is 2007. The story headline is "Eat Something and It's Gone". The story genre is "Other". The story description is "A simple example of how consuming something object makes it disappear and replaces it with something else."
The Foyer is a room.
The apple is in the foyer. The description is "This is a ripe, green granny smith apple."
[The idea here is, once the player eats the apple, all they should have left is the core. In the following we create the apple core but do not give it any location to start.]
The apple core is a thing. The description is "This apple core all that is left of that granny smith apple you just consumed."
[This rule says remove the apple (it is gone for good) and give the apple core to the player thus making an invisible exchange.]
Instead of eating the apple:
remove the apple from play;
now the apple core is in the player;
say "You gobble down the apple careful not to eat any of those cyanide-laced seeds you heard about."
test me with "x apple / take apple / inventory / eat apple / inventory / x apple".