✨
This commit is contained in:
@@ -25,6 +25,8 @@
|
|||||||
|
|
||||||
\setlength{\parindent}{0pt}
|
\setlength{\parindent}{0pt}
|
||||||
|
|
||||||
|
\def\specialization{}
|
||||||
|
|
||||||
\makeatletter
|
\makeatletter
|
||||||
\NewDocumentCommand {\getnodedimen} {O{\nodewidth} O{\nodeheight} m} {
|
\NewDocumentCommand {\getnodedimen} {O{\nodewidth} O{\nodeheight} m} {
|
||||||
\begin{pgfinterruptboundingbox}
|
\begin{pgfinterruptboundingbox}
|
||||||
@@ -42,6 +44,22 @@
|
|||||||
\newcommand{\appendother}[1]{\g@addto@macro{\@var}{#1}}
|
\newcommand{\appendother}[1]{\g@addto@macro{\@var}{#1}}
|
||||||
|
|
||||||
\newcommand{\undeffed}{\@var}
|
\newcommand{\undeffed}{\@var}
|
||||||
|
|
||||||
|
|
||||||
|
\newcommand{\drawforce}{%
|
||||||
|
\@ifundefined{force@\specialization}{}{%
|
||||||
|
\definecolor{talentcolor}{HTML}{000000}
|
||||||
|
\node[forcepower] at (0.2,-2.48) {};
|
||||||
|
\node[talentname] at (0,-2.1) {\footnotesize{}\texttn{FORCE TALENT}};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
\newcommand{\setforce}{%
|
||||||
|
\protected@write\@auxout{}{%
|
||||||
|
\global\string\@namedef{force@\specialization}{}%
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
|
||||||
\makeatother
|
\makeatother
|
||||||
|
|
||||||
\newlength{\textlength}
|
\newlength{\textlength}
|
||||||
@@ -65,22 +83,14 @@
|
|||||||
thick,
|
thick,
|
||||||
double,
|
double,
|
||||||
inner xsep=-2pt,
|
inner xsep=-2pt,
|
||||||
inner ysep=1pt
|
inner ysep=0pt
|
||||||
},
|
},
|
||||||
talentname/.style={
|
talentname/.style={
|
||||||
chamfered rectangle,
|
chamfered rectangle,
|
||||||
chamfered rectangle corners={north east, south east},
|
chamfered rectangle corners={north east, south east},
|
||||||
inner ysep=0pt,
|
inner ysep=0cm,
|
||||||
text width = 2.85cm,
|
inner xsep=0.11cm,
|
||||||
align=left,
|
text width = 2.81cm,
|
||||||
text=white,
|
|
||||||
fill=talentcolor
|
|
||||||
},
|
|
||||||
talentnamedouble/.style={
|
|
||||||
chamfered rectangle,
|
|
||||||
chamfered rectangle corners={north east, south east},
|
|
||||||
inner ysep=0pt,
|
|
||||||
text width = 2.85cm,
|
|
||||||
align=left,
|
align=left,
|
||||||
text=white,
|
text=white,
|
||||||
fill=talentcolor
|
fill=talentcolor
|
||||||
@@ -99,7 +109,7 @@
|
|||||||
forcepower/.style={
|
forcepower/.style={
|
||||||
starburst,
|
starburst,
|
||||||
starburst points=7,
|
starburst points=7,
|
||||||
random starburst=150,
|
random starburst=6,
|
||||||
starburst point height=10pt,
|
starburst point height=10pt,
|
||||||
fill=talentcolor,
|
fill=talentcolor,
|
||||||
draw=white,
|
draw=white,
|
||||||
@@ -107,6 +117,16 @@
|
|||||||
minimum width=30pt,
|
minimum width=30pt,
|
||||||
minimum height=30pt,
|
minimum height=30pt,
|
||||||
rotate=155
|
rotate=155
|
||||||
|
},
|
||||||
|
ranked/.style={
|
||||||
|
talentname,
|
||||||
|
fill=white,
|
||||||
|
draw = talentcolor,
|
||||||
|
thick,
|
||||||
|
inner ysep=0.05cm,
|
||||||
|
minimum width = 3.36cm,
|
||||||
|
inner xsep = 0.05cm,
|
||||||
|
chamfered rectangle xsep = 0.15cm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -129,7 +149,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\swtalent}[4]{%
|
\newcommand{\swtalent}[5]{%
|
||||||
\addtocounter{talentx}{1}%
|
\addtocounter{talentx}{1}%
|
||||||
\ifthenelse{\equal{\arabic{talentx}}{5}}{%
|
\ifthenelse{\equal{\arabic{talentx}}{5}}{%
|
||||||
\addtocounter{talenty}{1}%
|
\addtocounter{talenty}{1}%
|
||||||
@@ -151,7 +171,7 @@
|
|||||||
{
|
{
|
||||||
\settowidth{\textlength}{\footnotesize \texttn{{\uppercase{#1}}}}%
|
\settowidth{\textlength}{\footnotesize \texttn{{\uppercase{#1}}}}%
|
||||||
\tabular{p{3cm}}
|
\tabular{p{3cm}}
|
||||||
\rule{0pt}{10pt}\\
|
\rule{0pt}{12pt}\\
|
||||||
\ifdim\nodeheight > 15pt
|
\ifdim\nodeheight > 15pt
|
||||||
\rule{0pt}{8pt} \\
|
\rule{0pt}{8pt} \\
|
||||||
\fi
|
\fi
|
||||||
@@ -161,11 +181,26 @@
|
|||||||
\scriptsize #2 \\
|
\scriptsize #2 \\
|
||||||
\endtabular
|
\endtabular
|
||||||
};
|
};
|
||||||
\ifthenelse{\equal{#4}{true}}{%
|
|
||||||
\node[forcepower] at ($(\arabic{talentx}*4.5,-\arabic{talenty}*4.9) + (0.3,-0.6)$) {};
|
\ifthenelse{\equal{#5}{true}}{%
|
||||||
|
\node[ranked] at ($(\arabic{talentx}*4.5,-\arabic{talenty}*4.9) + (0.08,-0.08)$) {%
|
||||||
|
\small \hspace*{-6pt} \checkbox %
|
||||||
|
\settowidth{\textlength}{\footnotesize \texttn{{\uppercase{#1}}}}%
|
||||||
|
\ifdim\nodeheight > 15pt
|
||||||
|
\\ \phantom{t}
|
||||||
|
\fi
|
||||||
|
\ifdim\nodeheight > 30pt
|
||||||
|
\\ \phantom{t}
|
||||||
|
\fi
|
||||||
|
};
|
||||||
}{}
|
}{}
|
||||||
|
|
||||||
\node[talentname] at ($(\arabic{talentx}*4.5,-\arabic{talenty}*4.9) + (0.1,-0.1)$) {%
|
\ifthenelse{\equal{#4}{true}}{%
|
||||||
|
\setforce{}
|
||||||
|
\node[forcepower] at ($(\arabic{talentx}*4.5,-\arabic{talenty}*4.9) + (0.3,-0.5)$) {};
|
||||||
|
}{}
|
||||||
|
|
||||||
|
\node[talentname] at ($(\arabic{talentx}*4.5,-\arabic{talenty}*4.9) + (0.13,-0.14)$) {%
|
||||||
\small \hspace*{-6pt} \checkbox %
|
\small \hspace*{-6pt} \checkbox %
|
||||||
\settowidth{\textlength}{\footnotesize \texttn{{\uppercase{#1}}}}%
|
\settowidth{\textlength}{\footnotesize \texttn{{\uppercase{#1}}}}%
|
||||||
\ifdim\nodeheight > 15pt
|
\ifdim\nodeheight > 15pt
|
||||||
@@ -176,26 +211,26 @@
|
|||||||
\fi
|
\fi
|
||||||
};
|
};
|
||||||
\node[cost] {\tiny\texttn{COST \fpeval{5*\arabic{talenty}}}};
|
\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}}};
|
\node[text=white,text width = 2.6cm] at ($(\arabic{talentx}*4.5,-\arabic{talenty}*4.9) + (0.5,-0.19)$) (t\alph{talentx}\alph{talenty}) {\footnotesize \texttn{\uppercase{#1}}};
|
||||||
}
|
}
|
||||||
|
|
||||||
\newenvironment{talenttree}[5]{%
|
\newenvironment{talenttree}[5]{%
|
||||||
\setcounter{talentx}{0}
|
\setcounter{talentx}{0}
|
||||||
\setcounter{talenty}{1}
|
\setcounter{talenty}{1}
|
||||||
|
\def\specialization{#1}
|
||||||
\center
|
\center
|
||||||
\def\bookandpage{#3}
|
\def\bookandpage{#3}
|
||||||
\tabular{p{0.75\textwidth} p{0.15\textwidth}}
|
\tabular{p{0.75\textwidth} p{0.15\textwidth}}
|
||||||
\texttn{\Huge{}\career{}:} \textltn{\Huge{}#1} & \multirow{4}*{
|
\texttn{\Huge{}\career{}:} \textltn{\Huge{}\specialization} & \multirow{4}{*}[0.7cm]{%
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
% \ifthenelse{\equal{#4}{}}{}{%
|
\drawforce
|
||||||
\definecolor{talentcolor}{HTML}{000000}
|
\definecolor{talentcolor}{HTML}{000000}
|
||||||
\node[forcepower] at (0.2,-2.1) {};
|
\node[ranked,minimum width = 3.33cm] at (-0.05, -1.34) {\footnotesize{}\texttn{RANKED TALENT}};
|
||||||
\node[talentname] at (0,-1.6) {\footnotesize{}\texttn{FORCE TALENT}};
|
\node[talentname] at (0,-1.4) {\footnotesize{}\texttn{RANKED TALENT}};
|
||||||
% }
|
\definecolor{talentcolor}{HTML}{5f1111}
|
||||||
|
\node[talentname] at (0,-0.7) {\footnotesize{}\texttn{ACTIVE}};
|
||||||
\definecolor{talentcolor}{HTML}{1e115f}
|
\definecolor{talentcolor}{HTML}{1e115f}
|
||||||
\node[talentname] at (0,0) {\footnotesize{}\texttn{PASSIVE}};
|
\node[talentname] at (0,0) {\footnotesize{}\texttn{PASSIVE}};
|
||||||
\definecolor{talentcolor}{HTML}{5f1111}
|
|
||||||
\node[talentname] at (0,-0.8) {\footnotesize{}\texttn{ACTIVE}};
|
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
}\\
|
}\\
|
||||||
\ifthenelse{\equal{\careerskills}{}}{
|
\ifthenelse{\equal{\careerskills}{}}{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
BIN
talent-trees.pdf
BIN
talent-trees.pdf
Binary file not shown.
Reference in New Issue
Block a user