From f82da5c93fd00fbb28e6d4d97b3bfeceb4136634 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sun, 13 Aug 2023 05:34:19 +0200
Subject: [PATCH] clean up cs

---
 layout.sty   | 36 ++++++++----------------------------
 reset_cs.tex | 12 ++++++------
 2 files changed, 14 insertions(+), 34 deletions(-)

diff --git a/layout.sty b/layout.sty
index 18f334f4..3086a556 100644
--- a/layout.sty
+++ b/layout.sty
@@ -1014,10 +1014,14 @@ Roll & Result \\
         \statDot%
       \fi%
     \else%
-      \ifnum\value{track}>\value{#2}%
-        {\Large\XBox}%
+      \ifnum\value{track}=0%
+        \raisebox{2pt}{\statDot[\footnotesize]}%
       \else%
-        {\Large\Square}%
+        \ifnum\value{track}>\value{#2}%
+          {\Large\XBox}%
+        \else%
+          {\Large\Square}%
+        \fi%
       \fi%
     \fi%
     \stepcounter{track}%
@@ -1025,31 +1029,7 @@ Roll & Result \\
   \\%
 }
 
-\newcommand\attributeDisplay[2]{
-  \setcounter{enc}{-5}
-  \setcounter{statDots}{\value{#2}}
-  \large #1 &
-  \raisebox{2pt}{--}
-  \Repeat{9}{&
-  \large\ifnum\value{enc}<\value{statDots}\renewcommand\currentCircle{\statDot}\else\renewcommand\currentCircle{\statCircle}\fi% This decides to use either a statDot (showing a stat value) or an empty statCircle (showing a potential dot)
-  \ifnum\value{enc}=-1\currentCircle\else\raisebox{2pt}{\currentCircle}\fi% Most circles need a raisebox to appear nicely on a line. The dot representing '0' is large, and doesn't need raised.
-  \stepcounter{enc}
-  }%
-  &\raisebox{2pt}{+}
-  \\
-}
-\newcommand{\attributecircles}[1][-5]{\raisebox{0pt}{--}%
-\setcounter{statDots}{#1}
-\setcounter{statCircles}{0}%
-\addtocounter{statCircles}{-#1}%
-\ifnum#1>-1%
-\Repeat{4}{\statDot}%
-\else%
-\Repeat{\value{statDots}}{\statDot}%
-\Repeat{\value{statCircles}}{\statCircle}%
-\fi%
-\raisebox{-2pt}{\Large\ifnum#1>-1\statDot\else\statCircle\fi}%
-\Repeat{4}{\statCircle}\raisebox{0pt}{ +}}
+
 \newcommand{\skill}[1]{
   \setcounter{statCircles}{3}
   \addtocounter{statCircles}{-\value{#1}}
diff --git a/reset_cs.tex b/reset_cs.tex
index a0a5e894..cd7f4efa 100644
--- a/reset_cs.tex
+++ b/reset_cs.tex
@@ -1,9 +1,9 @@
-\setcounter{str}{-5}
-\setcounter{dex}{-5}
-\setcounter{spd}{-5}
-\setcounter{int}{-5}
-\setcounter{wts}{-5}
-\setcounter{cha}{-5}
+\setcounter{str}{0}
+\setcounter{dex}{0}
+\setcounter{spd}{0}
+\setcounter{int}{0}
+\setcounter{wts}{0}
+\setcounter{cha}{0}
 
 \setcounter{Academics}{0}
 \setcounter{Athletics}{0}
-- 
GitLab