From 543a19eb08e26c38e2dd7aa0106a0edee200bb31 Mon Sep 17 00:00:00 2001 From: William Moore Date: Wed, 4 Jan 2023 22:07:49 -0600 Subject: [PATCH] Added all the parts. --- opencola.inform/Source/story.ni | 48 +++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 8 deletions(-) diff --git a/opencola.inform/Source/story.ni b/opencola.inform/Source/story.ni index 8c970dd..5d597e6 100644 --- a/opencola.inform/Source/story.ni +++ b/opencola.inform/Source/story.ni @@ -23,17 +23,19 @@ Chapter 0 - The License Chapter 1 - General Setup The release number is 1. -The story headline is "An interactive fiction of the OpenCola recipe". +The story headline is "An interactive fiction adaptation of the OpenCola recipe". The story description is "An interactive fiction based on the recipe for OpenCola.". Release along with cover art, an interpreter, source text, and library card. Include Basic Screen Effects by Emily Short. Chapter 2 - Rooms and Doors -Foyer is a room. The description is "The Foyer is a tragedy of a mess of papers littering the floor and filing cabinets.". -Ingredients is a room. The description is "Inside this room, you can find the ingredients for the drink.". +Foyer is a room. The description is "The Foyer is a clean and pristine with stainless steel walls and granite flooring.". +Ingredients Room is a room. The description is "Inside this room, you can find the ingredients for the drink.". +Preparation Room is a room. The description is "[if unvisited]From everywhere you hear the wailing and gnashing of teeth of presumably the Soda Gnomes who are opposed to your production of OpenCola as it would make their jobs pointless.[otherwise]Inside this room, you can find how to prepare the drink.". -Entrance to Ingredients is a door. It is outside from the Foyer and inside from the Ingredients. The description is "A stainless steel door with the words 'Ingredients Room' etched in big letters on the middle.". +Ingredients Door is a door. It is north from the Foyer and south from the Ingredients Room. The description is "A stainless steel door with the words 'Ingredients Room' etched in big letters on the middle.". +Preparation Door is a door. It is south from the Foyer and north from the Preparation Room. The description is "A stainless steel door with the words 'Preparation Room' etched in big letters on the middle.". Chapter 3 - Actors @@ -41,23 +43,27 @@ Knight of Mixing is a man. He is in Foyer. The description is "A steel plated kn Chapter 4 - Things -7x Top Seekrut Flavoring Formula is a thing. It is in the Foyer. The description is "3.50 ml orange oil +7x Top Seekrut Flavoring Formula is a thing. It is in the Ingredients Room. The description is "3.50 ml orange oil [line break]1.00 ml lemon oil [line break]1.00 ml nutmeg oil [line break]1.25 ml cassia oil [line break]0.25 ml coriander oil [line break]0.25 ml neroli oil2.75 ml lime oil [line break]0.25 ml lavender oil -[line break]10.0 g gum arabic +[line break]10.0 g food grade gum arabic [line break]3.00 ml water". -Open Cola Syrup Formula is a thing. It is in the Foyer. The description is "9.68 ml 7X formula +Open Cola Syrup Formula is a thing. It is in the Ingredients Room. The description is "9.68 ml 7X formula [line break]17.25 ml 75% phosphoric acid or citric acid [line break]2.28 l water [line break]2.36 kg plain granulated white table sugar [line break]2.46 ml caffeine (optional) [line break]30.0 ml caramel color". +Plaque of 7X Flavoring is thing. It is fixed in place. It is in the Preparation Room. The description is "On the wall to your left is as plaque that reads 'Mix all oils together in a blender. Add gum arabic. Mix again. Add water and mix for 4-5 minutes. Transfer to a safe container. Store in the fridge and sealed tightly!'". +Plaque of the Syrup of OpenCola is a thing. It is fixed in place. It is in the Preparation Room. The description is "On the wall to your right is a plaque that reads 'In a 5 l container, take 5 ml of the 7x Flavoring. Add either the phosphoric acid (please know what you're doing if so) or add the citric acid. Add the water and sugar. Mix. While mixing, if caffeine is desired, add it. Once all chemicals are completely dissolved, add caramel color. Mix thoroughly again.'". +Plaque of OpenCola Elixir is a thing. It is fixed in place. It is in the Preparation Room. The description is "On the wall in front of you is a plaque that reads 'In a container, add one part syrup to 5 parts carbonated water.'". + Chapter 5 - Tables Table of Basic Help Commands @@ -140,6 +146,27 @@ Carry out helping: say "[bold type][command entry]:[roman type] [description entry][line break]"; pause the game. +7X Examined is a truth state that varies. 7X Examined is false. +Syrup Examined is a truth state that varies. Syrup Examined is false. +Drink Examined is a truth state that varies. Drink Examined is false. + +After examining when the noun is the Plaque of 7X Flavoring: + now 7X Examined is true. + +After examining when the noun is Plaque of the Syrup of OpenCola: + now Syrup Examined is true. + +After examining when the noun is Plaque of OpenCola Elixir: + now Drink Examined is true. + +Understand "talk to [something]" as talking. Talking is an action applying to one visible thing. + +Carry out talking when the noun is not a person: + say "You really want to talk to that?". + +Carry out talking when the noun is the Knight of Mixing: + say "The knight bellows: 'Hahahaha! Welcome to OpenSoda. To the north is the ingredients room where parchments containing the ingredients are listed. To the south is the prepration room. Inside are plaques that tell you how to make the different parts of the elixir known as OpenSoda elixir!'" + Chapter 7 - The Game When play begins: @@ -163,4 +190,9 @@ derivatives thereof, may be appropriate for use in locations outside of the Unit them from any location where their use is illegal is prohibited. If you choose to access this Recipe from any location outside of the United States or Canada, you do so at your own risk, and are responsible for compliance with all local laws."; - pause the game. \ No newline at end of file + pause the game; + say "[bold type]Make sure the ingredients are food grade and able to be used internally.[roman type]". + +Every turn: + if 7X Examined is true and Syrup Examined is true and Drink Examined is true: + say "You hear a shrill voice say 'Good luck getting the ingredients that are 100% made of the components. We Soda Gnomes will rule the day forever!'". \ No newline at end of file