An interactive fiction by Juhana Leinonen (2008) - the Inform 7 source text
|Part View through the window
The moon is a thing in cell. It is scenery and self-lit. It is distant. The printed name is "moon". The indefinite article is "the". The description is "The moon is full and the sky is clear.[if the cell is dark] Moonlight gives faint illumination to the cell.".
Understand "full" as the moon.
Understand "moonlight" as the moon.
Understand "light" as the moon.
Understand "illumination" as the moon.
Understand "beam" as the moon.
Understand "sky" and "night" as the moon when the clouds are not in the cell.
Before entering the moon:
say "You would need a rocket." instead.
Before looking under the moon:
say "Under it is the scenery." instead.
Before eating the moon:
say "Even though it is made of cheese, it's out of reach right now." instead.