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 28: Hover
by
The Inform Recipe Book
Played 2,596 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Hover" by "Inform 7 Recipe Book" Use full-length room descriptions. Emerald City is a room. "All the buildings are spires and none of them have doors." The Vast Desert is west of Emerald City. "[if the player is in a vehicle]Outside, a[otherwise]A[end if] trackless waste stretches as far as the eye can see in every direction." The hover-bubble is a vehicle in the Emerald City. "Your hover-bubble awaits." The description is "The hover-bubble is a clear globe-shaped vehicle capable of transporting you anywhere you could walk, but faster." Understand "bubble" as the hover-bubble. The hover-bubble contains a chocolate wrapper and a parking ticket. The container interior rule is listed before the room description body text rule in the carry out looking rules. This is the container interior rule: if the actor is the player and the player is in an enterable thing (called current cage), carry out the describing the interior activity with the current cage. Describing the interior of something is an activity. Rule for describing the interior of the hover-bubble: say "The hover-bubble is transparent, but tints everything outside very faintly lavender." Rule for describing the interior of the hover-bubble when the hover-bubble contains more than one thing: say "The hover-bubble is transparent, but tints everything outside very faintly lavender. Beside you you can see [a list of other things in the hover-bubble]." Definition: a thing is other if it is not the player. Rule for listing nondescript items of the hover-bubble when the player is in the hover-bubble: do nothing. Test me with "get in bubble / look / west / take all / look / get out / east".