Update before using editing axe on code

This commit is contained in:
William Moore 2022-11-20 12:54:26 -06:00
parent 2d439aeba9
commit 36bbf0a6dd
4 changed files with 86 additions and 31 deletions

View File

@ -30,6 +30,7 @@ Asking someone about something is speech. Telling someone about something is spe
Looking is look. Looking is look.
The block giving rule is not listed in the check giving it to rules. The block giving rule is not listed in the check giving it to rules.
BBQ eaten is a truth state that varies.
Crime solved is a truth state that varies. Crime solved is a truth state that varies.
Second murder is a truth state that varies. Second murder is a truth state that varies.
@ -68,6 +69,7 @@ Figure of Sanctuary Northeast Corridor is the file "sanct-ne-corr.jpg".
Figure of Altar Table is the file "altar-table.jpg". Figure of Altar Table is the file "altar-table.jpg".
Figure of Elmo & Gandalf is the file "elmo_gandalf_game.jpg". Figure of Elmo & Gandalf is the file "elmo_gandalf_game.jpg".
Figure of Arthur Bryant's is the file "arthur_bryants.jpg". Figure of Arthur Bryant's is the file "arthur_bryants.jpg".
Figure of Dice is the file "dice.jpg".
Figure of Me is the file "me.jpg". Figure of Me is the file "me.jpg".
Figure of BBQ is the file "bbq.jpg". Figure of BBQ is the file "bbq.jpg".
Figure of 1 of a Kind is the file "1ofakind.jpg". Figure of 1 of a Kind is the file "1ofakind.jpg".
@ -118,7 +120,7 @@ Response
"Drink Pepso! The only drink made with real pepsin!" "Drink Pepso! The only drink made with real pepsin!"
Table of Help Commands Table of Basic Help Commands
command description command description
"north" "Move north" "north" "Move north"
"south" "Move south" "south" "Move south"
@ -135,7 +137,6 @@ command description
"restore" "Restores a saved state" "restore" "Restores a saved state"
"restart" "Restarts the game" "restart" "Restarts the game"
"verbose" "Gives full description after each command" "verbose" "Gives full description after each command"
"score" "Displays score and ranking"
"diagnostic" "Give description of health" "diagnostic" "Give description of health"
"brief" "Give a description upon first entering an area" "brief" "Give a description upon first entering an area"
"superbrief" "Never describe an area" "superbrief" "Never describe an area"
@ -176,9 +177,18 @@ command description
"listen (target)" "Listens to a creature or an item" "listen (target)" "Listens to a creature or an item"
"slap (target)" "Slap the target viciously." "slap (target)" "Slap the target viciously."
"poke (target)" "Poke a target." "poke (target)" "Poke a target."
"stat" "Display your stats" "credits" "Display the credits for this game"
Table of RPG Help Commands
command description
"rpg" "Displays the basic rules for the RPG element"
"stats" "Display your stats"
"buy (strength, defense, hp, or die)" "Purchase an attribute with experience points." "buy (strength, defense, hp, or die)" "Purchase an attribute with experience points."
"accuse (target)" "accuse the target of murder" "accuse (target)" "accuse the target of murder"
Table of Dice Help Commands
command description
"dice rules" "Displays the rules for Steal the Dragon Hoard"
"game" "rolls the dice for the game of Steal the Dragon Hoard" "game" "rolls the dice for the game of Steal the Dragon Hoard"
"new game" "starts a new game of Steal the Dragon Hoard" "new game" "starts a new game of Steal the Dragon Hoard"
"coins" "tells you how many coins you've taken from the dragon's hoard" "coins" "tells you how many coins you've taken from the dragon's hoard"
@ -193,7 +203,7 @@ Chapter 4 - Setting Up Actors
Gamer is a person. They are in Gaming Hall. The description is "They are wearing a red T-Shirt with a mildly offensive slogan on it and a pair of blue jeans and socks and sandals on their feet. They smell like vanilla. In their hands are dice used to play their favorite 'Steal the Dragon Hoard' and look expectantly at you for a game.". Gamer is a person. They are in Gaming Hall. The description is "They are wearing a red T-Shirt with a mildly offensive slogan on it and a pair of blue jeans and socks and sandals on their feet. They smell like vanilla. In their hands are dice used to play their favorite 'Steal the Dragon Hoard' and look expectantly at you for a game.".
Amelia is a person. They are in Arthur Bryant's. The description is "Amelia is a slender woman wearing ruined aviator clothes. She has sandy blonde hair. She is totally drunk and appears to almost always be that way.". Amelia is a person. They are in Arthur Bryant's. The description is "Amelia is a slender woman wearing ruined aviator clothes. She has sandy blonde hair. She is totally drunk and appears to almost always be that way.".
Darcon is a person. They are in Arthur Bryant's. The description is "He looks like a typical cook wearing a black shirt and pants.". Darcon is a person. Understand "cook" as Darcon. They are in Arthur Bryant's. The description is "He looks like a typical cook wearing a black shirt and pants.".
Buckethead is a person. The description is "That's right. THE Buckethead! He appears to be staring at his chickens, which are aimlessly pecking at and scratching the floor.". Buckethead is a person. The description is "That's right. THE Buckethead! He appears to be staring at his chickens, which are aimlessly pecking at and scratching the floor.".
Mr Linendot is a person. They are in UMKC. The description is "He has lines for limbs and dots for joints. His perfectly circular head only has dots for eyes and a line for a mouth.". Mr Linendot is a person. They are in UMKC. The description is "He has lines for limbs and dots for joints. His perfectly circular head only has dots for eyes and a line for a mouth.".
Melkior is a person. They are in Broadway & 47th. The description is "He is an Eldarim turned undead after pledging his life to Death himself. He is currently held together it would seem by just simple rags. There are severely damaged parts on his body from previous battles.". Melkior is a person. They are in Broadway & 47th. The description is "He is an Eldarim turned undead after pledging his life to Death himself. He is currently held together it would seem by just simple rags. There are severely damaged parts on his body from previous battles.".
@ -212,13 +222,15 @@ Chapter 5 - Setting Up Things
[ Key Things ] [ Key Things ]
The ring of awesomeness is a thing. It is wearable. The description is "An awesome-looking ring that fits your finger perfectly.". The ring of awesomeness is a thing. It is wearable. The description is "An awesome-looking ring that fits your finger perfectly.".
The detective's hat is a thing. It is wearable. The description is "A black stereotypical detective's hat.".
The detective's badge is a thing. It is wearable. The description is "A golden-colored, metallic detective's badge.". The detective's badge is a thing. It is wearable. The description is "A golden-colored, metallic detective's badge.".
BBQ Burnt Ends is a thing. It is edible. The description is "The BBQ burnt ends are a Kansas City specialty. They look so good and that they should be eaten before getting too cold.". BBQ Burnt Ends is a thing. It is edible. The description is "The BBQ burnt ends are a Kansas City specialty. They look so good and that they should be eaten before getting too cold.".
BBQ Stained Napkin is a thing. The description is "A memorial of the delicious burnt ends from Arthur Bryant's.". BBQ Stained Napkin is a thing. The description is "A memorial of the delicious burnt ends from Arthur Bryant's.".
Crime Scene Photos is a thing. The description is "These are photos of the murdered teenager taken at the scene of the crime in Grove Park.". Crime Scene Photos is a thing. The description is "These are photos of the murdered teenager taken at the scene of the crime in Grove Park.".
ye flask is a thing. It is in City Hall. The description is "It is a flask containing some unknown liquid." ye flask is a thing. It is in City Hall. The description is "It is a flask containing some unknown liquid."
Balloon Dog is a thing. The description is "This green dog-shaped balloon animal was masterfully crafted by Zongi, the Clown.". Balloon Dog is a thing. The description is "This green dog-shaped balloon animal was masterfully crafted by Zongi, the Clown. It has 'Colonel Barleyton at Bartle Hall' written on it.".
TV is a thing. The TV is in Bartle Hall. The description is "The flat screen 8K OLED TV has a black trim.". TV is a thing. The TV is in Bartle Hall. The description is "The flat screen 8K OLED TV has a black trim.".
Dice is a thing. The description is "These two six-sided dice are special in that they look red with chrome metal poured over parts of it. They're especially useful for playing Steal the Dragon Hoard, which can be played with the command 'game'."
[ Other Things ] [ Other Things ]
@ -227,11 +239,30 @@ ye flask is a thing. The description is "It is a flask containing some unknown l
Chapter 6 - Setting Up the Actions Chapter 6 - Setting Up the Actions
Understand "help" as helping. Helping is an action applying to nothing. Understand "credits" as credits. Credits is an action applying to nothing.
Carry out credits:
say "I would like to first and foremost thank Nina Nadu, my wife, for being my everything.";
say "[line break]Next, I would like to thank my kids Olivia and Henry for being the rambuncious lot that you both are and have a special place in my heart!";
say "[paragraph break]Finally, I appreciate the following people who have helped me test this interactive fiction from its inception (in alphabetical order):[line break]";
say "AmandaB[line break]";
say "Crystal Asonibe[line break]";
say "Jason Bengel[line break]";
say "Drew Cook (kamineko)[line break]";
say "Daniel Stelzer (Draconis)[line break]";
say "Mike Russo (DeusIrae)[line break]";
say "[line break]Without your help, this would not have become more polished!".
Understand "help" as helping. Helping is an action applying to nothing.
Carry out helping: Carry out helping:
say "You like help? Here we go!:[paragraph break]"; say "You like help? Here we go![paragraph break]";
repeat through Table of Help Commands: say "[bold type]Basic Commands[roman type]:[line break]";
repeat through Table of Basic Help Commands:
say "[bold type][command entry][roman type]: [description entry][line break]";
say "[paragraph break][bold type]RPG Commands[roman type]:[line break]";
repeat through Table of RPG Help Commands:
say "[bold type][command entry][roman type]: [description entry][line break]";
say "[paragraph break][bold type]Dice Commands[roman type]:[line break]";
repeat through Table of Dice Help Commands:
say "[bold type][command entry][roman type]: [description entry][line break]"; say "[bold type][command entry][roman type]: [description entry][line break]";
pause the game. pause the game.
@ -354,12 +385,16 @@ After examining Elmo:
display the Figure of Elmo & Gandalf; display the Figure of Elmo & Gandalf;
say "[Elmo] and [Gandalf the Grey] are playing a game.". say "[Elmo] and [Gandalf the Grey] are playing a game.".
After examining dice:
display the Figure of Dice.
After examining TV: After examining TV:
let rr be a random number from 1 to number of rows in Table of Television Responses; 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]'". say "The TV says '[Response in row rr of Table of Television Responses]'".
After examining the player: Instead of examining the player:
display the Figure of Me. display the Figure of Me;
say "You are a handsome-looking African-American detective in the KC police department. You wear a black hat and carry a badge. You're known city-wide for your criminal investigatory skills."
After examining Police Clerk: After examining Police Clerk:
display the Figure of Police Clerk. display the Figure of Police Clerk.
@ -380,36 +415,37 @@ After speech when the noun is Zingo the Makeupless Clown:
Chapter 7 - The Game Chapter 7 - The Game
When play begins:
Now the player has dice;
Now the player is wearing the ring of awesomeness;
now the player is wearing detective's badge.
now the player is wearing detective's hat.
[ Act I ] [ Act I ]
Act I is a scene. Act I begins when play begins. Act I ends when the player has Crime Scene Photos. Act I is a scene. Act I begins when play begins. Act I ends when the player has Crime Scene Photos.
When Act I begins: When Act I begins:
move the ring of awesomeness to the location of the player; say "Seek out the root cause of a murder, detective. Build up your stats to fend off the assaults of racism. Maybe give yourself a good look and don't forget to have some fun along the way, or you'll go mad.";
try silently taking ring of awesomeness;
now the player is wearing ring of awesomeness;
move the detective's badge to the location of the player;
try silently taking detective's badge;
now the player is wearing detective's badge;
say "Seek out the root cause of a murder, detective. This uses the 1PD6 RPG system, so build up your stats to fend off the assaults of racism. Maybe give yourself a good look and don't forget to have some fun along the way, or you'll go mad.[paragraph break]The best hints I can give for navigation is check out a recent map of Kansas City, MO. and remember to order BBQ and eat it.'";
pause the game; pause the game;
move the player to Arthur Bryant's; move the player to Arthur Bryant's;
say "Everyone looks up as you enter and smiles. You hear rounds of 'Hello!' and 'How are you today, detective?'[paragraph break]Inside the food prep area, and behind the first window, Darcon eyes you suspiciously while slowly chewing on something in his mouth that is likely his tongue."; say "Everyone looks up as you enter and smiles. You hear rounds of 'Hello!' and 'How are you today, detective?'[paragraph break]Inside the food prep area, and behind the first window, Darcon eyes you suspiciously while slowly chewing on something in his mouth that is likely his tongue.";
say "Everyone immediately starts simultaneously asking for help with their mysteries. A man walks up to you and says 'I'll bet you one burnt ends plate that you can't guess where my wife is off to.'[paragraph break]You think for a moment and say 'She's off with your brother again and headed to New York. This time, it's unlikely you'll ever see her again. Now, then. Where's my BBQ?'"; say "Everyone immediately starts simultaneously asking for help with their mysteries. A man walks up to you and says 'I'll bet you one burnt ends plate that you can't guess where my wife is off to.'[paragraph break]You think for a moment and say 'She's off with your brother again and headed to New York. However, this time, it's unlikely you'll ever see her again. Now! Where's my BBQ?'";
say "[paragraph break]Everyone in the restaurant 'ooo's' at what you said."; say "[paragraph break]Everyone in the restaurant 'ooo's' at what you said.";
say "[paragraph break]Darcon looks you up and down, frowns, and says 'You seem to have a distinct lack of burnt ends in your possession. Here, have some...for a price!'"; say "[paragraph break]Darcon looks you up and down, frowns, and says 'You seem to have a distinct lack of burnt ends in your possession. Here, have some...for a price!'";
move BBQ Burnt Ends to the location of the player; move BBQ Burnt Ends to the location of the player;
say "Darcon hands you the delicious looking BBQ, the man who lost his wife pays for it at the counter, and take a seat at one of the tables. Several people try to strike up a conversation with you."; say "Darcon hands you the delicious looking BBQ, the man who lost his wife pays for it at the counter, and you take a seat at one of the tables. Several people try to strike up a conversation with you.";
silently try taking BBQ Burnt Ends; silently try taking BBQ Burnt Ends;
pause the game. pause the game.
After eating BBQ Burnt Ends: After eating BBQ Burnt Ends:
say "While you eat, your police radio crackles and the voice on the other end says 'We have a murdered teenager in the Grove Park, east of Arthur Bryant's, in the 18th & Vine district.'"; say "While you eat, your police radio crackles and the voice on the other end says 'We have a murdered teenager in the Grove Park, east of Arthur Bryant's, in the 18th & Vine district.'";
say "You sigh because that's near you and respond with an affirmative. You think to yourself that this is going to be a difficult day despite the delicious food."; say "You sigh because that's near you and respond with an affirmative. You think to yourself that this is going to be a difficult day despite the delicious food.";
now BBQ Eaten is true;
move BBQ Stained Napkin to the location of the player; move BBQ Stained Napkin to the location of the player;
try silently taking BBQ Stained Napkin. try silently taking BBQ Stained Napkin.
Every turn while Act I is happening: Every turn while Act I is happening:
if the location of the player is Grove Park and the player has BBQ Stained Napkin: if the location of the player is Grove Park and BBQ eaten is true:
say "Police are everywhere. Witnesses are in the process of being interrogated. As you walk closer to where a cluster of police and detectives are, you see it: the body of an African-American teenage boy covered in blood. He appears to have been shot several times. After a quick debriefing by the other detectives, you're tasked with taking the photos downtown to the Kansas City Police HQ for further investigation."; say "Police are everywhere. Witnesses are in the process of being interrogated. As you walk closer to where a cluster of police and detectives are, you see it: the body of an African-American teenage boy covered in blood. He appears to have been shot several times. After a quick debriefing by the other detectives, you're tasked with taking the photos downtown to the Kansas City Police HQ for further investigation.";
say "[paragraph break]You can find it easily by heading west to Arthur Bryant's, then northwest to '1 of a Kind', and enter the overworld. From there, head west and enter downtown and it should be somewhere in the northeast. Hey! Why am I telling you this? You [bold type]know this[roman type] by now."; say "[paragraph break]You can find it easily by heading west to Arthur Bryant's, then northwest to '1 of a Kind', and enter the overworld. From there, head west and enter downtown and it should be somewhere in the northeast. Hey! Why am I telling you this? You [bold type]know this[roman type] by now.";
move Crime Scene Photos to the location of the player; move Crime Scene Photos to the location of the player;
@ -444,6 +480,7 @@ After speech when the noun is Zongi the Clown:
say "Zongi looks you up and down. She says 'Oh...one of your kind. Look. I know nothing about the murder other than try to find a Biker Gang.'"; say "Zongi looks you up and down. She says 'Oh...one of your kind. Look. I know nothing about the murder other than try to find a Biker Gang.'";
say "Zongi picks up a long, green deflated balloon, inflates it and fashions it into the shape of a dog. She says 'Here! Have this. Maybe it'll help you find your true way out of here.'"; say "Zongi picks up a long, green deflated balloon, inflates it and fashions it into the shape of a dog. She says 'Here! Have this. Maybe it'll help you find your true way out of here.'";
move Balloon Dog to the location of the player; move Balloon Dog to the location of the player;
silently try taking Balloon Dog;
otherwise: otherwise:
say "Zongi looks at you and says 'Wouldn't it be nice if things were a tad bit different?'[paragraph break]You reply with 'Yes. I couldn't agree more. People need to just love one another and respect their humanity.'". say "Zongi looks at you and says 'Wouldn't it be nice if things were a tad bit different?'[paragraph break]You reply with 'Yes. I couldn't agree more. People need to just love one another and respect their humanity.'".
@ -457,18 +494,20 @@ Act II Scene 3 is a scene. Act II Scene 3 begins when Act II Scene 2 ends. Act I
When Act II Scene 3 begins: When Act II Scene 3 begins:
move the player to Kansas City Police HQ; move the player to Kansas City Police HQ;
move Colonel Barleyton to Bartle Hall;
say "Arnold paces around and shouts 'This is already starting out bad. We are being told off by a Gacy-esque clown who tells us random biker gangs did it!'"; say "Arnold paces around and shouts 'This is already starting out bad. We are being told off by a Gacy-esque clown who tells us random biker gangs did it!'";
say "[paragraph break]You say 'No, she said to ask a biker gang about it. But where do we know biker gangs hang out?'"; say "[paragraph break]You say 'No, she said to ask a biker gang about it. But where do we know biker gangs hang out?'";
say "[paragraph break]Arnold stops pacing and taps the floor. After a brief pause, he says 'Paola?'"; say "[paragraph break]Arnold stops pacing and taps the floor. After a brief pause, he says 'Paola?'";
say "[paragraph break]You frown and say 'C'mon, man! I'm not driving all that way for a hunch. Think harder! What do we have going on in town?'"; say "[paragraph break]You frown and say 'C'mon, man! I'm not driving all that way for a hunch. Think harder!'";
say "[paragraph break]At the same time you both shout 'Planet Comicon!'. As both you and Officer Arnold leave, you say 'Let's go to far west to Bartle Hall and check it out. This investigative stuff really should be done by the detectives, you know!'"; say "[paragraph break]You examine the [Balloon Dog] given to you both by Zongi, the Clown. 'Say, there's something written on this ballon dog.'";
move Colonel Barleyton to Bartle Hall. say "[paragraph break]'What does it say?'";
try examining Balloon Dog.
After speech when the noun is Colonel Barleyton and Act II Scene 3 is happening: After speech when the noun is Colonel Barleyton and Act II Scene 3 is happening:
say "Officer Arnold sternly looks at Colonel Barleyton and proclaims 'Alright, buddy! I see the beard and the tattoos. You're clearly a biker. What do you know about the murder of a black boy in 18th & Vine?'"; say "Officer Arnold sternly looks at Colonel Barleyton and proclaims 'Alright, buddy! I see the beard and the tattoos. You're clearly a biker. What do you know about the murder of a black boy in 18th & Vine?'";
say "[line break]Colonel Barleyton throws an icy glare and says 'The acceptable term is African-American and I am no biker, although there is nothing wrong with that lifestyle. I wish, I could honestly help you out.'"; say "[line break]Colonel Barleyton throws an icy glare and says 'The acceptable term is African-American and I am no biker, although there is nothing wrong with that lifestyle. I wish, I could honestly help you out.'";
say "[line break]You smile, offer your card, and say 'Thank you, sir! If you could, could you keep an eye out for any information on this while you're town. Seriously, enjoy the convention while here.'"; say "[line break]You smile, offer your card, and say 'Thank you, sir! If you could, could you keep an eye out for any information on this while you're town. Seriously, enjoy the convention while here.'";
say "[line break]Colonel Barleyton takes the offered card and says 'Sure thing, officer! It's a shame that some people here have such attitudes as this one, and that you get to deal with it, given recent Kansas City history.'"; say "[line break]Colonel Barleyton takes the offered card and says 'Sure thing, detective! It's a shame that some people here have such attitudes as this one, and that you get to deal with it, given recent Kansas City history.'";
now Second murder is true. now Second murder is true.
Act II Scene 4 is a scene. Act II Scene 4 begins when Act II Scene 3 ends. Act II Scene 4 ends when the health of Hank the Wino King <= the damage of Hank the Wino King. Act II Scene 4 is a scene. Act II Scene 4 begins when Act II Scene 3 ends. Act II Scene 4 ends when the health of Hank the Wino King <= the damage of Hank the Wino King.
@ -476,9 +515,9 @@ Act II Scene 4 is a scene. Act II Scene 4 begins when Act II Scene 3 ends. Act I
When Act II Scene 4 begins: When Act II Scene 4 begins:
say "You head home and uncomfortably sleep. You have a detective's intuition that this isn't over. The next day, you find out it is true when you hear word that another African-American teen was murdered."; say "You head home and uncomfortably sleep. You have a detective's intuition that this isn't over. The next day, you find out it is true when you hear word that another African-American teen was murdered.";
say "[paragraph break]You decide it's time to speak to the Wino King in Penn Valley Park. He seems to always know the whereabouts of things, anyways."; say "[paragraph break]You decide it's time to speak to the Wino King in Penn Valley Park. He seems to always know the whereabouts of things, anyways.";
pause the game;
move Hank the Wino King to Penn Valley Park; move Hank the Wino King to Penn Valley Park;
move the player to Penn Valley Park; move the player to Penn Valley Park.
pause the game.
Instead of speech when the noun is Hank the Wino King and Act II Scene 4 is happening: Instead of speech when the noun is Hank the Wino King and Act II Scene 4 is happening:
say "Hank suspiciously looks at you and says 'So. You've come to the great King of the Winos to find out who your murderer is. I may know a few intimate details, but I'm afraid it'll get me into trouble.'". say "Hank suspiciously looks at you and says 'So. You've come to the great King of the Winos to find out who your murderer is. I may know a few intimate details, but I'm afraid it'll get me into trouble.'".
@ -503,3 +542,4 @@ Every turn while Act II Scene 5 is happening:
say "You just stand there with your mouth silently opening and closing like a fish. It might be time to skulk to Arthur Bryant's for some more BBQ."; say "You just stand there with your mouth silently opening and closing like a fish. It might be time to skulk to Arthur Bryant's for some more BBQ.";
pause the game. pause the game.
test me with "eat bbq / e / w / nw/ enter / w / enter / n / n / e / e / give photos to clerk / w / say hi to arnold / w / s / s / enter / s / s / e / say hi to zongi / w / w / say hi to barleyton".

