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?
Skate Park (WIP)
by
Julian M.
Played 2,280 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Skate Park" by Julian Moses Include Rideable Vehicles by Graham Nelson. Price is a kind of value. $10.99 specifies a price with parts dollars and cents. A thing has a price. The price of a thing is usually $10.00. Money is a kind of thing. A coin is a kind of money. The player carries two quarters. A clove cigarette is a kind of thing. The player carries two clove cigarettes. A car key is a kind of thing. The player carries one car key. The description of a clove cigarette is "Why are you even carrying these? Hasn't anyone told you smoking is bad? What would your mother think?" The description of a car key is "Your car key. Nothing special here." A dollar bill is a kind of money. The price of a dollar bill is $1.00. The printed name of a dollar bill is "dollar bill". Rule for printing the plural name of a dollar bill: say "dollar bills". The description of a skate dollar is "Your skater money. It has a picture of some famous skater on front." A five-dollar bill is a kind of money. The price of a five-dollar bill is $5.00. Understand "five" or "five dollar" as the five-dollar bill. The description of the five-dollar bill is "An even more famous skater on the front, since the value is higher!" A hundred-dollar bill is a kind of money. The price of the hundred-dollar bill is $100.00. Understand "hundred" or "hundred dollar" as the hundred-dollar bill. Understand "dollar" as the dollar bill. The description of a hundred-dollar bill is "The most famous skater of them all is on front. Whoa, how'd you get this much money, dude?" Test bills with "x hundred dollar bill / x five dollar bill / x hundred / x five / x dollar / x dollar bill". After taking inventory: say "Altogether, you've got [the player's cash] on your person." To decide what price is the player's cash: let sum be the total price of money enclosed by the player; decide on sum. To decide what price is the sum in (item - a container): let sum be the total price of the money in the item; decide on sum. A quarter is a kind of coin. The price of a quarter is $0.25. The description of a quarter is "Just a quarter." A penny is a kind of coin. The price of a penny is $0.01. The description of the penny is "Just a stupid penny. These things are freaking worthless!" A dime is a kind of coin. The price of a dime is $0.10. The description of a dime is "Just ten cents, you can't do much with this alone..." A nickel is a kind of coin. The price of a nickel is $0.05. The description of a nickel is "Seriously? Just five cents? Crap!" Ownership relates one person (called the owner) to various things. The verb to own (he owns, they own, he owned, he is owned) implies the ownership relation. Definition: a thing is owned if the player owns it. Instead of buying something which is owned by the player: say "You already own [the noun], bonehead." Instead of going somewhere when the player encloses something (called the stolen goods) which is not owned by the player: if the owner of the stolen goods is not a person: now the player owns the stolen goods; continue the action; if the owner of the stolen goods can see the player, say "'Woah there, where do you think you're going with that?' says [the owner of the stolen goods]. 'You going to buy [the stolen goods] first, or am I gonna call the cops?'"; otherwise continue the action. When play begins: now every thing carried by the player is owned by the player. Definition: a thing is worthless if the price of it is $0.00. Definition: a thing is valuable if it is not worthless. A thing can be for sale. Rule for printing room description details of something (called target) which is for sale (this is the disclose prices in room description rule): say " ([price of the target])". Before listing contents: group money together giving articles. Instead of examining a for sale thing (this is the describe things by price rule): say "[The noun] costs [the price of the noun], payable to [the owner of the noun]." Every turn, say "You feel a slight summer breeze." When play begins: now the time of day is 2:00 PM. The Skate Park is a room. "You are hanging out at the skate park. What were you doing here again?" The sky is a backdrop. The sky is everywhere. Joey is a person in the Skate Park. "You see your friend Joey here, he is an awesome dude." Joey is in the Skate Park. The description of Joey is "A pretty cool guy, but he's usually high." Instead of asking Joey about something: say "What?" Every turn when the player can see Joey: say "Joey gives you a happy stoner smile." Instead of smelling the Skate Park, say "You smell something herbal. Trippy." Instead of listening to the Skate Park, say "Sounds like the rolling of plastic wheels on concrete!" Understand "who" or "what" or "when" or "where" or "why" or "how" or "who's" or "what's" or "when's" or "where's" or "why's" or "how's" as "[query]". Understand "[query] [text]" as a mistake ("[story title] understands commands, such as '[command prompt]examine [a random thing that can be seen by the player]', but not questions. For more instructions, type HELP."). Test me with "who am I? / who are you? / where is this place?". The description of the player is "Somewhat pimple-faced, you still have no problem attracting the ladies. Looking good!" South of the Skate Park is the Parking Lot. The Parking Lot is south of the Skate Park. "You are now in the parking lot." The Cruddy Van is a vehicle in the Parking Lot. "You see your Cruddy Van here. Eh, it's a piece of crap, but it's yours." Inside the cruddy van is an object called a skateboard. The skateboard is a thing. The description of the skateboard is "Your awesome shredding machine." After taking the skateboard: increase the score by 10; say "Hey, awesome, let's shred!" Inside the cruddy van is an object called a helmet. The helmet is a thing. The description of the helmet is "Always wear your helmet when you ride!" After taking the helmet: increase the score by 20; say "Awesome! You remembered your helmet! Now, let's shred!" Instead of wearing the helmet, say "You plop it upon your precious noggin." Instead of taking off the helmet, say "You pop it off your dome." Instead of smelling the Parking Lot, say "Smells like asphalt. Yum." Instead of smelling the Cruddy Van, say "Smells like crap. Ick." Instead of listening to the Parking Lot, say "You hear cars. What were you expecting? Jolly Christmas Carols?" Instead of going to the Skate Park by the Cruddy Van, say "You'd really drive like a maniac through the skatepark and squish all those innocent people?" After exiting from the Cruddy Van: say "You do your best not to trip out of your van as you exit it." Instead of eating the skateboard: say "Why the hell not? Oops, congrats, Einstein, you mashed the skateboard into your face, but all you managed was a broken face.";end the game in death. test skateboard with "gonear skateboard/x skateboard/eat skateboard" Instead of eating the helmet: say "Okay! Sure! Why not? I'm sure other people have eaten helmets! Oops, congrats, genius, you have dislocated your jaw!";end the game in death. test helmet with "gonear helmet/x helmet/eat helmet" The slimy cheese is an object in the parking lot. "You see a gnarly looking piece of cheese just baking out here on the parking lot." Instead of eating the slimy cheese: say "Hey, why not? You've done weirder things in your time.";end the game in death. test cheese with "gonear slimy cheese/x slimy cheese/eat cheese" SkateBot is a person in the Parking Lot. "You see SkateBot in the parking lot. He greets you mechanically." SkateBot is in the Parking Lot. The description of SkateBot is "A skating robot! How cool!" Instead of asking SkateBot about something: say "What, human?" Every turn when the player can see SkateBot: say "SkateBot just sits here charging." Instead of going to The Arcade by the Cruddy Van, say "Yo, bonehead, the door is way too small to fit your freaking car through. Besides, who has ever heard of a drive-through arcade? No one, that's who." West of the Parking Lot is The Arcade. The Arcade is west of the Parking Lot. "Sweet dude, you've found the arcade! Let's play some games!" The Sweaty Geek is a man in The Arcade. "You see some sweaty geek lounging around." Every turn when the player can see the Sweaty Geek: say "The sweaty geek stares at you creepily. Ick." Instead of smelling the Arcade, say "Smells like sweat and broken dreams. Hooray!" Instead of listening to the Arcade, say "Ah, videogame sounds...is there nothing better?" To say i -- beginning say_i -- running on: (- style underline; -). To say /i -- ending say_i -- running on: (- style roman; -). To say b -- beginning say_b -- running on: (- style bold; -). To say /b -- ending say_b -- running on: (- style roman; -). North of The Arcade is The Skate Shop. The Skate Shop is north of The Arcade. "[i]Welcome to the Skate Shop! [/i] Alright! The Skate Shop! What will you buy today?"