diff --git a/stats.sty b/stats.sty index 82b2d0c408600992c0e7172d5a174ab7859ef0ce..558658d8a9049880447fb7df83dc2225cc8f60a4 100644 --- a/stats.sty +++ b/stats.sty @@ -10,6 +10,23 @@ \newtoggle{perfectArmour} \settoggle{perfectArmour}{false} +\newcommand\showNumbers{ + \par + Str: \arabic{Strength}, + Dex: \arabic{Dexterity}, + Spd: \arabic{Speed}, + Att: \arabic{att}, + Damage: \arabic{damage}, + Weight: \arabic{weight}, + Encumbrance: \arabic{encumbrance}, + XP Bonus: \arabic{xpbonus}, + Attack total: \arabic{attackXPtotal}, + Def Total: \arabic{defenceXPtotal}, + MP: \arabic{mp}, + Grand Total: \arabic{xp} + \par +} + % _ _ % ___| |_ __ _| |_ % / __| __/ _` | __| @@ -56,7 +73,6 @@ \newtoggle{creatureBox} \newtoggle{examplecharacter} \settoggle{examplecharacter}{false} -\newtoggle{debug}\settoggle{debug}{false} \newcommand{\ent}[1]{\textbf{#1}} \newcommand{\test}{} \newcommand{\skills}{} @@ -749,7 +765,6 @@ \setlength\topsep{0pt}% \setlength\parskip{0pt}% \iftoggle{verbose}{\par\hrulefill}{}% - \iftoggle{debug}{str: \arabic{Strength}, dex: \arabic{Dexterity}, spd: \arabic{Speed}, att: \arabic{att}, damage: \arabic{damage}, Attack total: \arabic{attackXPtotal}, Def Total: \arabic{defenceXPtotal}}{} \begin{center} \iftoggle{verbose}{\normalsize}{\large}% @@ -825,7 +840,7 @@ \setcounter{xp}{\value{attackXPtotal}}% \addtocounter{xp}{\value{defenceXPtotal}}% - \iftoggle{debug}{str: \arabic{Strength}, dex: \arabic{Dexterity}, spd: \arabic{Speed}, att: \arabic{att}, damage: \arabic{damage}, weight: \arabic{weight}, encumbrance: \arabic{encumbrance}, XP Bonus: \arabic{xpbonus}, Attack total: \arabic{attackXPtotal}, Def Total: \arabic{defenceXPtotal}, mp: \arabic{mp} Grand Total: \arabic{xp}}{\iftoggle{verbose}{\hrulefill}}% + \iftoggle{verbose}{\hrulefill} \iftoggle{examplecharacter}% {}% diff --git a/test.tex b/test.tex index f1b8ec638c18a35f2a10a702a27cd99ebb091567..b6527ccd9fb44d6362989d97c994c7daae11fc0f 100644 --- a/test.tex +++ b/test.tex @@ -5,8 +5,6 @@ \date{\today} \makeindex[name=spells,title={Spell Summaries},columns=2] -\settoggle{debug}{true} - \begin{document} \frontmatter @@ -147,7 +145,6 @@ Featuring losing \glspl{hp} beyond the \gls{edge}, possibly during \gls{Qualmea} This section is non-verbose, so only basic stats are shown. \settoggle{verbose}{false} -\settoggle{debug}{false} \basilisk