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?
Game Test
by
Miles Meyer
Played 612 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Present Company" by Miles Meyer Use American dialect. Use serial comma. Chapter - Extensions Include Locksmith by Emily Short. Include Facing by Emily Short. [ Chapter - Release Release along with an interpreter. ] Chapter - Setup Rules When play begins: say "blah blah blah..."; say paragraph break; Rule for printing the banner text: say "[bold type]Present Company[roman type]"; say line break; say "a text adventure by Miles Meyer"; say paragraph break; say paragraph break; Chapter - Doors Before opening a locked door (called door) (this is the DOOR IS UNLOCKED FROM ONE SIDE rule): if location is back side of door: [now door is open;] now door is unlocked; [let way be direction of door from location; try going way;] [now location is front side of door;] continue the action; [Rule for implicitly opening a locked door (called door): try silently opening the door;] After going through a door (called door) (this is the DOOR CLOSING AND LOCKING BEHIND YOU rule): now the door is closed; now the door is locked; say "[The door] shut[s] behind you."; continue the action; [ Before opening a locked door (called door): if matching key of door is not nothing: let key be matching key of door; if player carries the matching key of door: let key be the matching key of door; try unlocking door with key instead; continue the action; ] Chapter - Combat Chapter - Map The Flagpole is a room. "You are standing at the front of Battle Ground High School, the flagpole stretching up overhead.". The front doors is a locked transparent door. ["From here, the front doors lead [direction of front doors from location]."] It is inside from Flagpole. The indefinite article of front doors is "the". The description of front doors is "Front side: [front side of front doors][line break]Back side: [back side of front doors]". 51 key unlocks front doors. The Lobby is inside from front doors. "You are in a large room with the Battle Ground Tigers emblem on the wall overhead. The main hall leads east. The ramp north leads to the cafeteria. The ASB office is to the northwest. The main office is to the southeast.". The Main Hall is east from Lobby. "You are in the main hallway.". The ASB Office is northwest from Lobby. "You are in the ASB Office.". The Cafeteria is north from Lobby. "You are in the cafeteria - 'The Lair.'". Custodial Break Room is south from Main Hall. "You are in the custodial department break room." A slot machine is in the Break Room. The description is "An old-fashioned slot machine. It looks like it still works.". A school map is in the Break Room. The description is "There are a lot of rooms in this school...". spin count is a number that varies. Instead of playing the slot machine: increment spin count; let result be a random number between 1 and 100; say "Spin #[spin count] - Ka-ching! The machine spins to a random number: [result]"; say line break; if result is 100, say "You win!! [line break]"; if result is 1: say "You lose!!"; end the story finally; Playing is an action applying to one thing. Understand "play [something]" as playing. Chapter - Inventory Your backpack is a wearable player's holdall. The backpack is in Lobby. An apple, a grapefruit, a banana, a sword are in Lobby. The carrying capacity of the player is 2. Section - Keys a keyring is a keychain. Understand "keys" or "keychain" or "key" as the keyring. 51 key, 51B1 key, paper towel key, light switch key, masterlock key are passkeys which are on the keyring. The player carries the keyring. Rule for implicitly taking the keyring: do nothing; Does the player mean unlocking with a key: it is possible. test 1 with "in / e / drop all / w/ out". test 2 with "in / take all / put all in backpack / take keys / wear backpack". test 3 with "in / e / s". test 4 with "play machine / g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g/g"