Newer
Older
\begin{tcbposter}[
coverage = {
spread,
},
poster = {
showframe=false,
fonttitle=\bfseries\scshape,
coltitle=black,
colframe=\pageSideColor,
attach boxed title to top center={
yshift=-0.25mm-\tcboxedtitleheight/2,
yshifttext=-2mm-\tcboxedtitleheight/2
},
boxed title style={
frame code={
\path[draw=black, tcb fill frame] ([xshift=-4mm]frame.west)
-- (frame.north west) -- (frame.north east) -- ([xshift=4mm]frame.east)
-- (frame.south east) -- (frame.south west) -- cycle;
},
interior code={ \path[draw=black, tcb fill interior] ([xshift=-2mm]interior.west)
-- (interior.north west) -- (interior.north east) -- ([xshift=2mm]interior.east) -- (interior.south east) -- (interior.south west) -- cycle;},
},
}
% reset damage so it calculates properly
%----
\posterbox[
remember, blankest, halign=center,valign=center,
\textbf{Name:} & \iftoggle{examplecharacter}{\sffamily\name}{\lightDots} &
\textbf{Player:} & \lightDots
\\
\\
\textbf{Race:} & \iftoggle{examplecharacter}{\sffamily\race}{\lightDots} &
\textbf{Concept:} & \iftoggle{examplecharacter}{\sffamily\concept}{\lightDots}
\textbf{Rank:} & \iftoggle{examplecharacter}{\sffamily\rank}{\lightDots} &
\textbf{Debt:} & \iftoggle{examplecharacter}{\textcolor{gray}{\sffamily\characterDebt}}{\lightDots}
]{name=attributes,column=1,row=4,span=4,rowspan=5.5}{
& \tiny{-4} & \tiny{-3} & \tiny{-2} & \tiny{-1} & \tiny{0} & \tiny{1} & \tiny{2} & \tiny{3} & \tiny{4} \\[-5pt]
\showAttribute{Strength}
\showAttribute{Dexterity}
\showAttribute{Speed}
\showAttribute{Intelligence}
\showAttribute{Wits}
\iftoggle{examplecharacter}{\hspace{2em}\footnotesize{\dicef{7}} & & \tiny{2} & \tiny{3} & \tiny{4--5} & \tiny{6--8} & \tiny{9--10} & \tiny{11} & \tiny{12} & \\}{}
remember,
blankest,
interior engine=path,
valign=center,
]{name=gumption,column=6,row=15,span=2,rowspan=5}{
\begin{tikzpicture}[
circle label/.style = {
postaction={
decoration={
text along path,
text = {#1},
text align=center,
reverse path,
},
decorate,
}
}
]
% For 17mm coins the arc needs a radius of 8.5mm. To create a small gap we choose 9mm.
% The arc needs a starting position 9mm above the center of the circle.
\path[circle label={FP = XP / 10 + Charisma}] (0,-9mm) arc (-90:360-90:9mm);
\draw[dotted] (0,0) node [minimum size=17mm,draw,circle] {};
% To have proper spacing between the two circles we place the second circle 22mm below
% the first and adjust the position of the arc 9mm above at -31mm.
\path[circle label={MP = 3 x spheres}] (0,-31mm) arc (-90:360-90:9mm);
\draw[dotted] (0,-22mm) node [minimum size=17mm,draw,circle] {};
\posterbox[adjusted title={Combat Skills},
]{name=melee,column=5,row=4,span=2.5,rowspan=5.5}{
\ifnum\value{Air}>0
\skill{Air}
\else
\emptySkill
\fi
\ifnum\value{Fire}>0
\skill{Fire}
\else
\emptySkill
\fi
\ifnum\value{Earth}>0
\skill{Earth}
\else
\emptySkill
\fi
\ifnum\value{Water}>0
\skill{Water}
\else
\emptySkill
\fi
\Glsfmtlongpl{ap} & \iftoggle{examplecharacter}{ \hspace{-3em} \arabic{ap}}{} \\
Attack & \iftoggle{examplecharacter}{ \hspace{-3em} \absNum{att}}{} \\
\textcolor{gray}{\footnotesize $Dexterity + Melee + Weapon$} \\
Damage & \iftoggle{examplecharacter}{ \hspace{-3em} \dmg{damage} }{} \\
\textcolor{gray}{\footnotesize $1D6 + Strength + Weapon$} \\
\Glsfmttext{covering} & \iftoggle{examplecharacter}{ \hspace{-3em} \arabic{covering}}{} \\
\Glsfmtlong{dr} & \iftoggle{examplecharacter}{ \hspace{-3em} \arabic{armourDR}}{} \\
Sprint & \iftoggle{examplecharacter}{ \hspace{-3em} \arabic{sprint}}{} \\
\textcolor{gray}{\footnotesize $(3 + Athletics) \times \Glsfmtplural{ap}$} \\
\setcounter{encnum}{0}% Used to track horizontal position.
\iftoggle{examplecharacter}{
\ifdefempty{\equipment}{}{%
\placeCScircle{\expandafter\MakeUppercase\equipment}
\placeCScircle{\expandafter\MakeUppercase\weaponName~(\absNum{weaponBonus}/ \absNum{weaponDamage})}
\placeCScircle{\expandafter\MakeUppercase\armourName}
}
\ifdefempty{\rank}{}{%
\placeCScircle{Black tabard (+1 to hide in~shadows)}
}
}{}
\whileboolexpr{
test {\ifnumcomp{\value{diceNo}}{<}{12}}%
}{
\placeCScircle{}
adjusted title={General Skills},
{name=skills,column=1,row=10,span=2.8,rowspan=8.5}{
\begin{tabularx}{\linewidth}{Xr@{}}
\hiderowcolors
\skill{Academics}
\skill{Athletics}
\skill{Caving}
\skill{Crafts}
\skill{Deceit}
\skill{Empathy}
\skill{Medicine}
\skill{Performance}
\skill{Larceny}
\skill{Seafaring}
\skill{Stealth}
\setlength{\parskip}{0mm}%
\iftoggle{examplecharacter}{
\posterbox[
adjusted title=XP,
remember,
]
\vspace{-.85em}%
\renewcommand{\arraystretch}{1.1}%
\addtolength{\tabcolsep}{-0.55em}
\begin{tabular}{rcccccccccc}
X: \Repeat{5}{&\Diamondblack }
\Repeat{5}{&\glsentrysymbol{fp}}%
\\
\hphantom{X:\space}\Repeat{10}{&\glsentrysymbol{fp}}%
\\
V: \Repeat{0}{&\XPboxSpent}%
\Repeat{0}{&\XPboxEarned}%
\Repeat{10}{&\XPboxEmpty}%
\\
I: & \Repeat{4}{ & \Circle &}
\\