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?
JetPack Demo
by
Robert Rothman
Played 2,423 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"JetPack Demo" by Robert Rothman Part 1 -- General A room is either wet or dry. Rooms are usually dry. A person is either airborne or grounded. A person is usually grounded. Instead of going to a wet room when the player is grounded: Say "Swimming is not one of your accomplishments.". Instead of waiting when the player is airborne: Say "You hover, using up precious fuel in the process.". Part 2 -- The World Middle of Nowhere is a room. The description of Middle of Nowhere is "You are [if the player is grounded]on[otherwise]in the air above[end if] a completely nondescript piece of land. The land extends north and south, and there is water to your east and west, beyond which you can see another island.". North of Middle of Nowhere is North of Nowhere. The description of North of Nowhere is "You are [if the player is grounded]on[otherwise]in the air above[end if] a completely nondescript piece of land. The land extends to your south, and there is apparently endless water on all other sides.". South of Middle of Nowhere is South of Nowhere. The description of South of Nowhere is "You are [if the player is grounded]on[otherwise]in the air above[end if] a completely nondescript piece of land. The land extends to your north, and there is apparently endless water on all other sides.". Ocean1 is east of Middle of Nowhere. Ocean1 is wet. The printed name of Ocean1 is "Ocean". The description of Ocean1 is "You are in the air above a large body of water. You can see land to the east and west.". Ocean2 is west of Middle of Nowhere. Ocean2 is wet. The printed name of Ocean2 is "Ocean". The description of Ocean2 is "You are in the air above a large body of water. You can see land to the east and west.". Ocean3 is east of North of Nowhere and north of Ocean1 and northeast of Middle of Nowhere. Ocean3 is wet. The printed name of Ocean3 is "Ocean". The description of Ocean3 is "You are in the air above a large body of water. You can see land to the west.". Ocean4 is west of North of Nowhere and north of Ocean2 and northwest of Middle of Nowhere. Ocean4 is wet. The printed name of Ocean4 is "Ocean". The description of Ocean4 is "You are in the air above a large body of water. You can see land to the east.". Ocean5 is east of South of Nowhere and south of Ocean1 and southeast of Middle of Nowhere. Ocean5 is wet. The printed name of Ocean5 is "Ocean". The description of Ocean5 is "You are in the air above a large body of water. You can see land to the west.". Ocean6 is west of South of Nowhere and south of Ocean2 and southwest of Middle of Nowhere. Ocean6 is wet. The printed name of Ocean6 is "Ocean". The description of Ocean6 is "You are in the air above a large body of water. You can see land to the west.". Ocean7 is north of North of Nowhere and northeast of Ocean4 and northwest of Ocean3. Ocean7 is wet. The printed name of Ocean7 is "Ocean". The description of Ocean7 is "You are in the air above a large body of water. You can see land to the south.". Ocean8 is south of South of Nowhere and southeast of Ocean6 and southwest of Ocean5. Ocean8 is wet. The printed name of Ocean8 is "Ocean". The description of Ocean8 is "You are in the air above a large body of water. You can see land to the north.". Desert Island 1 is east of Ocean1 and southeast of Ocean3 and northeast of Ocean5. The printed name of Desert Island 1 is "Desert Island Shore". The description of Desert Island 1 is "You are [if the player is grounded]at[otherwise]in the air above[end if] the western edge of a desert island. The arid rock extends to your east, and there is water to the west.". Desert Island 2 is east of Desert Island 1. The printed name of Desert Island 2 is "Desert Island Interior". The description of Desert Island 2 is "You are [if the player is grounded]on[otherwise]in the air above[end if] a desert island. The arid rock extends to your west.". Jungle Island 1 is west of Ocean2 and northwest of Ocean6 and southwest of Ocean4. The printed name of Jungle Island 1 is "Jungle Island Shore". The description of Jungle Island 1 is "You are [if the player is grounded]at[otherwise]in the air above[end if] the western edge of an island which is covered in lush jungle. The island extends to your west, and there is water to the east.". Jungle Island 2 is west of Jungle Island 1. The printed name of Jungle Island 2 is "Jungle Island Interior". The description of Jungle Island 2 is "You are [if the player is grounded]on[otherwise]in the air above[end if] an island which is covered in lush jungle. The island extends to your east.". Part 3 -- The JetPack A booklet is in Middle of Nowhere. Understand "manual" as the booklet. Understand "instruction manual" as the booklet. The initial appearance of the booklet is "A small booklet is lying on the ground nearby." The description of the booklet is "[paragraph break][paragraph break][fixed letter spacing] INSTRUCTION MANUAL FOR MODEL QZ-32R DELUXE JETPACK[paragraph break][paragraph break]To use the Model QZ-32R Deluxe JetPack:[paragraph break] 1. Wear the JetPack.[line break] 2. Adjust straps. (CAUTION! Failure to adjust straps properly can result in falling out of the sky, resulting in serious injury or death!)[line break] 3. To lift off, type 'fly.'[line break] 4. To move in any direction while airborne, type the desired direction.[line break] 5. To land, type 'land.'[paragraph break]CAUTION! Before taking off, be sure the JetPack has adequate propellant. Running out of fuel while airborne can result in falling out of the sky, resulting in serious injury or death![variable letter spacing].". Before examining the booklet when the player does not have the booklet: Say "(Taking the booklet first)"; Try silently taking the booklet. A jetpack is in Middle of Nowhere. The jetpack is wearable. The jetpack can be fitted. The jetpack is not fitted. The jetpack has a number called fuel. The fuel of the jetpack is 8. The description of the jetpack is "This complicated-looking machine consists of tanks, a gauge, pipes, controls and straps.". Some tanks are a part of the jetpack. The description of the tanks is "These high-pressure cylinders contain the propellant on which the jetpack runs.". A gauge is part of the jetpack. The description of the gauge is "The gauge indicates that [if the fuel of the jetpack is zero]there is no fuel left.[otherwise]there is enough fuel for [the fuel of the jetpack] turns of flying.". Some pipes are part of the jetpack. The description of the pipes is "It would be best not to fool around with these.". Some controls are part of the jetpack. The description of the controls is "To learn how to operate the controls, consult the instruction manual.". Some straps are part of the jetpack. Understand "harness" as the straps. The description of the straps is "These straps form a harness which allow you to wear the jetpack like a backpack.". Part 4 -- Operation Report wearing the jetpack: Say "You slip the harness over your shoulders. It does not seem to fit quite right."; Stop the action. Flying is an action applying to nothing. Understand "fly" as flying. Instead of going up, try flying. Check Flying: If the player is not wearing the jetpack: Say "You flap your arms as though they were wings, but to no avail. Perhaps you need some mechanical assistance." instead; If the player is airborne: Say "You're already airborne. To move in a particular direction, type that direction." instead; If the fuel of the jetpack is zero: Say "You operate the controls to fly, but the machine does not respond." instead. Carry out flying: Now the player is airborne. Report flying: Say "You operate the controls and swiftly rise into the air.". Adjusting is an action applying to one thing. Understand "adjust [something]" as adjusting. Instead of adjusting the jetpack, try adjusting the straps. Check adjusting: If the noun is not the straps: Say "That is not adjustable." instead; If the player is not wearing the jetpack: Say "You must be wearing the jetpack in order to adjust the straps." instead; If the player is airborne: Say "You cannot adjust the straps while you are airborne." instead. Carry out adjusting: Now the jetpack is fitted. Report adjusting: Say "You adjust the harness until it fits perfectly.". After taking off the jetpack: Now the jetpack is not fitted; Say "You remove the jetpack from your back.". Every turn when the player is airborne: Decrease the fuel of the jetpack by 1; If the jetpack is not fitted: If a random chance of one in three succeeds: Say "Suddenly, you fall out of the ill-fitting harness and plummet to the [if the location is dry]ground[otherwise]water[end if] below!"; If the location is dry: Choose a random row from the table of land deaths; Say "[death entry]"; Otherwise: Choose a random row from the table of water deaths; Say "[death entry]"; End the game in death; Otherwise: Say "The jetpack does not feel very secure."; If the fuel of the jetpack is 0: Say "The jetpack sputters, and stops producing thrust. As you start to fall, you curse Isaac Newton for having invented the law which is now causing you to plummet towards the [if the location is dry]ground[otherwise]water[end if] below!"; If the location is dry: Choose a random row from the table of land deaths; Say "[death entry]"; Otherwise: Choose a random row from the table of water deaths; Say "[death entry]"; End the game in death. Landing is an action applying to nothing. Understand "land" as landing. Instead of going down, try landing. Check landing: If the player is not airborne: Say "Your feet are already quite firmly on the ground." instead. Carry out landing: If the location is wet: Choose a random row from the table of water landings; Say "[death entry]"; End the game in death; Otherwise: Now the player is grounded; Say "You undertake a controlled descent and land in the [location].". Table of Land Deaths Death "You break every bone in your body as you hit the ground, resulting in instant (but nonetheless quite painful) death." "You land on a rock outcropping, smashing yourself to a pulp." "You break both of your legs in the fall. As it turns out, this island is one of the few places in the world where grues emerge during daylight hours. Ordinarily, they are afraid of humans and stay hidden, but they are able to sense your helpless state and come out to feast on your mangled body. You are alive throughout most of the process." "After breaking both legs in the fall, you are unable to move. Although otherwise uninjured, you eventually succumb to dehydration." Table of Water Deaths Death "You fall into the ocean and promptly drown." "You hit the water with a huge splash. The commotion attracts a nearby shark, who eats you before you can drown." "You fall into the water and, amazingly, are not harmed by the impact. Even more amazingly, you are able to snag a large piece of driftwood which makes an ideal raft. Today's your lucky day! In fact, you are so lucky that instead of drowning you die of sunstroke." Table of Water Landings Death "You land in the ocean, where the weight of the jetpack promptly pulls you under. Before you know it, you drown." "You gently touch down on the surface of the ocean. A nearby shark decides you would make an excellent lunch." "You alight on the water's surface, and amazingly, you are able to snag a large piece of driftwood which makes an ideal raft. Today's your lucky day! In fact, you are so lucky that instead of drowning you die of sunstroke."