From fd695ee727f36dd1fb5a826d34f07fd8b5cdd5fe Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Thu, 8 Aug 2024 21:27:33 +0200
Subject: [PATCH] name everyone in the market handouts

---
 markets/riverside.tex | 43 ++++++++++++++++----------------
 markets/roadside.tex  | 58 +++++++++++++++++++++----------------------
 2 files changed, 50 insertions(+), 51 deletions(-)

diff --git a/markets/riverside.tex b/markets/riverside.tex
index fc189fb5..77f93d8a 100644
--- a/markets/riverside.tex
+++ b/markets/riverside.tex
@@ -8,10 +8,7 @@ Farmers chat, then barter, and finally refer the buyer to a neighbour.
 
 \Glspl{village} have $1D6\times 10$ of each item with \glsentrytext{weight} 0, $2D6$ of each item with \glsentrytext{weight} 1, and $1D6$ of each heavier items.
 
-\glssymbol{sable}
-\textbf{At the Weavers'}
-
-\begin{boxtable}[Xcc]
+\begin{nametable}[Xcc]{The Weavers, \composeHumanName\ and \composeHumanName}
 
   \textbf{Clothing} & \textbf{Weight} & \textbf{Cost} \\\hline
 
@@ -33,7 +30,7 @@ Farmers chat, then barter, and finally refer the buyer to a neighbour.
   \fi
   \marketItem{Rope, 50'}{1}{3}
 
-\end{boxtable}
+\end{nametable}
 
 \randomize
 
@@ -78,22 +75,22 @@ Farmers chat, then barter, and finally refer the buyer to a neighbour.
 
   \textbf{Hospitality} & \textbf{Cost} \\\hline
 
-  Bed in stable & \mkPrice{0} \\
+  Bed in \composeHumanName's stable & \mkPrice{0} \\
 
-  Hearty Meal & \ifnum\value{temperature}>0\mkPrice[cp]{2}\else\mkPrice[cp]{4}\fi \\
+  Hearty meal with the \composeHumanName\ family and \arabic{r12} kids & \ifnum\value{temperature}>0\mkPrice[cp]{2}\else\mkPrice[cp]{4}\fi \\
 
 \end{boxtable}
 
 \begin{boxtable}[Xc]
 
 \textbf{Services} & \textbf{Cost} \\\hline
-Boat trip & \mkPrice[cp]{14} per mile \\
+Boat trip with \composeHumanName & \mkPrice[cp]{14} per mile \\
 
-Local guide & \mkPrice{2} \\
+\composeHumanName, local guide & \mkPrice{2} \\
 
 \end{boxtable}
 
-\begin{boxtable}[Xcc]
+\begin{nametable}[Xcc]{\composeHumanName's Assorted Goods}
 
   \textbf{Travel} & \textbf{Weight} & \textbf{Cost} \\\hline
 
@@ -107,26 +104,28 @@ Local guide & \mkPrice{2} \\
 
   Torch & 1 & \mkPrice[cp]{9} \\
 
-\end{boxtable}
+\end{nametable}
 
 \end{multicols}
 
-\begin{boxtable}[XXXXXX]
+\ifodd\value{r3}\else
+  \begin{nametable}[XXXXXX]{\composeHumanName's Weaponry}
 
-  \textbf{Name} & \textbf{Attack Bonus} & \textbf{Damage Bonus} & \textbf{\Glsfmtshort{ap} Cost} & \textbf{Weight} & \textbf{Cost} \\\hline
+    \textbf{Name} & \textbf{Attack Bonus} & \textbf{Damage Bonus} & \textbf{\Glsfmtshort{ap} Cost} & \textbf{Weight} & \textbf{Cost} \\\hline
 
-  \Dagger\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{2} \\
+    \Dagger\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{2} \\
 
-  \shortsword\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{9} \\
+    \shortsword\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{11} \\
 
-  \spear\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{7} \\
+    \spear\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{7} \\
 
-  \longsword\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{11} \\
+    \longsword\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{15} \\
 
-\end{boxtable}
+  \end{nametable}
+\fi
 
 \ifnum\value{r4b}>2
-  \begin{nametable}[XXXXc]{\glsentrysymbol{wrecan}~At the Smith's}
+  \begin{nametable}[XXXXc]{\glsentrysymbol{wrecan}~At \composeHumanName, the Smith's}
     \textbf{Armour} & \textbf{\Glsentrytext{dr}} & \textbf{\glsentrytext{covering}} & \textbf{Weight} & \textbf{Cost} \\\hline
     \ifnum\value{r3}>11
       \showArmourPrice{\completechain}{28}%
@@ -135,7 +134,7 @@ Local guide & \mkPrice{2} \\
   \end{nametable}
 \else
   \ifnum\value{r12}>9
-    \begin{nametable}[XYYYXl]{\glsentrysymbol{sylf}~At the Fletcher's}
+    \begin{nametable}[XYYYXl]{\glsentrysymbol{sylf}~At \composeHumanName, the Fletcher's}
 
       \textbf{Projectile} & Attack Bonus & \textbf{Damage} & \textbf{\Gls{ap}} & \textbf{Weight} & \textbf{Cost} \\\hline
 
@@ -165,14 +164,14 @@ Local guide & \mkPrice{2} \\
 \fi
 
 \ifnum\value{r4b}>2
-  \begin{nametable}[XXXXX]{At the Tanner's}
+  \begin{nametable}[XXXXX]{At \composeHumanName\ the Tanner's}
     \textbf{Armour} & \textbf{\Glsentrytext{dr}} & \textbf{\glsentrytext{covering}} & \textbf{Weight} & \textbf{Cost} \\\hline
     \showArmourPrice{\partialleather}{5}%
     \showArmourPrice{\completeleather}{11}%
     \showArmourPrice{\partiallisk}{31}%
   \end{nametable}
 
-  \begin{nametable}[XXX]
+  \begin{nametable}[XXX]{Retired \Glsentrytext{ranger} \composeHumanName's Tents}
     \rareMarketItem{Hardened half-yurt (dr 4)}{3}{12}
     \rareMarketItem{Tent for 4}{4}{8}
     \rareMarketItem{Tent for 3}{3}{6}
diff --git a/markets/roadside.tex b/markets/roadside.tex
index f318a360..8eddbe0a 100644
--- a/markets/roadside.tex
+++ b/markets/roadside.tex
@@ -8,10 +8,7 @@ Farmers chat, then barter, and finally refer the buyer to a neighbour.
 
 \Glspl{village} have $1D6\times 10$ of each item with \glsentrytext{weight} 0, $2D6$ of each item with \glsentrytext{weight} 1, and $1D6$ of each heavier items.
 
-\glssymbol{sable}
-\textbf{At the Weavers'}
-
-\begin{boxtable}[Xcc]
+\begin{nametable}[Xcc]{\glsentrysymbol{sable}~At the Weavers, with \composeHumanName\ from the \glsentrytext{templeOfFrost}}
 
   \textbf{Clothing} & \textbf{Weight} & \textbf{Cost} \\\hline
 
@@ -33,7 +30,7 @@ Farmers chat, then barter, and finally refer the buyer to a neighbour.
   \fi
   \marketItem{Rope, 50'}{1}{3}
 
-\end{boxtable}
+\end{nametable}
 
 \randomize
 
@@ -72,44 +69,47 @@ Farmers chat, then barter, and finally refer the buyer to a neighbour.
   \end{boxtable}
 \fi
 
-\begin{boxtable}[Xc]
-
-  \textbf{Hospitality} & \textbf{Cost} \\\hline
-
-  Bed in stable & \mkPrice{0} \\
-
-  Hearty Meal & \ifnum\value{temperature}>0\mkPrice[cp]{2}\else\mkPrice[cp]{4}\fi  \\
-
-\end{boxtable}
-
 \begin{boxtable}[Xc]
 
 \textbf{Services} & \textbf{Cost} \\\hline
-Archer & \mkPrice{1} per mile \\
+\composeHumanName, the archer & \mkPrice{1} per mile \\
 
-Local guide & \mkPrice[cp]{50} per mile \\
+\composeHumanName, local guide & \mkPrice[cp]{50} per mile \\
 
 \end{boxtable}
 
-\begin{boxtable}[Xcc]
+\begin{nametable}[Xcc]{\composeHumanName's Wood Salvage Goods}
 
   \textbf{Travel} & \textbf{Weight} & \textbf{Cost} \\\hline
 
   Cart & 13 &  \mkPrice{13} \\
 
-  Rations for a day &  1 & \mkPrice[cp]{15} \\
-
   Rushlights & 0 & \mkPrice[cp]{1} \\
 
   Tinder box & 0 & \mkPrice[cp]{3} \\
 
   Torch & 1 & \mkPrice[cp]{9} \\
 
+\end{nametable}
+
+\begin{boxtable}[Xc]
+
+  \textbf{Hospitality} & \textbf{Cost} \\\hline
+
+  Bed in \composeHumanName's stable & \mkPrice{0} \\
+
+  Hearty meal with the \composeHumanName\ family and \arabic{r12} kids & \ifnum\value{temperature}>0\mkPrice[cp]{2}\else\mkPrice[cp]{4}\fi \\
+
+  \rations & \mkPrice[cp]{15} \\
+
+  \rations & \mkPrice[cp]{15} \\
+
 \end{boxtable}
 
 \end{multicols}
 
-\begin{boxtable}[XXXXXX]
+\ifodd\value{r3}
+  \begin{nametable}[XXXXXX]{\composeHumanName's Weaponry}
 
   \textbf{Name} & \textbf{Attack Bonus} & \textbf{Damage Bonus} & \textbf{\Glsfmtshort{ap} Cost} & \textbf{Weight} & \textbf{Cost} \\\hline
 
@@ -121,10 +121,11 @@ Local guide & \mkPrice[cp]{50} per mile \\
 
   \longsword\weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} & \mkPrice{11} \\
 
-\end{boxtable}
+  \end{nametable}
+\fi
 
 \ifnum\value{r4b}>2
-  \begin{nametable}[XXXXc]{\glsentrysymbol{wrecan}~At the Smith's}
+  \begin{nametable}[XXXXc]{\glsentrysymbol{wrecan}~At \composeHumanName\ the Smith's}
     \textbf{Armour} & \textbf{\Glsentrytext{dr}} & \textbf{\glsentrytext{covering}} & \textbf{Weight} & \textbf{Cost} \\\hline
     \ifnum\value{r3}>11
       \showArmourPrice{\completechain}{28}%
@@ -134,8 +135,7 @@ Local guide & \mkPrice[cp]{50} per mile \\
 \else
   \ifnum\value{r12}>9
     \glssymbol{sylf}
-    \textbf{At the Fletcher's}
-    \begin{boxtable}[XYYYXl]
+    \begin{nametable}[XYYYXl]{\glsentrysymbol{sylf}~At \composeHumanName, the Fletcher's}
 
       \textbf{Projectile} & Attack Bonus & \textbf{Damage} & \textbf{\Gls{ap}} & \textbf{Weight} & \textbf{Cost} \\\hline
 
@@ -145,7 +145,7 @@ Local guide & \mkPrice[cp]{50} per mile \\
 
       Longbow &  +2  & +2 & 2~\glspl{ap} & 1  & \mkPrice{12}  \\
 
-    \end{boxtable}
+    \end{nametable}
   \else
       \begin{boxtable}[XYYYXl]
 
@@ -165,19 +165,19 @@ Local guide & \mkPrice[cp]{50} per mile \\
 \fi
 
 \ifnum\value{r4b}>2
-  \begin{nametable}[XXXXX]{At the Tanner's}
+  \begin{nametable}[XXXXX]{At \composeHumanName\ the Tanner's}
     \textbf{Armour} & \textbf{\Glsentrytext{dr}} & \textbf{\glsentrytext{covering}} & \textbf{Weight} & \textbf{Cost} \\\hline
     \showArmourPrice{\partialleather}{5}%
     \showArmourPrice{\completeleather}{11}%
     \showArmourPrice{\partiallisk}{31}%
   \end{nametable}
 
-  \begin{boxtable}[XXX]
+  \begin{nametable}[XXX]{Retired \Glsentrytext{ranger} \composeHumanName's Tents}
     \rareMarketItem{Hardened half-yurt (dr 4)}{3}{12}
     \rareMarketItem{Tent for 4}{4}{8}
     \rareMarketItem{Tent for 3}{3}{6}
     \rareMarketItem{Tent for 2}{2}{4}
     \marketItem{Tent for 1}{1}{3}
-  \end{boxtable}
+  \end{nametable}
 \fi
 
-- 
GitLab