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?
The burning building
by
Cool Dude
Played 665 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
When play begins: say "[italic type]You wake up to the noise of a fire alarm. Unfortunately, you live at the top of a five storey apartment building. Everyone has escaped… except you![bold type]You have 25 turns to escape!![roman type]". Every turn: if 25 - turn count is 1, say "You have 1 turn left.". Every turn: if 25 - turn count is not 1, say "You have [25 - turn count] turns left.". Understand "feel [something]" as feeling. Feeling is an action applying to one visible thing. Carry out feeling something: say "It feels normal.". burns is a number that varies. burns is 0. onfloor is a number that varies. onfloor is 5. A room can be onfire or notonfire. A room is usually notonfire. Instead of going to an onfire room: say "You hesitate, then take a small step into the room. Ouch! That was a bad idea. Luckily, you escape with only a small burn.[bold type] Remember: The east side of the building is the burning part.[roman type]"; now burns is burns + 1. Every turn: if turn count is 25, end the game saying "The building falls in on you". Every turn: if burns is 7, say "You are covered in burns. Walking is very painful.". Every turn: if burns is 8, end the game saying "You can't go anymore. Too many burns". The Bedroom is a room."The living room is west.". The Living room is west of the bedroom."The corridor is north! Quick.". The Corridor5 is a room with printed name "Corridor (5th Floor)"."This long corridor has doors on either side, just like a hotel. It continues to both east and west, with stairs going down at each end.". The front door is north of the living room and south of the corridor5. The front door is a door. The East stairs is an onfire room. The east stairs is east of the corridor5. The West stairs is west of the corridor5."Stairs going down.". The corridor4 is a room with printed name "Corridor (4th Floor)". The corridor4 is below the west stairs."You are on the fourth floor. This corridor looks just like the corridor above you, except for the fact that there's a vending machine and what looks like an elevator near the middle of the hall on the north side.". The vending machine is in the corridor4. The vending machine is a switched off fixed in place device. The corridor3 is a room with printed name "Corridor (3rd Floor)". The elevator43 is a room with printed name "Elevator"."There is a rush of motion. The elevator doors ping open.". The Elevator43 is north of the corridor4 and north of the corridor3. Every turn while in elevator43: if corridor4 is mapped south of the elevator43, now corridor3 is mapped south of the elevator43;otherwise now corridor4 is mapped south of the elevator43; continue the action. Every turn while in the corridor3: now onfloor is 3. The description of the corridor3 is "[if the player is not in the vent]A corridor just like the one on the fifth floor, except that there's a vent near the ceiling, and there are no stairs to the west. A door is open to the south.[else]You can't see much inside the vent, except that the vent is built back into the south wall, going off into dimness.[end if]". The vent is a fixed in place closed openable enterable container. The vent is in the corridor3. Instead of going south while in vent: say "You crawl down the vent, and suddenly trip-- the vent pipe turns straight down! But the bottom is only a short way off, though you can't climb back up."; move player to vent split. Every turn while in the corridor4: now onfloor is 4. The Other living room is south of the corridor3."A house that is the same shape as yours, with different furniture. The bedroom is east, behind a door.". The wooden door is a door. Instead of feeling the wooden door, say "It's hot.". The wooden door is east of the other living room and west of the burning bedroom. The burning bedroom is an onfire room. The Vent split is a room."The ventilation system is smoky. You have three options: north, south, and east.". The East vent is east of the vent split."In some places, the vent is red hot. It burns your legs. The air is hot. A grating shows a burning room.". Every turn while in the east vent: now burns is burns + 2. The Vent split south is south of the vent split."The vent splits into three: north, west, and east.". The Vent turn is north of the vent split."The vent turns to the west.". The West vent is west of the vent turn."A grating that opens north into a corridor is here.". The grating is north of the west vent. The grating is a closed door. The corridor2 is north of the grating. The corridor2 is a room with printed name "Corridor (2nd Floor)"."A staircase to the west leads down.". The Southwest vent is west of the vent split south."You have come to a place where the vent turns upwards. There's no way you can climb this vertical pipe.". The Southeast vent is east of the vent split south. "In some places, the vent is red hot. It burns your legs. The air is hot. A grating shows a burning room.". Every turn while in the southeast vent: now burns is burns + 2. The Bottom stairs is west of the corridor2."Stairs leading down.". The corridor1 is a room with printed name "Corridor (1st Floor)". The corridor1 is below the bottom stairs."The exit is to the north.". The Dorothy Lane is a room. The exit is a closed door. The exit is north of the corridor1 and south of the dorothy lane. Every turn while in the dorothy lane: say "You come out into the fresh air. You escaped with [burns] burns."; end the game in victory.