diff --git a/.gitignore b/.gitignore index 64ef7163ebdf4c0094e7b8999bfee3c8d64d96b1..c2b2a779efdd22e43078c143df273ec7351e3678 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,6 @@ old *.tiff *.xcf *.xmpi +*.slg +*.slo +*.sls diff --git a/bind.sty b/bind.sty index c494329f36a950785f936cd9d813b4a1fce3c999..35899baaca97f4b19a917c4c4ff4ec69eeb1ef20 100644 --- a/bind.sty +++ b/bind.sty @@ -1,4 +1,5 @@ \RequirePackage{config/layout} +\input{config/glossary.tex} \RequirePackage{config/loot} \RequirePackage{config/stats} \RequirePackage{config/monsters} diff --git a/docs.tex b/docs.tex index 4201906b9f0b700ffe99453594ce9be10f151c5f..a0bf6f4b4c500f4f506d5ddd303694aca70eac0f 100644 --- a/docs.tex +++ b/docs.tex @@ -3,6 +3,7 @@ \date{\today} + \begin{document} \chapter{How to Make Monsters} @@ -186,6 +187,42 @@ And charts about roll successes like this: \end{rollchart} +\subsection{Symbols} + + +\begin{tabularx}{\linewidth}{XXX} + + Meaning & Typed & Symbol \\\hline + + Nura & {\tt \textbackslash{N}} & \gls{N} \\ + + Undead & {\tt \textbackslash{D}} & \gls{D} \\ + \hline + Teams & {\tt \textbackslash{T}} & \gls{T} \\ + + Animal & {\tt \textbackslash{M}} & \gls{A} \\ + + Sentient & {\tt \textbackslash{E}} & \gls{E} \\ + + Female & {\tt \textbackslash{F}} & \gls{F} \\ + + Male & {\tt \textbackslash{M}} & \gls{M} \\ + + \hline + Gnoll & {\tt \textbackslash{Nl}} & \gls{Nl} \\ + + Dwarves & {\tt \textbackslash{Dw}} & \gls{Dw} \\ + + Humans & {\tt \textbackslash{Hu}} & \gls{Hu} \\ + + Elves & {\tt \textbackslash{El}} & \gls{El} \\ + + Gnome & {\tt \textbackslash{Gn}} & \gls{Gn} \\ + \hline + Squash & {\tt \textbackslash{squash}} & \gls{squash} \\ + +\end{tabularx} + \end{multicols} \end{document} diff --git a/glossary.tex b/glossary.tex new file mode 100644 index 0000000000000000000000000000000000000000..32ec75c92fb5bececa6db1c9c458e405fbcc9ae1 --- /dev/null +++ b/glossary.tex @@ -0,0 +1,111 @@ +\makeglossaries + +\newglossaryentry{N}{ + type=symbols, + nonumberlist, + name={\Hygiea}, + description={Nura} +} + +\newglossaryentry{D}{ + type=symbols, + nonumberlist, + name={\Lilith}, + description={Undead} +} + +\newglossaryentry{T}{ + type=symbols, + nonumberlist, + name={\Opposition}, + description={A team of multiple creatures} +} + +\newglossaryentry{F}{ + type=symbols, + nonumberlist, + name={\Venus}, + description={Female} +} + +\newglossaryentry{M}{ + type=symbols, + nonumberlist, + name={\Mars}, + description={Male} +} + +\newglossaryentry{E}{ + type=symbols, + nonumberlist, + name={\Mercury}, + description={Sentient (any gender or none)} +} + +\newglossaryentry{A}{ + type=symbols, + nonumberlist, + name={\Taurus}, + description={Animal} +} + +% RACES + +\newglossaryentry{Dw}{ + type=symbols, + nonumberlist, + name={\Vulkanus}, + description={Dwarf} +} + +\newglossaryentry{El}{ + type=symbols, + nonumberlist, + name={\Moon}, + description={Elf} +} + +\newglossaryentry{Hu}{ + type=symbols, + nonumberlist, + name={\Saturn}, + description={Human} +} + +\newglossaryentry{Gn}{ + type=symbols, + nonumberlist, + name={\Kronos}, + description={Gnome} +} + +\newglossaryentry{Nl}{ + type=symbols, + nonumberlist, + name={\Admetos}, + description={Gnoll} +} + +\newglossaryentry{squash}{ + type=symbols, + nonumberlist, + name={\Vesta}, + description={Play this Side Quest at the same time as the next} +} + +% SHORT COMMANDS + +\newcommand{\T}{\gls{T}\settoggle{team}{true}} % groups +\newcommand{\M}{\gls{M}} % male +\newcommand{\F}{\gls{F}} % female +\newcommand{\E}{\gls{E}} % sentient +\newcommand{\A}{\gls{A}} % creature +\newcommand{\N}{\gls{N}} % nura +\newcommand{\D}{\gls{D}} % undead +\newcommand{\Dw}{\gls{Dw}} % dwarf +\newcommand{\El}{\gls{El}} % elf +\newcommand{\Hu}{\gls{Hu}} % human +\newcommand{\Gn}{\gls{Gn}} % gnome +\newcommand{\Nl}{\gls{Nl}} % gnoll +\newcommand{\squash}{\gls{squash}} % multi-part side quest + diff --git a/layout.sty b/layout.sty index 19918e955da1d02d40735252a2c66c5a863c6061..f4c0ae34cb92fd2b08b2de9a12ca5095397cfc25 100644 --- a/layout.sty +++ b/layout.sty @@ -1,15 +1,14 @@ \ProvidesPackage{config/layout} \RequirePackage[table]{xcolor} -\RequirePackage[acronym]{glossaries} +\RequirePackage[acronym,symbols]{glossaries} \setacronymstyle{short-long-desc} \RequirePackage{glossary-mcols} \RequirePackage{glossaries-extra} \RequirePackage{gfsartemisia-euler} % fancy fonts \RequirePackage[T1]{fontenc} % -\RequirePackage{stmaryrd} % For boxy Maths symbols -\RequirePackage{wasysym} % for circly Maths symbols -\RequirePackage{dingbat} % for curly section symbols +\RequirePackage{starfont} % for creature symbols +\RequirePackage{wasysym} % for sq checkboxes \RequirePackage{appendix} \RequirePackage{geometry} % changes page borders \geometry{margin=50pt} @@ -546,13 +545,6 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \renewcommand{\mannerism}{#4} \renewcommand{\archetype}{#5} } -\newcommand{\T}{\opposition\settoggle{team}{true}} % groups -\newcommand{\M}{\mars} % male -\newcommand{\F}{\venus} % female -\newcommand{\E}{\mercury} % sentient -\newcommand{\A}{\taurus} % creature -\newcommand{\N}{\leftmoon} % nura -\newcommand{\D}{\fullmoon} % undead %%%%%%%%%%%%%%%%%%%% TOGGLES %%%%%%%%%%%%%%%%%%%% @@ -873,7 +865,6 @@ Roll & Result \\ \newtoggle{firstsq} \settoggle{firstsq}{true} -\newcommand\squash{$\merge$ } \newcommand{\sqtoc}{\printcontents[\sqarea]{l}{2}{\section*{Summaries}\setcounter{tocdepth}{3}}} % Change the tocdepth from 2 to 3 in order to output a miniature table of contents on all side quests diff --git a/monsters.sty b/monsters.sty index 993ff5cbc48903f8088e747f05de546d7c105617..9c2a5b733ca3746e4cc577acc4189ebe46492545 100644 --- a/monsters.sty +++ b/monsters.sty @@ -203,7 +203,7 @@ \gdef\armourtype{C}} } -\newcommand{\dwarventrader}[1][\npc{\M}{\arabic{r12} Dwarven Traders}]{ +\newcommand{\dwarventrader}[1][\npc{\Dw\M}{\arabic{r12} Dwarven Traders}]{ #1 \randomdozen \randomtwoB @@ -221,7 +221,7 @@ {} } % -\newcommand{\dwarvensoldier}[1][\npc{\M\T}{\arabic{r12} Dwarven Soldiers}]{ +\newcommand{\dwarvensoldier}[1][\npc{\T\Dw\M}{\arabic{r12} Dwarven Soldiers}]{ #1 \randomdozen \randomtwo @@ -238,7 +238,7 @@ {\knacks{Chosen Enemy: Goblinoids}\ifodd\value{r2b}, \defender\fi}% SKILLS } -\newcommand{\dwarvenrunemaster}[1][\npc{\M}{Dwarven Runemaster}]{ +\newcommand{\dwarvenrunemaster}[1][\npc{\Dw\M}{Dwarven Runemaster}]{ #1 \randomtwo \addtocounter{enc}{1} @@ -286,7 +286,7 @@ {\lockedmana{5}\gdef\armourtype{C}} } -\newcommand{\elf}[1][\npc{\F}{Elf}]{ +\newcommand{\elf}[1][\npc{\El\F}{Elf}]{ #1 \randomtwo \randomtwoB @@ -324,7 +324,7 @@ {} } -\newcommand{\elvenenchanter}[1][\npc{\M}{Elven Enchanter}]{ +\newcommand{\elvenenchanter}[1][\npc{\El\M}{Elven Enchanter}]{ #1 \randomtwoB \randomtwo @@ -347,7 +347,7 @@ {} } -\newcommand{\gnome}[1][\npc{\M}{Wandering Gnome}]{ +\newcommand{\gnome}[1][\npc{\Gn\M}{Wandering Gnome}]{ #1 \randomtwo \randomtwoC @@ -378,7 +378,7 @@ {} } -\newcommand{\gnomishsoldier}[1][\npc{\M}{Gnomish Soldier}]{ +\newcommand{\gnomishsoldier}[1][\npc{\Gn\M}{Gnomish Soldier}]{ #1 \randomtwo \addtocounter{enc}{-2} @@ -413,7 +413,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\gnomishillusionist}[1][\npc{\M}{Gnomish Illusionist}]{ +\newcommand{\gnomishillusionist}[1][\npc{\Gn\M}{Gnomish Illusionist}]{ #1 \randomtwo \randomthree @@ -438,7 +438,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humanfarmer}[1][\npc{\M}{Farmer}]{ +\newcommand{\humanfarmer}[1][\npc{\Hu\M}{Farmer}]{ #1 \randomthree\addtocounter{age}{-2} \randomtwo @@ -458,7 +458,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humanmaid}[1][\npc{\F}{Maid}]{ +\newcommand{\humanmaid}[1][\npc{\Hu\F}{Maid}]{ #1 \randomthree \randomtwo @@ -475,7 +475,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humantrader}[1][\npc{\M}{\arabic{r12} Traders}]{ +\newcommand{\humantrader}[1][\npc{\Hu\M}{\arabic{r12} Traders}]{ #1 \randomtwo \randomtwoB @@ -495,7 +495,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humandiplomat}[1][\npc{\M}{The Diplomat}]{ +\newcommand{\humandiplomat}[1][\npc{\Hu\M}{The Diplomat}]{ #1 \randomtwo \addtocounter{enc}{-1} @@ -517,7 +517,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humanpriest}[1][\npc{\F}{Human Priest}]{ +\newcommand{\humanpriest}[1][\npc{\Hu\F}{Human Priest}]{ #1 \randomtwo \randomtwoB @@ -548,7 +548,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humansoldier}[1][\npc{\M\F\T}{\arabic{r12} Soldiers}]{ +\newcommand{\humansoldier}[1][\npc{\T\Hu}{\arabic{r12} Soldiers}]{ #1 \randomtwo \addtocounter{enc}{1} @@ -598,7 +598,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\royalguard}[1][\npc{\M\F\T}{\arabic{r12} Guards}]{ +\newcommand{\royalguard}[1][\npc{\T}{\arabic{r12} Guards}]{ #1 \randomtwo \addtocounter{enc}{1} @@ -644,7 +644,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humanarcher}[1][\npc{\M\T}{\arabic{r12} Archers}]{ +\newcommand{\humanarcher}[1][\npc{\T\Hu}{\arabic{r12} Archers}]{ #1 \randomtwo \randomtwoB @@ -672,7 +672,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humanthief}[1][\npc{\M}{Thief}]{ +\newcommand{\humanthief}[1][\npc{\Hu\M}{Thief}]{ #1 \randomtwo \addtocounter{enc}{-1} @@ -706,7 +706,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\humanbard}[1][\npc{\F}{Bard}]{ +\newcommand{\humanbard}[1][\npc{\Hu\F}{Bard}]{ #1 \randomtwo \addtocounter{enc}{1} @@ -783,10 +783,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {\lockedmana{\value{r2}}} } - - - -\newcommand{\gnollhunter}[1][\npc{\T}{\arabic{r12} Gnoll Hunters}]{ +\newcommand{\gnollhunter}[1][\npc{\T\Nl}{\arabic{r12} Gnoll Hunters}]{ #1 \randomtwo\addtocounter{enc}{1} \randomtwoB @@ -805,7 +802,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\gnollshaman}[1][\npc{\F}{Gnoll Shaman}]{ +\newcommand{\gnollshaman}[1][\npc{\Nl\F}{Gnoll Shaman}]{ #1 \addtocounter{age}{-2} \randomtwo @@ -884,7 +881,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\nuraslug}[1][\npc{\A\N\T}{\multiply\value{r12} by \value{r2b}\arabic{r12} Nura Slugs}]{ +\newcommand{\nuraslug}[1][\npc{\T\A\N}{\multiply\value{r12} by \value{r2b}\arabic{r12} Nura Slugs}]{ #1 \randomtwo \addtocounter{enc}{-3} @@ -974,7 +971,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v %%%%%%%%%% NURA %%%%%%%%%% -\newcommand{\goblin}[1][\npc{\N\T}{\arabic{r12} Goblins}]{ +\newcommand{\goblin}[1][\npc{\T\N}{\arabic{r12} Goblins}]{ #1 \randomtwo \randomtwoB @@ -1011,7 +1008,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\undeadgoblin}[1][\npc{\D\T}{\arabic{r12} Undead Hobgoblins}]{ +\newcommand{\undeadgoblin}[1][\npc{\T\D}{\arabic{r12} Undead Hobgoblins}]{ #1 \randomtwo\addtocounter{enc}{-2} \randomtwoB @@ -1027,7 +1024,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\deepgoblin}[1][\npc{\N\T}{\arabic{r12} Goblins}]{ +\newcommand{\deepgoblin}[1][\npc{\T\N}{\arabic{r12} Goblins}]{ #1 \randomtwo\addtocounter{enc}{-2} \randomtwoB @@ -1111,7 +1108,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\undeadhobgoblin}[1][\npc{\D\T}{\arabic{r12} Undead Hobgoblins}]{ +\newcommand{\undeadhobgoblin}[1][\npc{\T\D}{\arabic{r12} Undead Hobgoblins}]{ #1 \randomtwo \animal{\arabic{r2}}% STRENGTH @@ -1125,7 +1122,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {} } -\newcommand{\sentientundeadhobgoblin}[1][\npc{\D\T}{\arabic{r12} Sentient Undead Hobgoblins}]{ +\newcommand{\sentientundeadhobgoblin}[1][\npc{\T\D}{\arabic{r12} Sentient Undead Hobgoblins}]{ #1 \randomtwo \randomtwoB @@ -1214,7 +1211,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {}% } -\newcommand{\ghoul}[1][\npc{\D\T}{\arabic{r12} Ghouls}]{ +\newcommand{\ghoul}[1][\npc{\T\D}{\arabic{r12} Ghouls}]{ #1 \randomtwo \randomtwoB