This commit is contained in:
2023-01-21 20:02:00 +01:00
parent 5fbb633e33
commit dfabfb91c1
20 changed files with 550 additions and 187 deletions

View File

@@ -161,7 +161,10 @@
\tabular{p{3cm}}
\rule{0pt}{10pt}\\
\ifdim\nodeheight > 15pt
\rule{0pt}{10pt} \\
\rule{0pt}{8pt} \\
\fi
\ifdim\nodeheight > 30pt
\rule{0pt}{8pt} \\
\fi
\scriptsize #2 \\
\endtabular
@@ -176,12 +179,15 @@
\ifdim\nodeheight > 15pt
\\ \phantom{t}
\fi
\ifdim\nodeheight > 30pt
\\ \phantom{t}
\fi
};
\node[cost] {\tiny\texttn{COST \fpeval{5*\arabic{talenty}}}};
\node[text=white,text width = 2.6cm] at ($(\arabic{talentx}*4.5,-\arabic{talenty}*4.9) + (0.5,-0.15)$) (t\alph{talentx}\alph{talenty}) {\footnotesize \texttn{\uppercase{#1}}};
}
\newenvironment{talenttree}[4]{%
\newenvironment{talenttree}[5]{%
\setcounter{talentx}{0}
\setcounter{talenty}{1}
\center
@@ -200,13 +206,19 @@
\node[talentname] at (0,-0.8) {\footnotesize{}\texttn{ACTIVE}};
\end{tikzpicture}
}\\
\ifthenelse{\equal{\careerskills}{}}{}{
\ifthenelse{\equal{\careerskills}{}}{\phantom{t}\\}{
\texttn{\footnotesize{}Career Skills:} \textltn{\footnotesize{}\careerskills}\\
}
\texttn{\footnotesize{}Additional Carreer Skills:} \textltn{\footnotesize{}#2}\\
\ifthenelse{\equal{#4}{}}{}{%
\texttn{\footnotesize{}Gain Force Rating 1}
} \\ \\
\ifthenelse{\equal{#2}{}}{\phantom{t}\\}{
\texttn{\footnotesize{}Additional Carreer Skills:} \textltn{\footnotesize{}#2}\\
}
\ifthenelse{\equal{#4}{}}{
\ifthenelse{\equal{#5}{}}{\phantom{t}\\}{%
\texttn{\footnotesize{}Prerequisite: Force Rating #5} \\
}
}{%
\texttn{\footnotesize{}Gain Force Rating #4} \\
}
\endtabular
\vspace*{20pt}
\tikzpicture