Skip to content
Snippets Groups Projects
Verified Commit 88ae70da authored by Malin Freeborn's avatar Malin Freeborn
Browse files

complete refactor of example character sheets

Example characters now use the same structure as any statblock - the
\trait command.  The example characters can be arranged like the
contents of \humansoldier, with a few extra fields at the start for
Concept and Code.
parent c0062bbc
Branches
No related tags found
No related merge requests found
...@@ -34,9 +34,6 @@ ...@@ -34,9 +34,6 @@
\thispagestyle{empty} \thispagestyle{empty}
% reset damage so it calculates properly % reset damage so it calculates properly
\setcounter{damage}{0}
\setcounter{weaponBonus}{0}
\setcounter{knacks}{0}
%---- %----
\posterbox[ \posterbox[
...@@ -175,7 +172,7 @@ circle label/.style = { ...@@ -175,7 +172,7 @@ circle label/.style = {
\iftoggle{examplecharacter}{ \iftoggle{examplecharacter}{
\hline \hline
\ifdefempty{\characterWeapon}{ \ifdefempty{\weaponName}{
\\ \\
\\ \\
}{ }{
...@@ -197,7 +194,7 @@ circle label/.style = { ...@@ -197,7 +194,7 @@ circle label/.style = {
\hiderowcolors \hiderowcolors
\textbf{Armour} & \textbf{\Glsentrytext{dr}} & \textbf{Covering} & \textbf{Weight} \\ \textbf{Armour} & \textbf{\Glsentrytext{dr}} & \textbf{Covering} & \textbf{Weight} \\
\iftoggle{examplecharacter}{ \iftoggle{examplecharacter}{
\ifdefempty{\characterArmour}{}{ \ifdefempty{\armourName}{}{
\sffamily\characterArmour\armourName & \sffamily\arabic{armourDR} & \sffamily\arabic{covering} & \sffamily\arabic{armourWeight} \\ \sffamily\characterArmour\armourName & \sffamily\arabic{armourDR} & \sffamily\arabic{covering} & \sffamily\arabic{armourWeight} \\
} }
}{ }{
...@@ -229,24 +226,18 @@ circle label/.style = { ...@@ -229,24 +226,18 @@ circle label/.style = {
& &
\iftoggle{examplecharacter}% \iftoggle{examplecharacter}%
{% {%
\addtocounter{Speed}{3}% \sffamily\arabic{ap}%
\sffamily\arabic{Speed}%
}% }%
{\underline{\hspace{2em}}} {\underline{\hspace{2em}}}
& &
\iftoggle{examplecharacter}{\sffamily}{}2D6% \iftoggle{examplecharacter}{\sffamily}{}2D6%
\iftoggle{examplecharacter}% Bonus \iftoggle{examplecharacter}% Bonus
{% {%
\addtocounter{Melee}{\value{Dexterity}}% \sffamily\absNum{att}%
\addtocounter{Melee}{\value{weaponBonus}}%
\sffamily\absNum{Melee}%
}% }%
{\underline{\hspace{2em}}} & {\underline{\hspace{2em}}} &
\iftoggle{examplecharacter}% Damage \iftoggle{examplecharacter}% Damage
{% {%
\addtocounter{damage}{\value{Strength}}%
\addtocounter{damage}{\value{weaponDamage}}%
\addtocounter{damage}{4}%
\sffamily\dmg{damage}% \sffamily\dmg{damage}%
}% }%
{ {
...@@ -316,7 +307,7 @@ circle label/.style = { ...@@ -316,7 +307,7 @@ circle label/.style = {
}{% }{%
\hint{\glsentrytext{tn} to remove: \weeline} \hint{\glsentrytext{tn} to remove: \weeline}
\par \par
\iftoggle{examplecharacter}{\sffamily\characterEquipment\vspace{12em}}{% \iftoggle{examplecharacter}{\sffamily\equipment\vspace{12em}}{%
\vspace{1em}% \vspace{1em}%
\Repeat{5}{% \Repeat{5}{%
{\noindent\Repeat{5}{\Square} \lineDots}% {\noindent\Repeat{5}{\Square} \lineDots}%
...@@ -357,9 +348,7 @@ circle label/.style = { ...@@ -357,9 +348,7 @@ circle label/.style = {
rowspan=3}{% rowspan=3}{%
\setlength{\parskip}{0mm}% \setlength{\parskip}{0mm}%
\iftoggle{examplecharacter}{ \iftoggle{examplecharacter}{
\sffamily\knackOne \sffamily\Knacks
\sffamily\knackTwo
}{% }{%
\vspace{2em}% \vspace{2em}%
\lineDots[4] \lineDots[4]
......
...@@ -24,7 +24,17 @@ ...@@ -24,7 +24,17 @@
\iftoggle{examplecharacter}{ \iftoggle{examplecharacter}{
\charSpellList \ifdefempty{\charSpells}{}{
\subsubsection*{Spells}
Roll \iftoggle{snapCaster}{Wits}{Charisma} + \textit{Skill} to cast.
Spells cost a number of \glsfmtlongpl{mp} equal to their level `Requirements', and a number of \glsfmtlongpl{ap} equal to their Cost\iftoggle{snapCaster}{}{ +1}.
\begin{multicols}{2}
\charSpells
\end{multicols}
}
}{ }{
\vspace{1em} \vspace{1em}
\lineDots[26] \lineDots[26]
......
...@@ -90,6 +90,7 @@ ...@@ -90,6 +90,7 @@
\newcommand\knackTwo{} \newcommand\knackTwo{}
\newcommand\charSpellList{} \newcommand\charSpellList{}
\newcommand\charSpells{}
%%%%% Show Dots Commands %%%%% %%%%% Show Dots Commands %%%%%
...@@ -196,3 +197,25 @@ ...@@ -196,3 +197,25 @@
\input{config/CS.tex} \input{config/CS.tex}
\input{config/backpage.tex} \input{config/backpage.tex}
} }
\newenvironment{filledCS}[9]{
\resetCS
\settoggle{examplecharacter}{true}
\settoggle{allyCharacter}{true}
\renewcommand\name{#1}
\renewcommand\race{#2}
\renewcommand\concept{#3}
\renewcommand\code{#4}
\traits{}%
{#5}%
{#6}%
{%
#7
}%
{#8}% SKILLS
{#9}% KNACKS
{}% ABILITIES
}{
\input{config/CS.tex}
\input{config/backpage.tex}
}
...@@ -831,7 +831,17 @@ bookmarks=true]% ...@@ -831,7 +831,17 @@ bookmarks=true]%
\newcounter{track} \newcounter{track}
\setcounter{track}{18} \setcounter{track}{18}
\newcommand{\tracker}{\center\noindent\iftoggle{examplecharacter}{\iftoggle{genExamples}{}{\ifnum\value{track}=\value{Speed}$\Rightarrow$ \fi}}{}\arabic{track}\addtocounter{track}{-1}\vspace{.54cm} \newcommand{\tracker}{%
\center\noindent%
\iftoggle{examplecharacter}{%
\iftoggle{genExamples}{}{%
\ifnum\value{track}=\value{ap}%
$\Rightarrow$ %
\fi%
}}{}%
\arabic{track}%
\addtocounter{track}{-1}%
\vspace{.54cm}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment