From dbb60b99c33e9a3eb24a1f00730320c62e2d6e8b Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sat, 11 Feb 2023 01:53:39 +0100
Subject: [PATCH] convert coinage to gls entries

---
 codes.tex | 34 ++++++++++----------
 rules.tex | 94 +++++++++++++++++++++++++++----------------------------
 2 files changed, 64 insertions(+), 64 deletions(-)

diff --git a/codes.tex b/codes.tex
index cf3ca6dd..6626e1f6 100644
--- a/codes.tex
+++ b/codes.tex
@@ -78,7 +78,7 @@ They have a deep sense of needing to be important in the eyes of others, and fin
 }
 \begin{xpchart}{Acquisition}
 
-  1 & Buying an expensive item -- worth 1 gp or more. \\
+  1 & Buying an expensive item -- worth 1 \gls{gp} or more. \\
 
   1 & Being greeted deferentially by a stranger. \\
 
@@ -88,7 +88,7 @@ They have a deep sense of needing to be important in the eyes of others, and fin
 
   1 & Meeting a famous person. \\
 
-  3 & Buying a very expensive item -- at least 10 gp in value. \\
+  3 & Buying a very expensive item -- at least 10 \gls{gp} in value. \\
 
   3 & Disarming a potential conflict. \\
 
@@ -98,13 +98,13 @@ They have a deep sense of needing to be important in the eyes of others, and fin
 
   5 & Gaining a new title such as a guild master or townmaster. \\
 
-  5 & Buying an extremely expensive item -- at least 20 gp in value. \\
+  5 & Buying an extremely expensive item -- at least 20 \gls{gp} in value. \\
 
   10 & Marrying into a prestigious family. \\
 
   10 & Acquiring a horde of new wealth -- at least 100\% of the character's maximum lifetime total, and at least 1 gp. \\
 
-  10 & Buying an expensive new home -- at least 200 gp in value. \\
+  10 & Buying an expensive new home -- at least 200 \gls{gp} in value. \\
 
 \end{xpchart}
 
@@ -128,7 +128,7 @@ Her temples are always full of home-brewed beer served by attractive men and wom
 
   1 & Playing a prank. \\
 
-  1 & Donating at least 1 gp to the church. \\
+  1 & Donating at least 1 \gls{gp} to the church. \\
 
   1 & Drinking and eating to excess. \\
 
@@ -195,7 +195,7 @@ The mana stones of \Gls{knowledgegod} are always activated by a command word.
 
 \begin{xpchart}{\Glsentrytext{knowledgegod}}
 
-  1 & Donating at least 1 gp to the temple. \\
+  1 & Donating at least 1 \gls{gp} to the temple. \\
 
   1 & Learning a new secret. \\
 
@@ -213,11 +213,11 @@ The mana stones of \Gls{knowledgegod} are always activated by a command word.
 
   3 & Solving a complicated puzzle. \\
 
-  5 & Donating at least 10 gp to the temple. \\
+  5 & Donating at least 10 \gls{gp} to the temple. \\
 
   5 & Uncovering a conspiracy. \\
 
-  10 & Donating at least 100 gp to the temple. \\
+  10 & Donating at least 100 \gls{gp} to the temple. \\
 
   10 & Writing an informative book on some topic. Intelligence + Academics is rolled at \gls{tn} 12 during downtime. \\
 
@@ -328,7 +328,7 @@ Animals with a spell implanted always activate the spell at their own behest and
 
 \begin{xpchart}{\Glsentrytext{naturegod}}
 
-  1 & Donating at least 1 cp to the temple. \\
+  1 & Donating at least 1 \gls{cp} to the temple. \\
 
   1 & Hunting one's own food and dedicating it to \glsentrytext{naturegod}. \\
 
@@ -390,7 +390,7 @@ Hunting trophies can hold up to 1 MP for every \glspl{hp} of the beast killed.
 
 \begin{xpchart}{\Gls{wargod}}
 
-  1 & Donating at least 1 gp to the temple. \\
+  1 & Donating at least 1 \gls{gp} to the temple. \\
 
   1 & Finding an interesting battle trophy. \\
 
@@ -414,7 +414,7 @@ Hunting trophies can hold up to 1 MP for every \glspl{hp} of the beast killed.
 
   3 & Surviving a large scale battle while outnumbered. \\
 
-  5 & Donating at least 10 gp to the temple. \\
+  5 & Donating at least 10 \gls{gp} to the temple. \\
 
   5 & Killing five or more opponents single handedly in battle. \\
 
@@ -422,7 +422,7 @@ Hunting trophies can hold up to 1 MP for every \glspl{hp} of the beast killed.
 
   10 & Killing a dangerous opponent (10+ \gls{xp}) without wearing armour. \\
 
-  10 & Donating at least 100 gp to the temple. \\
+  10 & Donating at least 100 \gls{gp} to the temple. \\
 
   10 & Defeating a previously victorious opponent. \\
 
