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 Not so Great Escape
by
Brenden Blake Bulls
Played 1,713 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
Include Plurality by Emily Short. Include Bulk Limiter by Eric Eve. Include Hiding Under by Eric Eve. Include Senses by ShadowChaser. when play begins: say "You wake up in your bedroom with no memory of what happened last night." the bulk capacity of the player is 10. The description of the player is "You're naked!" When play begins: change the right hand status line to "[score] / [time of day]"; now the left hand status line is "HP:[health]/[maxhealth] MP:[magic]/[maxmp]". Understand "stat" as stating. Stating is an action applying to nothing. Understand "stats" and "statistics" and "st" as stating. Carry out stating: say "STATS:[paragraph break]MAXHP:[MaxHealth][paragraph break]MAXMP:[MaxMP][paragraph break]AGL: [Agility][paragraph break]DEF:[Defense][paragraph break]ATK:[Attack][paragraph break]EXP:[Experience][paragraph break]LVL:[Levnum][paragraph break]". Bedroom is north of the kitchen. " You are in your bedroom. The walls and ceiling are paneled wood. A hallway to the south leads to the kitchen." Here is a chest. Here is a bed. bed is fixed in place supporter. instead of entering bed: say "You just woke up, and you don't feel particularly tired." hidden under bed is a box. the bulk capacity of the box is 8. box is closed openable container. bulk of box is 3. inside box is a note. bulk of note is 1. description of note is "Reminder: Make sure to look under the couch." chest is a fixed in place closed openable container. description of chest is "The old cedar chest has seen better days." inside chest is a sword. bulk of sword is 3. A weapon is a kind of thing. The plural of weapon is weapons. The sword is a weapon. Attackability is a kind of value. A thing has attackability. The attackabilities are attackable and nonattackable. A thing is usually nonattackable. Understand the command "attack" as something new. Understand "attack [something attackable] with [any weapon]" as attacking it with. Understand "a [something attackable] with [any weapon]" as attacking it with. Understand the commands "break" and "cut" and "hit" and "smash" and "destroy" and "fight" and "kill" as something new. Understand "break [something attackable] with [any weapon]" and "cut [something attackable] with [any weapon]" and "hit [something attackable] with [any weapon]" and "smash [something attackable] with [any weapon]" and "destroy [something attackable] with [any weapon]" and "fight [something attackable] with [any weapon]" and "kill [something attackable] with [any weapon]" as attacking it with. Attacking it with is an action applying to one thing and one carried thing. Health is a number that varies. Health is 50. Agility is a number that varies. Agility is 0. Defense is a number that varies. Defense is 1. Attack is a number that varies. Attack is 0. Experience is a number that varies. Experience is 0. Magic is a number that varies. Magic is 0. Levnum is a number that varies. Levnum is 1. MaxHealth is a number that varies. MaxHealth is 50. Every turn: if Health is greater than MaxHealth: decrease Health by Health minus MaxHealth; say "...but you're already at maximum health.". MaxMP is a number that varies. MaxMP is 25. Every turn: if Magic is greater than MaxMP: decrease Magic by Magic minus MaxMP; say "...but you're already at maximum MP.". Understand the command "drink" as something new. Understand "drink [something]" as sipping. Sipping is an action applying to one carried object. Check sipping: if the noun is not edible: say "We should probably stick to food." instead; if the noun is an soda: say "It's a refreshing taste. You feel just a bit stronger."; increase Health by 25; increase Magic by 25; remove the noun from play; if the noun is a chocolate cake: say "While eating the cake you think to yourself the cake is not a lie! You finish eating the cake and are surprised at how good it tastes. Your HP and MP are at maximum."; increase Health by MaxHealth minus Health; increase Magic by MaxMP minus Magic; remove the noun from play; if the noun is a sandwich: say "Mabye you shouldnt use real sand next time you make a sandwich. Your HP and MP have been partially restored."; increase Health by MaxHealth divided by 2; increase Magic by MaxMP divided by 2; remove the noun from play. Understand "equip [something]" as wearing. The player has a number called Level. The Level of the player is 1. inside chest is handwritten note. bulk of hand written note is 1. description of handwritten note is "Authors Note: type drink not eat when eating food. weird I know." inside chest is shirt. bulk of shirt is 5. shirt is a wearable object. inside chest is pants. bulk of pants is 5. pants is a wearable object. after wearing the pants for the first time: say "As you pull it on, you wonder if something is in your pocket." inside pants is a pocket. the bulk capacity of the pocket is 5. pocket is fixed in place closed openable container. inside chest is shoes. bulk of shoes is 3. shoes is a wearable object. kitchen is room. kitchen is west of the living room. kitchen is south of bedroom. "to the east is the living room. and to the north is your bedroom." Here is a fridge. here is kitchen table. kitchen table is fixed in place supporter. fridge is fixed in place closed openable container. bulk capacity of fridge is 12. inside fridge is chocolate cake. bulk of chocolate cake is 5. chocolate cake is edible. inside fridge is soda. bulk of soda is 3. soda is edible. inside fridge is sandwich. sandwich is edible. bulk of sandwich is 4. understand "cake" as chocolate cake. understand "chocolate" as chocolate cake. LIVING ROOM is room. living room is east of kitchen. living room is north of front door. front door is a door. Front door is closed. front door is locked. house key unlocks front door. south of front door is front porch. " to the west is the kitchen, and to the south is the front door" a couch is here. here is a backpack. couch is enterable supporter. The backpack is a player’s holdall. backpack is closed wearable container. bulk capacity of backpack is 50. bulk of backpack is 6. understand "bag" as backpack. understand "sack" as backpack. understand "pack" as backpack. understand "back pack" as backpack. hidden under couch is 7 kunai knife. kunai knife is a weapon. bulk of kunai knife is 1. hidden under kunai is house key. bulk of house key is 3 understand "kunai" as kunai knife. understand "knife" as kunai knife. front porch is room. front porch is south of front door. front porch is east of front yard. "to the west is the front yard, and to the north is the front door." Every turn: if the player is in front yard: say "You have escaped your house! Good Job!"; end the game in victory.