From 4b566bcbd2e15c7e14bbe3a62eb83d7f902c6e89 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Fri, 13 Sep 2024 19:47:38 +0200 Subject: [PATCH] add hp and weight symbols --- glossary.tex | 2 ++ stats.sty | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/glossary.tex b/glossary.tex index e30317d7..e0973989 100644 --- a/glossary.tex +++ b/glossary.tex @@ -602,6 +602,7 @@ Set the darker die to `\dicef{6}' and roll the other. If this roll fails, it fa shortplural={HP}, prefix={an\space}, prefixfirst={a\space}, + symbol={\fullmoon}, parent={combat}, name={Health Points (HP)}, ]{hp}{HP}{Health Point} @@ -828,6 +829,7 @@ Set the darker die to `\dicef{6}' and roll the other. If this roll fails, it fa text={Weight}, first={Weight Rating}, prefix={a\space}, + symbol={\astrosun}, sort={A}, type={mech}, nonumberlist, diff --git a/stats.sty b/stats.sty index 279c1279..e9347168 100644 --- a/stats.sty +++ b/stats.sty @@ -221,9 +221,9 @@ } \newcommand\hpStat{% - \Repeat{\value{weight}}{\LEFTcircle}% - \Repeat{\value{freeHP}}{\Circle}% - \Repeat{\value{wounds}}{\CIRCLE}% + \Repeat{\value{weight}}{\glsentrysymbol{weight}}% + \Repeat{\value{freeHP}}{\glsentrysymbol{hp}}% + \Repeat{\value{wounds}}{\makebox[0pt]{\hspace{.7em}\checked}\glsentrysymbol{hp}}% } \newcommand\mpStat{% -- GitLab