Skip to content
Snippets Groups Projects
Unverified Commit f82da5c9 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

clean up cs

parent e12b1029
No related branches found
No related tags found
No related merge requests found
......@@ -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}}
......
\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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment