% https://lospec.com/palette-list/dynasty38 \definecolor{coelfire} {HTML}{c72352} \definecolor{coelwater} {HTML}{0f2866} \definecolor{coelwind} {HTML}{9ba5d7} \definecolor{coelearth} {HTML}{623740} \definecolor{coelwood} {HTML}{006d75} \definecolor{coelthunder} {HTML}{e1bc82} % \definecolor{coelthunderbg}{HTML}{eed1aa} \definecolor{coelmagma} {HTML}{80234d} \definecolor{coelice} {HTML}{5ebeed} \definecolor{coeldark} {HTML}{080f1c} \definecolor{coellight} {HTML}{e4eaf6} \def \blood{\includegraphics[height=\fontcharht\font`\B]{Ico/blood.png}} % icone de sang \def \gauge{\includegraphics[height=\fontcharht\font`\B]{Ico/gauge.png}} % icone de jauge \def \blunt{\includegraphics[height=\fontcharht\font`\B]{Ico/bulgeon.png}} % icone damage: contendant \def \slash{\includegraphics[height=\fontcharht\font`\B]{Ico/slash.png}} % icone damage: slash \def \pierce{\includegraphics[height=\fontcharht\font`\B]{Ico/pierce.png}} % icone damage: percant \def \dicef{\includegraphics[height=\fontcharht\font`\B]{Ico/d4.png}} % icone des: d4 \def \dices{\includegraphics[height=\fontcharht\font`\B]{Ico/d6.png}} % icone des: d6 \def \diceh{\includegraphics[height=\fontcharht\font`\B]{Ico/d8.png}} % icone des: d8 \def \dicet{\includegraphics[height=\fontcharht\font`\B]{Ico/d10.png}} % icone des: d10 \def \dicew{\includegraphics[height=\fontcharht\font`\B]{Ico/d12.png}} % icone des: d12 \def \dicee{\includegraphics[height=\fontcharht\font`\B]{Ico/d20.png}} % icone des: d12 \def \torque{\includegraphics[height=\fontcharht\font`\B]{Ico/torque.png}} % icone : torque \def \ddzero{\includegraphics[height=\fontcharht\font`\B]{Ico/emptystar.png}} % icone : zero difficulty \def \reload{$\circlearrowleft$} % icone : reload weapon % \newcommand{\ddmod}[2]{$\texttt{#1}\forLoop{1}{#2}{ct}{\star}$} % Modular difficulty modifier command \newcommand{\ddmod}[2]{\raisebox{0.4\height}{\scalebox{0.59}{$#1$}}\ddlvl{#2}} % Modular difficulty modifier command \newcommand{\ddlvl}[1]{\forLoop{1}{#1}{ct}{\scalebox{1.4}{$\star$}}} % Modular difficulty command \newcommand{\ddlevel}[1]{\errmessage{The command ddlevel has been deprecated, use ddlvl or ddmod instead}} % Modular difficulty command \newcommand{\fluff}[2] { % lore et citation in-universe \emph{«\,#1\,»}\\ % 1: texte sans guillements \rightline{— #2.} % 2: Auteur·ice } \newcommand{\actifn}[2] { % Actif nommé dans les origines \textbf{Actif}\,: \emph{#1}\,: #2 % 1: Nom de l'actif } % 2: Texte de l'actif \newcommand{\actif}[1] { % Actif dans les origines \textbf{Actif}\,: #1 % 1: Texte de l'actif } \newcommand{\passifn}[2] { % Passif nommé dans les origines \textbf{Passif}\,: \emph{#1}\,: #2 % 1: Nom du passif } % 2: Texte du passif \newcommand{\passif}[1] { % Passif dans les origines \textbf{Passif}\,: #1 % 1: Texte du passif } \newcommand{\mecanique}[1]{\emph{#1}} % Illustration spécifiques a la catégorie Origine \newcommand{\originillustration}[1]{\vfill \begin{center} {\includegraphics[clip,width=\linewidth,height=15cm,keepaspectratio]{#1}} \end{center} \vfill} % Illustration spécifiques a la catégorie Class \newcommand{\classillustration}[4]{ \begin{tblr}{width = 0.95\linewidth, colspec = {XXX}, } \SetCell[r=2]{l}\raisebox{-0.8\totalheight}{\includegraphics[clip,width=4cm,keepaspectratio]{#1}} & \SetCell[c=2]{p,0.66\linewidth} #2 & \\ & \raisebox{-0.8\totalheight}{\includegraphics[clip,width=4cm,keepaspectratio]{#3}} & #4 \hfill \end{tblr} } % Text and illustration \newcommand{\illustext}[2]{ \begin{tblr}{width = 1\linewidth, colspec = {Q[l,m,wd=2.5cm]X[j,h]}, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } \raisebox{-0.9\totalheight}{\includegraphics[clip,width=2.5cm,keepaspectratio]{#1}} & #2 \end{tblr} } \newcommand{\textillus}[2]{ \begin{tblr}{width = 1\linewidth, colspec = {X[j,h]Q[m,l,wd=2.5cm]}, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } #2 & \raisebox{-0.9\totalheight}{\includegraphics[clip,width=2.5cm,keepaspectratio]{#1}} \end{tblr} } %\newcommand{\ravex}[1]{\setlength{\parskip}{5pt} % Used for (hopefully) %\newline % helpful examples % {\small\setlength{\arrayrulewidth}{0.7mm}\arrayrulecolor{lightgray} % \begin{tabularx}{\textwidth}{p{0.5em}|X} % &\emph{#1} % \end{tabularx}} %} \newtcolorbox{ravbox}{ % Sample box used for colframe=black, % examples and help coltitle=black, colbacktitle = white, left = 2ex, right = 2ex, top = 1.5ex, bottom = 1.5ex, colback = white, boxrule = 0.2mm, toptitle = 2ex, breakable, enhanced jigsaw, } \newcommand{\ravex}[1]{ % Example box \begin{ravbox}{{\small\textbf{Example}\smallskip #1}}\end{ravbox} } \newcommand{\ravtwoex}[2]{ % Two examples back \begin{ravbox}{ % to back \small\textbf{Examples}}\smallskip {\small#1} \tcblower {\small#2}\end{ravbox}} \newcommand{\ravhelp}[1]{ % GM help \begin{ravbox}{{\small\textbf{Aide au MJ}\smallskip #1}}\end{ravbox} } \newcommand{\kw}[1]{\textbf{#1}} % Mots-clés \def \medcirc{\raisebox{0.075em}{\scalebox{0.7}{$\bigcirc$}} } % Medium circle \def \supmedcirc{\raisebox{0.42em}{\scalebox{0.56}{$\bigcirc$}} } % Superscript medcirc \def \tranchant{\kw{Tranchant}\slash } % Tranchant \def \percant{\kw{Perçant}\pierce} % Perçant \def \contondant{\kw{Contondant}\blunt} % Contondant \def \elfire {\kw{Feu} \tikz[baseline=-3.8]{\draw[thick, draw=coelfire ,text=coelfire ](0,0)circle[radius=2.0mm]node {$|$};}} \def \elwater {\kw{Eau} \tikz[baseline=-3.8]{\draw[thick, draw=coelwater ,text=coelwater ](0,0)circle[radius=2.0mm]node {$\approx$};}} \def \elwind {\kw{Vent} \tikz[baseline=-3.8]{\draw[thick, draw=coelwind ,text=coelwind ](0,0)circle[radius=2.0mm]node {$\because$};}} \def \elearth {\kw{Terre} \tikz[baseline=-3.8]{\draw[thick, draw=coelearth ,text=coelearth ](0,0)circle[radius=2.0mm]node {$=$};}} \def \elwood {\kw{Bois} \tikz[baseline=-3.8]{\draw[thick, draw=coelwood ,text=coelwood ](0,0)circle[radius=2.0mm]node {$\cong$};}} \def \elthunder{\kw{Foudre} \tikz[baseline=-3.8]{\draw[thick, draw=coelthunder ,text=coelthunder](0,0)circle[radius=2.0mm]node {$\because$\llap{\textbar}};}} \def \elmagma {\kw{Magma} \tikz[baseline=-3.8]{\draw[thick, draw=coelmagma ,text=coelmagma ](0,0)circle[radius=2.0mm]node {\textpm };}} \def \elice {\kw{Glace} \tikz[baseline=-3.8]{\draw[thick, draw=coelice ,text=coelice ](0,0)circle[radius=2.0mm]node {$\thicksim$\llap{$\because$}};}} \def \elabyss {\kw{Abyssale}\tikz[baseline=-3.8]{\draw[thick, fill=coeldark ,draw=coellight ,text=coellight](0,0)circle[radius=2.0mm]node {$\bigtriangledown$ };}} \def \elceleste{\kw{Céleste} \tikz[baseline=-3.8]{\draw[thick, fill=coellight ,draw=coeldark ,text=coeldark](0,0)circle[radius=2.0mm]node {$\bigtriangleup$};}} % \def \elfire {\kw{Feu}{\color{red} \textbigcircle\llap{\<\textbar}}} % % \def \elwind {\kw{Vent}{\color{cyan} ($\because$)}} % % \def \elearth {\kw{Terre}{\color{brown} ($=$)}} % % \def \elwood {\kw{Bois}{\color{green} ($\cong$)}} % % \def \elthunder{\kw{Foudre}{\color{orange} ($\because$\llap{\textbar})}} % % \def \elmagma {\kw{Magma}{\color{purple} (\textpm) }} % % \def \elice {\kw{Glace}{\color{teal} ($\thicksim$\llap{$\because$})}} % \TikCircle[1][2.5]{\tikz[baseline=-5]{\draw[thick](0,0)circle[radius=5mm];}}