Newer
Older
\newcommand\traits[7]{%
\clean%
\npc#1%
\body#2%
\mind#3%
#4%
}%
\renewcommand\showKnacks{#5}%
{\ifnum\value{\s}>0 \addtocounter{mp}{3}\fi}%
\renewcommand\equipment{#6}%
\computeStats%
#7%
\computeEncumbrance%
\newcommand\showChar[1]{
\textbf{\name}
\foreach\Att in {Strength,Dexterity,Speed}%
{\Att: \arabic{\Att}\quad}
\hrulefill
\foreach\Att in {Intelligence,Wits,Charisma}%
{\Att: \arabic{\Att}\quad}
\foreach \s in {Air,Earth,Fate,Fire,Water}%
{\ifnum\value{\s}>0 \s~\arabic{\s}, \fi}
\fi
\ifnum\value{knacks}>0
\textbf{Knacks}: \showKnacks
\fi
\ifnum\value{weight}>0
\noindent\textbf{Equipment}:
\ifdefempty{\weaponName}{}{%
\weaponName,
}%
\ifdefempty{\armourName}{}{%
\armourName,
}%
\equipment %
\fi
\hfill \Repeat{\value{encumbrance}}{~\glsentrytext{encumbrance}}
{\scshape
\glsentrytext{ap} \arabic{ap},
\iftoggle{allyCharacter}{$2D6$\ifnum\value{att}>-1 +\fi}{}%
Att \arabic{att},
, \glsentrytext{dr} \arabic{dr} (\arabic{covering}), %
\iftoggle{examplecharacter}{%
\arabic{hp}~\glsentrytext{hp}
\ifnum\value{mp}>0%
, \glsentrytext{mp} \arabic{mp}, %
\fi%
\ifnum\value{fp}>0%
, \glsentrytext{fp} \arabic{fp}, %
\fi%
\par%
\showBoxes%
\ifnum\value{noAppearing}=1%
\par\glsentrytext{fp}\ifnum\value{fp}>2~\boxStat{fp}\fi%
\newcommand\statblock[1]{
\begin{tcolorbox}[
code={\setlength\parindent{0pt}#1},
title={\npcsymbol\ \name},
ornamented,
fontupper=\small,
halign=flush left,
left=5pt,
right=5pt,
top=0pt,
bottom=10pt,
]
\creaturestats
\begin{tabularx}{\linewidth}{lX}
\ent{Skills} & \showSkills \\
\foreach \s in {Air,Earth,Fate,Fire,Water}%
{\ifnum\value{\s}>0 \s~\arabic{\s}, \fi}
\ent{Knacks} & \showKnacks \\
\ent{Abilities} & \Abilities \\
\ifdefempty{\equipment}{}{%
\ent{Equipment} &
\ifdefempty{\weaponName}{}{%
\weaponName, %
}%
\ifdefempty{\armourName}{}{%
\armourName, %
}%
\equipment.
\tcblower%%%%%%%%%%%%%%%%%%%%
\derivedstats%
\end{tcolorbox}
}
\statblock{
\traits{{\F\Hu}{Drake}}%
{{1}{2}{3}}%
{{3}{0}{2}}%
{%
\setcounter{Academics}{1}%
\setcounter{Deceit}{1}%
\setcounter{Wyldcrafting}{1}%
\setcounter{Fire}{1}%
\setcounter{Air}{3}%
\longsword%
}% SKILLS
{\adrenalinesurge, \mightydraw}% KNACKS
{butter}% EQUIPMENT
{}% ABILITIES
}
\statblock{
\traits{#1}%
{#2}%
{{-6}{#3}{-6}}%
{
#4
}
{#5}
{}% EQUIPMENT
{#6}% ABILITIES
}
\Animal{{\T[3]\A}{Moggie}}%
{{2}{1}{3}}% BODY
{2}% WITS
{
\setcounter{Stealth}{3}
}%
{}%
{\quadraped\mutation{r4}}% ABILITIES
{{1}{2}{3}}%
{{3}{0}{2}}%
{
\setcounter{Wyldcrafting}{1}
\setcounter{Fire}{1}
\setcounter{Air}{3}
}% SKILLS
{\adrenalinesurge, \mightydraw}% KNACKS
{butter}% EQUIPMENT
{{1}{2}{3}}%
{{-3}{-2}{-1}}%
{
\setcounter{Academics}{1}
\longsword
\partialleather
}
{\adrenalinesurge, \mightydraw}
{\rations}% EQUIPMENT
{{3}{2}{-1}}%
{{-3}{-2}{-1}}%
{
\setcounter{Xenomology}{1}
\spear
\completeplate
}% SKILLS
{\adrenalinesurge, \mightydraw}
{stick}% EQUIPMENT
\togglefalse{examplecharacter}
\traits{{\T[7]\N}{\arabic{noAppearing} Goblins}}%
{{-2}{1}{2}}%
{{-3}{2}{-4}}%
{
\setcounter{Xenomology}{1}
\setcounter{Projectiles}{2}
\javelin
}% SKILLS
{}
{\lootGoblin}% EQUIPMENT
{
\tentacles
\web