I want to create something like this:
An apple is a kind of thing.
The Orchard is a room. In the Orchard is a tree. In the Orchard is a basket.
The basket is a container. In the basket are three apples.
instead of attacking the tree:
now an apple is in the Orchard;
say "You violently shake the tree, and apple falls down!"
But this results in an error, because "now an apple is in the Orchard" is not specific enough. However, I haven't been able to find a way for the game to just put a new apple in the room.
The compiler error can be circumvented by saying "now a random apple is in the Orchard", but that will take one of the apples from the basket.
How can I get Inform to spawn a new apple into the orchard every time the player attacks the tree?