@@ -452,7 +452,7 @@ His temples are few and far between -- a couple of large cities with important p
 }
 \begin{xpchart}{\Glsentrytext{deathgod}}
 
-  1 & Donating at least 1 gp to the temple. \\
+  1 & Donating at least 1 \gls{gp} to the temple. \\
 
   1 & Cursing a dying enemy, to prevent them from achieving a proper afterlife. \\
 
@@ -474,7 +474,7 @@ His temples are few and far between -- a couple of large cities with important p
 
   3 & Protecting the graves of the honoured dead. \\
 
-  5 & Donating at least 10 gp to the temple of \gls{deathgod}. \\
+  5 & Donating at least 10 \gls{gp} to the temple of \gls{deathgod}. \\
 
   5 & Falling below 0 \gls{hp}. \\
 
@@ -598,7 +598,7 @@ If the people who are being used as mana stones are given spells then they can a
 
 \begin{xpchart}{\Glsentrytext{justicegod}}
 
-  1 & Donating at least 1 gp to the temple. \\
+  1 & Donating at least 1 \gls{gp} to the temple. \\
 
   1 & Enforcing a law. \\
 
@@ -614,7 +614,7 @@ If the people who are being used as mana stones are given spells then they can a
 
   3 & Enforcing a major law or imposing the law on a group. \\
 
-  3 & Donating at least 10 gp to the temple. \\
+  3 & Donating at least 10 \gls{gp} to the temple. \\
 
   3 & Returning from a dangerous mission with all allies unharmed. \\
 
@@ -626,7 +626,7 @@ If the people who are being used as mana stones are given spells then they can a
 
   10 & Creating a peace treaty between warring factions. \\
 
-  10 & Donating at least 100 gp to the temple. \\
+  10 & Donating at least 100 \gls{gp} to the temple. \\
 
   15 & Deposing a tyrant. \\
 
diff --git a/rules.tex b/rules.tex
index 361e307f..4a2421c7 100644
--- a/rules.tex
+++ b/rules.tex
@@ -316,19 +316,19 @@ Prices for weapons are placed next to the weapon in chapter \ref{combat}, page \
 
   \textbf{Animal} & & \textbf{Cost} \\\hline
 
-  Dog & & 2 sp \\
+  Dog & & 2 \gls{sp} \\
 
-  Donkey &   &  2 sp \\
+  Donkey &   &  2 \gls{sp} \\
 
-  Horse &   &  5 gp \\
+  Horse &   &  5 \gls{gp} \\
 
-  War Horse &   &  8 gp \\
+  War Horse &   &  8 \gls{gp} \\
 
-  Leather Barding &   &  1 gp \\
+  Leather Barding &   &  1 \gls{gp} \\
 
-  Chain Barding &   &  2 gp \\
+  Chain Barding &   &  2 \gls{gp} \\
 
-  Plate Barding &   &  15 gp \\
+  Plate Barding &   &  15 \gls{gp} \\
 
 \end{boxtable}
 
@@ -336,15 +336,15 @@ Prices for weapons are placed next to the weapon in chapter \ref{combat}, page \
 
   \textbf{Buildings} & & \textbf{Cost} \\\hline
 
-  Cottage & &  20 gp \\
+  Cottage & &  20 \gls{gp} \\
 
-  Keep & &  1,000 gp \\
+  Keep & &  1,000 \gls{gp} \\
 
-  Small Castle & &  4,000 gp \\
+  Small Castle & &  4,000 \gls{gp} \\
 
-  Medium Castle & &  10,000 gp \\
+  Medium Castle & &  10,000 \gls{gp} \\
 
-  Large Castle & &  30,000 gp \\
+  Large Castle & &  30,000 \gls{gp} \\
 
 \end{boxtable}
 
@@ -352,11 +352,11 @@ Prices for weapons are placed next to the weapon in chapter \ref{combat}, page \
 
   \textbf{Clothing} & \textbf{Weight} & \textbf{Cost} \\\hline
 
-  Peasant clothes &  -3 &  50 cp \\
+  Peasant clothes &  -3 &  50 \gls{cp} \\
 
-  Noble clothes &  -4 &  1 gp \\
+  Noble clothes &  -4 &  1 \gls{gp} \\
 
-  Lavish clothes &  -5 &  3 gp \\
+  Lavish clothes &  -5 &  3 \gls{gp} \\
 
   Travelling clothes &  -3 &  5 \\
 
@@ -367,26 +367,26 @@ Prices for weapons are placed next to the weapon in chapter \ref{combat}, page \
 
   \textbf{Professional Tools} & \textbf{Weight} & \textbf{Cost} \\\hline
 
-  Grappling hook &  -2 &  1 sp \\
+  Grappling hook &  -2 &  1 \gls{sp} \\
 
-  Ink bottle &  &  2 sp \\
+  Ink bottle &  &  2 \gls{sp} \\
 
