Update to MooreCola formula, update IF and Tex for changes, add CookLang file

This commit is contained in:
William Moore 2023-04-17 04:09:27 -05:00
parent f720c649c5
commit f43cac3e43
5 changed files with 44 additions and 46 deletions

7
.gitignore vendored
View File

@ -12,7 +12,6 @@ Index/
*.iFiction
*.log
*.glksave
*.dvi
*.aux
*.pdf
gametext.txt
Icon?
gametext.txt
.vscode/

View File

@ -1,32 +1,18 @@
SRCDIR := .
SRCDIR := ./
BUILDDIR := ./build/
OUTPUTDIR := ./opencola.materials/
include Targets
all: $(TARGETS)
$(TARGETS): %.inform
$(eval PROJDIR := $(SRCDIR)/$@.inform)
$(eval SRCS := $(wildcard $(PROJDIR)/Source/*.ni))
$(eval I6S := $(patsubst %.ni,%.i6,$(SRCS)))
$(INFORM7) -project "$(PROJDIR)" $(ARGS)
$(INFORM6) -E2w~S~DG $(PROJDIR)/Build/auto.inf $(PROJDIR)/Build/output.ulx
$(INBLORB) $(PROJDIR)/Release.blurb $(SRCDIR)/$@.gblorb
$(IF)/web.sh $@
%.inform:
echo $@
pdf:
$(TARGETS):
- mkdir build
latex --output-format=pdf --output-directory=build/ MooreCola.tex
clean_inform:
echo $(SRCDIR)/$(TARGET_NAME)/Build
web:
$(foreach TARGET_NAME, $(TARGETS), - python3 $(IF)/blorbtool.py $(TARGET_NAME).gblorb giload $(TARGET_NAME).materials/Release/interpreter interpreter && echo `pwd` && cp $(TARGET_NAME).gblorb "$(TARGET_NAME).materials/Release/`cat $(TARGET_NAME).inform/Release.blurb | grep -Eo -m1 '([^\"]+\.gblorb)' | sed -e 's/\( \)/\\ /g'`" )
latex --output-format=pdf --output-directory=$(BUILDDIR) --directory=$(BUILDDIR) $(SRCDIR)/$@.tex
latex --output-format=pdf --output-directory=$(BUILDDIR) --directory=$(BUILDDIR) $(SRCDIR)/$@.tex
- mkdir build/$@
latex2html -dir $(BUILDDIR)/$@ $(SRCDIR)/$@.tex
cp $(BUILDDIR)/$@.pdf $(OUTPUTDIR)
clean:
$(foreach TARGET_NAME, $(TARGETS), - rm -rf $(SRCDIR)/$(TARGET_NAME).inform/Build - rm -rf $(SRCDIR)/$(TARGET_NAME).materials/Release $(SRCDIR)/$(TARGET_NAME).inform/Index $(SRCDIR)/$(TARGET_NAME).inform/*.plist $(SRCDIR)/$(TARGET_NAME).inform/*.iFiction $(SRCDIR)/$(TARGET_NAME).inform/*.blurb )
- rm *.gblorb
- rm -rf build

View File

@ -16,6 +16,7 @@
\documentclass[titlepage]{article}
\usepackage[pdftex,pdfpagelabels,bookmarks,hyperindex,hyperfigures]{hyperref}
\title{MooreCola}
\author{William Moore}
\date{}
@ -30,10 +31,14 @@
To my love, Nina Nadu, and to my children Olivia and Henry
\vspace*{\fill}
\end{center}
\clearpage
\newpage
\thispagestyle{empty}
\tableofcontents
\newpage
\thispagestyle{empty}
\vspace*{\fill}
\section*{License}
\addcontentsline{toc}{section}{License}
MooreCola - a soda recipe
\newline
Copyright (C) 2023 William Moore
@ -61,6 +66,7 @@ To my love, Nina Nadu, and to my children Olivia and Henry
\vspace*{\fill}
\clearpage
\section*{Introduction}
\addcontentsline{toc}{section}{Introduction}
A long, long time ago, the Soda Gnomes once thrived. They made their own colas, but refused to share with the world. They plundered. They got fat off their own crapulence.
However, one day, a brave explorer by the name of Arkansas Smith snuck into their golden palaces and observed the secret rituals used in preparation of their delicious and some not so delicious colas. He noticed common themes amongst their ingredients. He noticed that they all used the same basic ingredients and only differed ever so slightly. Seizing this opportunity, he scribbled down their formula. But their guards, the essential oil trolls, caught on. He would have been trapped if it wasn't for his trusty bullwhip, which he used to chase away the trolls.
@ -69,8 +75,10 @@ To my love, Nina Nadu, and to my children Olivia and Henry
So, without much further ado, is the recipe for this drink.
\section*{Ingredients}
\addcontentsline{toc}{section}{Ingredients}
Make sure to use food grade essential oils and food grade gum arabic. If you use the kind you get, for example, in an art store, you'll get severely ill. It's not meant to be eaten.
\subsection*{7X Formula}
\subsection*{Seekrit Formula}
\addcontentsline{toc}{subsection}{Seekrit Formula}
\begin{itemize}
\item 3.50 ml orange oil
\item 1.00 ml lemon oil
@ -80,22 +88,26 @@ To my love, Nina Nadu, and to my children Olivia and Henry
\item 2.75 ml lime oil
\item 0.25 ml lavender oil
\item 0.25 ml coriander oil
\item 10.0 g food grade gum arabic
\item 3.00 ml water
\item 5.00 g food grade gum arabic
\item 5.00 ml water
\end{itemize}
\subsection*{MooreCola Syrup}
\addcontentsline{toc}{subsection}{MooreCola Syrup}
\begin{itemize}
\item 7.5 ml 7X formula
\item 15 ml Seekrit Formula
\item 17.25 ml citric acid
\item 1 l water
\item 1 kg plain granulated white table sugar
\item .75 l water
\item 1.35 kg plain granulated white table sugar
\item 15.0 ml caramel color
\end{itemize}
\section*{Preparation}
\subsection*{7X Formula}
\addcontentsline{toc}{section}{Preparation}
\subsection*{Seekrit Formula}
\addcontentsline{toc}{subsection}{Seekrit Formula}
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!
\subsection*{MooreCola Syrup}
In a 5 l container, take 7.5 ml of the 7x Formula. Add the citric acid. Add the water and sugar. Mix. Once all chemicals are completely dissolved, add caramel color. Mix thoroughly again.
\addcontentsline{toc}{subsection}{MooreCola Syrup}
In a 5 l container, take 7.5 ml of the Seekrit Formula. Add the citric acid. Add the water and sugar. Mix. Once all chemicals are completely dissolved, add caramel color. Mix thoroughly again.
\section*{Combining MooreCola like Voltron}
In a container, add one part syrup to 5 parts carbonated water. Mix thoroughly.
\end{document}

View File

@ -1 +1 @@
TARGETS=opencola
TARGETS=MooreCola

View File

@ -22,10 +22,11 @@ Chapter 0 - The License
Chapter 1 - General Setup
The release number is 10.
The release number is 11.
Index map with EPS file.
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. The source code may be found at https://rezrov.xyz/caranmegil/OpenCola.".
Release along with cover art, an interpreter, source text, and library card.
Release along with cover art, an introductory booklet, an introductory postcard, a website, an interpreter, a library card, a file of "Map" called "Inform Map.eps", a file of "MooreCola Recipe (PDF)" called "MooreCola.pdf", a file of "MooreCola Recipe (CookLang)" called "MooreCola.cook", and the source text.
Include Basic Screen Effects by Emily Short.
Chapter 2 - Rooms and Doors
@ -69,24 +70,24 @@ Plaque of 7X Flavoring is thing. It is fixed in place. It is in the Preparation
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.'".
Parchment of 7x MooreCola Flavoring Formula is a thing. It is in the MooreCola Room. The description is "3.50 ml orange oil
Parchment of MooreCola Seekrit Flavoring is a thing. It is in the MooreCola 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]2.75 ml lime oil
[line break]0.25 ml lavender oil
[line break]10.0 g food grade gum arabic
[line break]3.00 ml water".
[line break]5.0 g food grade gum arabic
[line break]5.00 ml water".
Parchment of MooreCola Syrup Formula is a thing. It is in the MooreCola Room. The description is "7.5 ml 7X formula
[line break]17.25 ml citric acid
[line break]1 l water
[line break]1 kg plain granulated white table sugar
[line break]0.75 l water
[line break]1.35 kg plain granulated white table sugar
[line break]15.0 ml caramel color".
Plaque of 7X MooreCola Flavoring is thing. It is fixed in place. It is in the MooreCola 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 MooreCola is a thing. It is fixed in place. It is in the MooreCola Room. The description is "On the wall to your right is a plaque that reads 'In a 5 l container, take 7.5 ml of the 7x Flavoring. Add either the citric acid. Add the water and sugar. Mix. Once all chemicals are completely dissolved, add caramel color. Mix thoroughly again.'".
Plaque of MooreCola Seekrit Flavoring is thing. It is fixed in place. It is in the MooreCola 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 MooreCola is a thing. It is fixed in place. It is in the MooreCola Room. The description is "On the wall to your right is a plaque that reads 'In a 5 l container, take 15 ml of the MooreCola Seekrit Flavoring. Add the citric acid. Add the water and sugar. Mix. Once all chemicals are completely dissolved, add caramel color. Mix thoroughly again.'".
Plaque of MooreCola Elixir is a thing. It is fixed in place. It is in the MooreCola 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