From 7da1c7fc471063627f53f0c3f46377681690d5e6 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Fri, 10 May 2024 01:19:53 +0200 Subject: [PATCH] replace reset_cs.tex with command --- csCommands.sty | 18 ++++++++++++++++++ reset_cs.tex | 48 ------------------------------------------------ resources.tex | 4 ++-- 3 files changed, 20 insertions(+), 50 deletions(-) delete mode 100644 reset_cs.tex diff --git a/csCommands.sty b/csCommands.sty index 1fc532bf..0b4ab2e1 100644 --- a/csCommands.sty +++ b/csCommands.sty @@ -165,3 +165,21 @@ \setXtoLowestOf{Life}{Earth}{Water} } + +\newcommand\resetCS{ + \clean + \renewcommand\knackOne{} + \renewcommand\knackTwo{} + + \renewcommand\race{} + \renewcommand\concept{} + \renewcommand\culture{} + \renewcommand\rank{} + \renewcommand\name{} + \renewcommand\code{} + + \renewcommand\characterWeapon{} + \renewcommand\characterArmour{} + \renewcommand\characterEquipment{} + \renewcommand\charSpellList{} +} diff --git a/reset_cs.tex b/reset_cs.tex deleted file mode 100644 index 41ad6bd7..00000000 --- a/reset_cs.tex +++ /dev/null @@ -1,48 +0,0 @@ -\setcounter{Strength}{0} -\setcounter{Dexterity}{0} -\setcounter{Speed}{0} -\setcounter{Intelligence}{0} -\setcounter{Wits}{0} -\setcounter{Charisma}{0} - -\setcounter{Academics}{0} -\setcounter{Athletics}{0} -\setcounter{Caving}{0} -\setcounter{Crafts}{0} -\setcounter{Deceit}{0} -\setcounter{Empathy}{0} -\setcounter{Medicine}{0} -\setcounter{Performance}{0} -\setcounter{Larceny}{0} -\setcounter{Seafaring}{0} -\setcounter{Stealth}{0} -\setcounter{Tactics}{0} -\setcounter{Vigilance}{0} -\setcounter{Wyldcrafting}{0} - -\setcounter{Brawl}{0} -\setcounter{Combat}{0} -\setcounter{Projectiles}{0} - -\setcounter{Air}{0} -\setcounter{Earth}{0} -\setcounter{Fate}{0} -\setcounter{Fire}{0} -\setcounter{Water}{0} - -\setcounter{fp}{5} -\renewcommand\knackOne{} -\renewcommand\knackTwo{} - -\renewcommand\race{} -\renewcommand\concept{} -\renewcommand\culture{} -\renewcommand\rank{} -\renewcommand\name{} -\renewcommand\code{} - -\renewcommand\characterWeapon{} -\renewcommand\characterArmour{} -\renewcommand\characterEquipment{} -\renewcommand\charSpellList{} - diff --git a/resources.tex b/resources.tex index f4e61d63..b0f73d61 100644 --- a/resources.tex +++ b/resources.tex @@ -14,9 +14,9 @@ \frontmatter \pagestyle{empty} - \setcounter{pageDarkness}{50} -\input{reset_cs.tex} +\resetCS + \input{CS.tex} \input{backpage.tex} \input{GS.tex} -- GitLab