-  Iron rations &  -2 &  10 cp \\
+  Iron rations &  -2 &  10 \gls{cp} \\
   
 
-  Lantern &  -2 &  3 sp \\
+  Lantern &  -2 &  3 \gls{sp} \\
 
-  Lock pick set &   &  10 sp \\
+  Lock pick set &   &  10 \gls{sp} \\
 
-  Metallurgy set &  6 &  40 sp \\
+  Metallurgy set &  6 &  40 \gls{sp} \\
 
-  Parchment sheet &   &  1 cp \\
+  Parchment sheet &   &  1 \gls{cp} \\
 
-  Quill &   &  4 cp \\
+  Quill &   &  4 \gls{cp} \\
 
-  Rope, 50' &  -1 &  2 sp \\
+  Rope, 50' &  -1 &  2 \gls{sp} \\
 
-  Rope, silk, 50' &  -4 &  3 sp \\
+  Rope, silk, 50' &  -4 &  3 \gls{sp} \\
 
 \end{boxtable}
 
@@ -397,7 +397,7 @@ Prices for weapons are placed next to the weapon in chapter \ref{combat}, page \
 
   Alcohol lantern & & {4 \glsentrytext{sp}} \\
 
-  Cart & &  1 gp \\
+  Cart & &  1 \gls{gp} \\
 
   Camping equipment & & {3 sp} \\
 
@@ -455,11 +455,11 @@ They can, however, drag items with up to a \gls{weightrating} of up to 10 points
 
 \begin{tcolorbox}[tabularx={XX},title=Services,bottom=10pt,left=3pt,right=3pt,code={\rowcolors{2}{}{gray!10}}]
 
-  \textbf{Apothacary} & 1sp / level of Intelligence + Medicine \\\hline
+  \textbf{Apothacary} & 1 \gls{sp} / level of Intelligence + Medicine \\\hline
 
-  Poison cure & 1sp \\
+  Poison cure & 1 \gls{sp} \\
 
-  Poison & 4sp \\\hline
+  Poison & 4 \gls{sp} \\\hline
 
   \textbf{Fence} & \\\hline
 
@@ -475,45 +475,45 @@ They can, however, drag items with up to a \gls{weightrating} of up to 10 points
 
   Standard stream & $3D6$ \gls{cp} \\\hline
 
-  \textbf{Guide} &  150 cp/ day \\\hline
+  \textbf{Guide} &  150 \gls{cp}/ day \\\hline
 
   \iftoggle{aif}{
     Inner villages & 50\gls{cp} \\
     Near the \gls{edge} & 5\gls{sp} \\
     Beyond the \gls{edge} & 15\gls{sp} \\
   }{
-    Dangerous area & 1sp \\
+    Dangerous area & 1 \gls{sp} \\
 
-    Uncharted area & 50cp \\
+    Uncharted area & 50 \gls{cp} \\
   }
   \hline
   \textbf{Hospitality} &  \\\hline
 
-  Public House & 0cp \\
+  Public House & 0 \gls{cp} \\
 
-  Meal & 5cp \\
+  Meal & 5 \gls{cp} \\
 
-  Barn with breakfast & 10cp \\
+  Barn with breakfast & 10 \gls{cp} \\
 
-  City Inn & 40cp \\
+  City Inn & 40 \gls{cp} \\
 
-  Fancy Room & 1sp \\\hline
+  Fancy Room & 1 \gls{sp} \\\hline
 
-  \textbf{Minstrel} &  15 cp/ performance \\\hline
+  \textbf{Minstrel} &  15 \gls{cp}/ performance \\\hline
 
-  Large audience & 500cp \\
+  Large audience & 500 \gls{cp} \\
 
-  Massive audience & 1sp \\
+  Massive audience & 1 \gls{sp} \\
 
-  Creating a new song & 2sp \\
+  Creating a new song & 2 \gls{sp} \\
 
-  Illegal song & 5sp \\\hline
+  Illegal song & 5 \gls{sp} \\\hline
 
-  \textbf{Sellsword} & 10sp/ day \\\hline
+  \textbf{Sellsword} & 10 \gls{sp}/ day \\\hline
 
-  Opponent & \gls{xp}$^3$ sp \\
+  Opponent & \gls{xp}$^3$ \gls{sp} \\
 
-  Illegal Murder & 10sp \\\hline
+  Illegal Murder & 10 \gls{sp} \\\hline
 
   \textbf{Tracker} &  5 sp/ day \\\hline
 
@@ -522,9 +522,9 @@ They can, however, drag items with up to a \gls{weightrating} of up to 10 points
     Near the \gls{edge} & 10\gls{sp} \\
     Beyond the \gls{edge} & 20\gls{sp} \\
   }{
-    Dangerous area & 2sp \\
+    Dangerous area & 2 \gls{sp} \\
 
-    Uncharted area & 4sp \\
+    Uncharted area & 4 \gls{sp} \\
   }\hline
 
 \end{tcolorbox}
-- 
GitLab