View File

@ -12,9 +12,20 @@ A person has a number called dice pool.
Chapter 2 - Actions Chapter 2 - Actions
Understand "rpg rules" as RPG rules. RPG rules is an action applying to nothing.
Carry out RPG rules:
say "[bold type]The RPG Rules[roman type]";
say "Weapons provide an additional modifier to attacks. Defenses provide additional subtractors from attacks. What these values are depends on how the storyteller or the settings sees how each is worth. If the resulting roll is greater than or equal to the opposing roll, it is considered successful. All damage is based on the dice pool roll.";
say "[paragraph break]Every 5 turns, you are granted 10 points of experience. A player may spend 5 experience points to add 1 point to any stat, to the maximum of 6. HP has no such limitation. Additionally, a player may spend 10 experience points to add 1D6 to their dice pool.";
say "[paragraph break]When accusing someone of something, it is not simple as it is a battle of wits. You roll your dice pool, add strength, and subtract the target's defense. This is the accusation effect you do. The target does the same with their dice pool, but adds to your damage. If you survive the onslaught and the target has more damage than health, they're rightfully accused.";
say "[paragraph break]If your damage is too much, you will have consequences for your action!";
say "[paragraph break]The accusations may be repeated if desired.";
say "[paragraph break][bold type]Healing![roman type]The only way to heal is to survive the appropriate encounter. So, if you finally find who the killer is, you will need to win an accusation battle in order to heal up.".
Understand "stats" as stats. Stats is an action applying to nothing. Understand "stats" as stats. Stats is an action applying to nothing.
Carry out stats: Carry out stats:
say "[bold type]dice pool:[roman type] [the dice pool of the player][line break]"; say "[bold type]dice pool:[roman type] [the dice pool of the player][line break]";
say "[bold type]damage/health:[roman type] [the damage of the player]/[the health of the player][line break]";
say "[bold type]strength:[roman type] [the strength of the player][line break]"; say "[bold type]strength:[roman type] [the strength of the player][line break]";
say "[bold type]defense:[roman type] [the defense of the player][line break]"; say "[bold type]defense:[roman type] [the defense of the player][line break]";
say "[bold type]experience points:[roman type] [the experience of the player][line break]"; say "[bold type]experience points:[roman type] [the experience of the player][line break]";
@ -56,7 +67,7 @@ Understand "buy health" as buying health. Buying health is an action applying to
Carry out buying health: Carry out buying health:
if the experience of the player is greater than 9: if the experience of the player is greater than 9:
increase the health of the player by 1; increase the health of the player by 1;
increase the experience of the player by 10; decrease the experience of the player by 10;
say "You have purchased one to your health!"; say "You have purchased one to your health!";
otherwise: otherwise:
say "You do not have enough experience to purchase health!". say "You do not have enough experience to purchase health!".
@ -106,7 +117,7 @@ When play begins:
Every turn: Every turn:
increase Game Turns by 1; increase Game Turns by 1;
if Game Turns is 50: if Game Turns is 5:
now Game Turns is 0; now Game Turns is 0;
say "[paragraph break][bold type]You have earned 10 experience and can spend them at some point. Type in help for what you can spend them on.[roman type]"; say "[paragraph break][bold type]You have earned 10 experience and can spend them at some point. Type in help for what you can spend them on.[roman type]";
increase the experience of the player by 10. increase the experience of the player by 10.

