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?
Making new commands
by
Cool Dude
Played 668 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"New commands can be very useful. I made two: Smashing, and Teleporting.". A thing can be breakable or tough. A thing is usually tough. A thing can be broken or whole. A thing is usually whole. Instead of taking a broken thing: say "You can't. It's broken." Instead of doing something to a broken thing: say "It's broken.". A thing can be heavy or light. A thing is usually light. A room can be barfy or clean. A room is usually clean. Understand "Teleport to [any room]" as teleporting to it. Understand "barf" as barfing. Understand "Smash [something] with [something preferably held]" as smashing it with. Teleporting to it is an action applying to one thing. Smashing it with is an action applying to one thing and one carried thing. Barfing is an action applying to nothing. Carry out barfing: say "You barf on the floor. Ahhhh that's better."; now the location is barfy. Check teleporting to it: if the noun is not a room, say "There is no such place." instead. Check smashing it with: if the noun is tough, say "You can't smash that." instead. Check smashing it with: if the second noun is light, say "You can't smash something with that. It's too light." instead. Carry out teleporting to it: move player to the noun. Carry out smashing it with: say "Smash!"; now the noun is broken; remove the noun from play. The Office is a room."East to the hallway. Try smashing that vase with the hammer.". The hammer is in the office. The hammer is heavy. The vase is in the office. The vase is breakable. The Hallway is east of the office."The office to the west, the stairwell landing to the north, or go [italic type] all the way down [roman type] the hallway(east) to get to the cleaning storage closet. Let's try barfing now.". The Stairwell landing is north of the Hallway."You are on the landing. A stairwell leads out of the building, but you are not going out of this building.". The Closet is east of the hallway.