From ece2da30265d73dbc9ee58275671736c4b7440bb Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Thu, 25 Apr 2024 01:48:44 +0200
Subject: [PATCH] update weapons chart

---
 arms.sty         | 4 ++--
 rules/charts.tex | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arms.sty b/arms.sty
index f474cd25..7c4d6a3c 100644
--- a/arms.sty
+++ b/arms.sty
@@ -46,7 +46,7 @@
 %% It remains unterminated so you can add Costs.
 
 \newcommand\showWeapon[1]{%
-  #1 & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{armourWeight}
+  #1 \weaponName & \arabic{weaponBonus} & \arabic{weaponDamage} & \arabic{heft} & \arabic{armourWeight}
 }
 
 \newcommand\rangedWeapon[4][0]{%
@@ -94,7 +94,7 @@
 }
 
 \newcommand\showArmour[1]{%
-  #1 & \arabic{armourDR} & \arabic{covering} &  \arabic{armourWeight}
+  #1 \armourName & \arabic{armourDR} & \arabic{covering} &  \arabic{armourWeight}
 }
 
 \newcommand{\boulder}{\weapon[\addtocounter{armourWeight}{3}]{Boulder}{-3}{5}}
diff --git a/rules/charts.tex b/rules/charts.tex
index b2d4e1c7..0f8ddd3a 100644
--- a/rules/charts.tex
+++ b/rules/charts.tex
@@ -92,11 +92,11 @@
 
   \textbf{Armour} & \textbf{\Gls{dr}} & \textbf{\Gls{covering}} & \textbf{Weight} \\\hline
 
-  \partialleather & \arabic{armourDR} & \arabic{covering} & \arabic{weight} \\
+  \showArmour{\partialleather} \\
                                                                              
-  \partialchain & \arabic{armourDR} & \arabic{covering} & \arabic{weight} \\
+  \showArmour{\partialchain} \\
                                                                              
-  \completeleather & \arabic{armourDR} & \arabic{covering} & \arabic{weight} \\
+  \showArmour{\completeleather} \\
                                                                              
   \end{boxtable}
 }
-- 
GitLab