View File

@ -6,15 +6,19 @@ Coins Stolen is a number that varies.
Chapter 2 - Actions Chapter 2 - Actions
Understand "dice rules" as dice rules. Dice rules is an action applying to nothing.
Carry out dice rules:
say "The rules are simple. Each person takes turns. On their turn they roll the two dice. If it is less than 8, the round is over and a gold coin is taken equal to that roll. Record the result. If it is from 9 to 11, no coin is taken. If it is 12, the player is caught by the dragon and is fried. All their coins are forfeit from this turn and play passes on to the next player. If a player was not fried, they may continue to roll dice or forgo all other actions and end their turn, keeping the coins they took.".
Understand "game" as game. Game is an action applying to nothing. Understand "game" as game. Game is an action applying to nothing.
Carry out game: Carry out game while the player has dice:
let result be a random number from 1 to 12; let result be a random number from 1 to 12;
say "You roll your dice and get a total of [result] pips."; say "You roll your dice and get a total of [result] pips.";
if result < 7: if result < 8:
increase Coins Stolen by result; increase Coins Stolen by result;
say "You stole [result] coins and now have [Coins Stolen] gold coins!"; say "You stole [result] coins and now have [Coins Stolen] gold coins!";
otherwise: otherwise:
if result >= 11: if result is 12:
say "You were fried by the dragon. Sorry!"; say "You were fried by the dragon. Sorry!";
now Coins Stolen is 0; now Coins Stolen is 0;
otherwise: otherwise:

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB