Update to release version

This commit is contained in:
William Moore 2022-08-27 13:15:58 -05:00
parent 27e0536722
commit 1888fa022c
5 changed files with 135 additions and 12 deletions

View File

@ -19,7 +19,14 @@ The release number is 1.
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
Asking someone about something is speech. Telling someone about something is speech. Answering someone that something is speech. Asking someone for something is speech.
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
@ -27,6 +34,10 @@ Asking someone about something is speech. Telling someone about something is spe
Figure of Heroine is the file "heroine.jpg".
Figure of Reg is the file "reg-werewolf.jpg".
Figure of Skeleton is the file "skeleton.jpg".
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
@ -34,28 +45,48 @@ Figure of Reg is the file "reg-werewolf.jpg".
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.".
[ Monsters ]
A monster is a kind of person.
A skeleton is a monster. It is in Western Graveyard. The health of the skeleton is 5. The description is "The skinless creature has a scary, grinning face that frightens you to the core.".
A ghost is a monster. It is in Eastern Graveyard. The health of the ghost is 5. The description is "The frightening and nearly invisible apparition makes you want to run and hide.".
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
]
[ 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.".
Reg's House Upstairs is room.
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.".
Reg's House Kitchen is a room. The description is "The lightly-colored, hardwood floor, the white, wooden cabinets, and granite countertop just simply sparkles despite being in an area primarily used in the preparation of messy foods.".
Reg's House Upstairs is room. The description is "The upstairs has three doors: one north, one west, and one east."
Briley's Bedroom is a room. It is north of Reg's House Upstairs. The description is "The room is an utter nightmare of heavy metal CDs and role-playing game stuff. Be careful where you walk!".
Reg's Bedoom is a room. It is west of Reg's House Upstairs. The description is "The bedroom is tidy and orderly with lace curtains on both windows that face outside. The bed looks like it is always made and ready to sleep in.".
Sparkle's Bedoom is a room. It is east of Reg's House Upstairs. The description is "The bedroom is full of stuffed animals, pink bunny toys, and many girl's things. The window has fancy, pink curtains on it.".
[ Graveyard ]
Western Graveyard is a room. It is west of Graveyard Entrance. The description is "The row after row of old headstones that are falling apart is frightening.".
Eastern Graveyard is a room. It is east of Graveyard Entrance. The description is "There are row after row of old headstones that are falling apart and look is frightening.".
Northern Graveyard is a room. It is north of Graveyard Entrance. The description is "The row after row of old headstones that are falling apart is frightening.".
Graveyard Entrance is a room. The description is "Welcome to the entrance of the graveyard. You see here thousands of headstones in various states. There are paths leading north, east, and west.".
[ 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
]
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.".
A taco is a thing. The description is "This taco has just the right amount of all the ingredients. In fact, it just might be most perfect taco. It looks delicious.".
A die is a kind of thing. A die has a number called sides.
The tetrahedron is a die. It is in Briley's Bedroom. The sides of tetrahedron is 4. The description is "This pyramid shaped plastic shape is silver colored. It looks like it wants to be rolled.".
The hexahedron is a die. It is in Briley's Bedroom. The sides of hexahedron is 6. The description is "This cube shaped plastic shape is silver colored. It looks like it wants to be rolled.".
The octohedron is a die. It is in Briley's Bedroom. The sides of octohedron is 8. The description is "This eight-sided plastic shape looks like two pyramids connected at the bottom and is silver colored. It looks like it wants to be rolled.".
The decahedron is a die. 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. 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.".
The tetrahedron is a die. Understand "tetra" as tetrahedron. It is in Briley's Bedroom. The sides of tetrahedron is 4. The description is "This pyramid shaped plastic shape is silver colored. It looks like it wants to be rolled.".
The hexahedron is a die. Understand "hexa" as hexahedron. It is in Briley's Bedroom. The sides of hexahedron is 6. The description is "This cube shaped plastic shape is silver colored. It looks like it wants to be rolled.".
The octohedron is a die. Understand "octo" as octohedron. It is in Briley's Bedroom. The sides of octohedron is 8. The description is "This eight-sided plastic shape looks like two pyramids connected at the bottom and is silver colored. It looks like it wants to be rolled.".
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.".
@ -70,10 +101,48 @@ Before examining the player:
Before examining Reg the Good Werewolf:
display the Figure of Reg.
Before examining the 100 ft undead gorilla:
display the Figure of Gorilla.
Before examining skeleton:
display the Figure of Skeleton.
Before examining ghost:
display the Figure of Ghost.
Before examining Boogeyman:
display the Figure of Boogeyman.
Understand "use [something preferably held] on [something]" as using on. Using on is an action applying to one visible thing and one visible thing.
Carry out using on:
If the noun is a die:
let result be a random number from 1 to the sides of the noun;
say "You have rolled [result] on [the noun].";
if the second noun is a monster:
decrease health of the second noun by result;
say "You deal [result] damage to [the second noun].";
Otherwise:
say "Nothing much else happens.";
Otherwise:
continue the action.
Understand "roll [something preferably held]" as rolling. Rolling is an action applying to one visible thing.
Check rolling when the noun is not a die: say "[the noun] is not something you can roll." instead.
Carry out rolling:
say "You've rolled [the noun].".
if the noun is a die:
let result be a random number from 1 to the sides of the noun;
say "You have rolled [result] on [the noun].";
Otherwise:
say "[the noun] cannot be rolled.".
To decide whether taco interests Reg the Good Werewolf:
if Reg the Good Werewolf has taco, no;
yes.
To decide whether wand interests Reg the Good Werewolf:
if Reg the Good Werewolf has wand, no;
yes.
[
SCENES
@ -81,8 +150,6 @@ Carry out rolling:
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.
[ After speech when the noun is Reg the Good Werewolf: ]
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:
say "Reg looks at you closely and squints his eyes. He says 'Yup! You'll have to do. The boogeyman has stolen a magic wand and we need to get it back. To stop him and his minions, you need to find the magic dice.'";
@ -92,4 +159,60 @@ After going to a room (called new room) while Act I is happening:
Otherwise:
continue the action.
The player is in Reg's House Living Room.
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.";
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.
When Act III begins:
say "Once you pick up the golden earrings, you are transported to the Boogeyman's House! Be careful!";
move the player to the Boogeyman's House.
Act IV is a scene. Act IV begins when Act III ends.
When Act IV begins:
say "You have picked up all the items that Reg the Good Werewolf could possibly want. You walk to Reg's house and enter the front door.";
move the player to the Reg's House Living Room.
Every turn while Act IV is happening:
If Reg the Good Werewolf has taco and Reg the Good Werewolf has wand:
say "Reg looks at you. He smiles. Reg says 'Thank you for returning my wand to me. Also, you brought me my favorite food: tacos!'";
end the story.
Every turn:
If the monster (called unhealthy one) is dead and the location of unhealthy one is the location of the player:
if unhealthy one is the 100 ft undead gorilla:
move the golden earrings to the location of the player;
say "The gorilla explodes everywhere, leaving behind [golden earrings]!";
if unhealthy one is Boogeyman:
move the taco to the location of the player;
move the wand to the location of the player;
say "The boogeyman explodes into a thousands sparkles of light, leaving behind [taco] and [wand].";
remove unhealthy one from play;
now health of unhealthy one is 100;
If location of skeleton is location of player or location of ghost is location of player:
let chance to hit be a random number from 1 to 100;
let damage be a random number from 1 to 5;
if chance to hit < 21:
decrease the health of the player by damage;
say "You take [damage] points of damage from the monster in the room!";
If location of the undead gorilla is location of player:
let chance to hit be a random number from 1 to 100;
let damage be a random number from 1 to 6;
if chance to hit < 21:
decrease the health of the player by damage;
say "You take [damage] points of damage from the monster in the room!";
If location of boogeyman is location of player and the player is not wearing golden earrings:
let chance to hit be a random number from 1 to 100;
let damage be a random number from 1 to 6;
if chance to hit < 21:
decrease the health of the player by damage;
say "You take [damage] points of damage from the monster in the room!";
If the player is dead:
say "I am sorry, but you died!";
end the story.

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB