Update to add commands and simplify act 2 start

This commit is contained in:
William Moore 2022-10-04 02:56:30 -05:00
parent 1888fa022c
commit 6454a4359d
1 changed files with 110 additions and 25 deletions

View File

@ -1,3 +1,7 @@
"Mystery of the Missing Wand" by "Masterful Interactions".
Chapter 0 - Game Setup and License
[ Copyright (C) 2022 William R. Moore <william@nerderium.com> and Olivia BE Moore
This program is free software: you can redistribute it and/or modify
@ -12,12 +16,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. ]
"Mystery of the Missing Wand" by "Masterful Interactions".
The story description is "Where in the world is the missing wand and can you find it before it is too late?".
The release number is 1.
The release number is 2.
Release along with cover art, interpreter, library card, and source text.
Include Menus by Emily Short. Include Basic Help Menu by Emily Short.
A person has a number called health. The health of the player is 20.
Definition: a person is dead if their health < 1
@ -28,9 +29,7 @@ The block giving rule is not listed in the check giving it to rules.
When play begins:
now the right hand status line is "Health: [health of the player]".
[
FIGURES
]
Chapter 1 - Figures
Figure of Heroine is the file "heroine.jpg".
Figure of Reg is the file "reg-werewolf.jpg".
@ -39,9 +38,7 @@ Figure of Ghost is the file "ghost.jpg".
Figure of Gorilla is the file "gorilla.jpg".
Figure of Boogeyman is the file "boogeyman.jpg".
[
PERSONS
]
Chapter 2 - Persons
Reg the Good Werewolf is a person. They are in Reg's House Living Room. The description is "A towering werewolf sporting blue jeans and a T-shirt. He has a friendly smile on his face.".
@ -52,9 +49,7 @@ A ghost is a monster. It is in Eastern Graveyard. The health of the ghost is 5.
A 100 ft undead gorilla is a monster. It is in the Northern Graveyard. The health of the 100 ft undead gorilla is 15. The description is "Before you is a 100 foot undead gorilla with no pupils and just white eyes! You don't know how it got here and it is blood-chilling to look at the undead face.".
Boogeyman is a monster. It is in Boogeyman's House. The health of Boogeyman is 30. The description is "You see the boogeyman. They are the be-all, end-all of baddies with claws and sharp teeth used to eat little children.".
[
PLACES
]
Chapter 3 - Places
[ Reg's House ]
Reg's House Living Room is a room. It is below Reg's House Upstairs. It is north of Reg's House Kitchen. The description is "The living room of Reg's House is very clean and large. The kitchen is to the south. There are stairs leading up.".
@ -73,9 +68,7 @@ Graveyard Entrance is a room. The description is "Welcome to the entrance of the
[ Boogeyman's House ]
Boogeyman's House is a room. The description is "The house of the famous boogeyman looks tiny and cramped. You feel like the walls are closing in on you just by standing in it.".
[
THINGS
]
Chapter 4 - Things
The golden earrings is a thing. It is wearable. The description is "These golden earings, when worn, look like they could stop a boogeyman from hurting you.".
The wand is a thing. The description is "The black, twisted wand looks like it could be the one that Reg wants.".
@ -88,12 +81,90 @@ The octohedron is a die. Understand "octo" as octohedron. It is in Briley's Bedr
The decahedron is a die. Understand "deca" as decahedron. It is in Briley's Bedroom. The sides of decahedron is 10. The description is "This ten-sided plastic shape looks like two diamonds connected at the tops and is silver colored. It looks like it wants to be rolled.".
The dodecahedron is a die. Understand "dodeca" as dodecahedron. It is in Briley's Bedroom. The sides of dodecahedron is 12. The description is "This twelve-sided plastic shape looks like a soccer ball and is silver colored. It looks like it wants to be rolled.".
Reg's TV is a thing. It is fixed in place. It is in Reg's House Living Room. The description is "A flat screen QLED TV with black trim. It is fixed onto the wall.".
[
ACTIONS
]
Chapter 5 - Actions
Table of Help Commands
command description
"north" "Move north"
"south" "Move south"
"east" "Move east"
"west" "Move west"
"northeast" "Move northeast"
"northwest" "Move northwest"
"southeast" "Move southeast"
"southwest" "Move southwest"
"up" "Move up"
"down" "Move down"
"look" "Looks around at current location"
"save" "Save state to a file"
"restore" "Restores a saved state"
"restart" "Restarts the game"
"verbose" "Gives full description after each command"
"score" "Displays score and ranking"
"diagnostic" "Give description of health"
"brief" "Give a description upon first entering an area"
"superbrief" "Never describe an area"
"quit" "Quit game"
"climb" "Climbs (up)"
"g" "Redo last command"
"go (direction)" "Go towards direction (west/east/north/south/in/out/into)"
"enter" "In to the place"
"in" "Go into something"
"out" "Go out of the place"
"hi/hello" "Say hello"
"get/take (item)" "Removes item from current room and places it in your inventory"
"get/take all" "Takes all takeable objects in room"
"throw (item) at (location)" "Throws the item at something"
"open (container)" "Opens the container, whether it is in the room or your inventory"
"open (exit)" "Opens the exit for travel"
"read (item)" "Reads what is written on readable item"
"drop (item)" "Removes item from inventory and places it in current room"
"put (item) in (container)" "Removes item from inventory and places it in container"
"turn (control) with (item)" "Attempts to operate the control with the item"
"turn on (item)" "Turns on the item"
"turn off (item)" "Turns the item off"
"move (object)" "Moves a large object that cannot be picked up"
"attack (creature) with (item)" "Attacks creature with the item"
"examine (object)" "Examines, or looks, at an object or item or location"
"inventory" "Shows contents of the inventory"
"eat" "Eats item (specifically food)"
"shout" "Shout it out (shout it out loud)"
"close (Door)" "Closes door"
"tie (item) to (object)" "Ties item to object"
"pick (item)" "Take/get item"
"kill self with (weapon)" "Humorously commits suicide"
"break (item) with (item)" "Breaks item"
"kill (creature) with (item)" "Attacks creature with the item"
"drink" "Drink an item"
"smell" "Smell an item"
"cut (object/item) with (weapon)" "Comment: Strange concept, cutting the (object/item). If (object/item)=self then you commit suicide"
"listen (target)" "Listens to a creature or an item"
"slap (target)" "Slap the target viciously."
"poke (target)" "Poke a target."
"use (thing) on (other thing)" "Use an object on a thing."
"roll (die)" "Roll a die."
Understand "help" as helping. Helping is an action applying to nothing.
After helping:
say "You like help? Here we go!:[paragraph break]";
repeat through Table of Help Commands:
say "[bold type][command entry][roman type]: [description entry][line break]".
Table of Television Responses
Response
"Where's Waldo? He's 5 foot 10 inches with a red and white striped shirt, red and white striped hat, propensity to hide. Please, let us know. His family misses him."
"Corey Corem has put out his latest album containing all new classics. You can find 'It's a Plea Bargain, Baby!' is available on all your favorite streaming platforms and local stores."
"And that, folks, was the latest trailer for 'Hands Off My Burrito!', the lastest film in the Billy Davis Cinematic Universe. Well, it was exactly what I expected. Let's just say!"
"The ex-wife of Firenze Prumt was found dead today in an apparent suicide while falling down the stairs. This comes days after said she has dirt on his activities many have claimed are illegal in nature."
"Enjoy the newest, hippest, greatest chip in town: Mumford Chips. Mumford Chips: the chips that make you...gruuuuuuunt! Made by S.C. Johnson Wax."
"Drink Pepso! The only drink made with real pepsin!"
After examining TV:
let rr be a random number from 1 to number of rows in Table of Television Responses;
say "The TV says '[Response in row rr of Table of Television Responses]'".
Before examining the player:
display the Figure of Heroine.
@ -144,11 +215,25 @@ To decide whether wand interests Reg the Good Werewolf:
if Reg the Good Werewolf has wand, no;
yes.
[
SCENES
]
Understand "slap [something]" as slapping. Slapping is an action applying to one visible thing.
Carry out slapping when the noun is a person:
say "You viciously slap [the noun]!".
Act I is a scene. Act I begins when play begins. Act I ends when the player has the tetrahedron and the player has the hexahedron and the player has the octohedron and the player has the decahedron and the player has the dodecahedron.
Understand "poke [something]" as poking. Poking is an action applying to one visible thing.
Carry out poking when the noun is a person:
say "You poke [the noun]."
Before reading a command:
let N be "[the player's command]";
if N is "take over kingdom",
say "What kingdom, you dumple!?";
if N is "take over world",
say "Sorry, Brain!".
Chapter 6 - The Game
Act I is a scene. Act I begins when play begins. Act I ends when the player has the tetrahedron or the player has the hexahedron or the player has the octohedron or the player has the decahedron or the player has the dodecahedron.
After going to a room (called new room) while Act I is happening:
If new room is Reg's House Living Room and new room is unvisited:
@ -164,7 +249,7 @@ The player is in Reg's House Living Room.
Act II is a scene. Act II begins when Act I ends. Act II ends when the player has the golden earrings.
When Act II begins:
say "Once you get all the Platonic solids, you are immediately transported to a spooky graveyard.";
say "Once chose a Platonic solids, you are immediately transported to a spooky graveyard.";
move the player to the Graveyard Entrance.
Act III is a scene. Act III begins when Act II ends. Act III ends when the player has the taco and the player has the wand.