Skip to content

Instantly share code, notes, and snippets.

@nelhage
Last active December 25, 2015 01:19
Show Gist options
  • Save nelhage/6894685 to your computer and use it in GitHub Desktop.
Save nelhage/6894685 to your computer and use it in GitHub Desktop.
char.tex
\PRESETS{Char}{
\FD\MYdesc {} %% badge description
\FD\MYstats {} %% use \newstat to add stats
% \newstat\MYcr {Combat Rating}{CR}{2} %% for DarkWater-style combat
\newstat\MYpsi {$\psi$}{$\psi$}{$7,9,11,13$}
\newstat\MYdrunk {$\iota$}{$\iota$}{0}
\newstat\MYdelta {$\delta$}{$\delta$}{}
\newstat\MYtau {$\tau$}{$\tau$}{10}
\newstat\MYpit {$\pi_T$}{$\pi_T$}{0}
\newstat\MYrho {$\rho$}{$\rho$}{0}
\newstat\MYdna {$\spadesuit$}{$\spadesuit$}{}
% \maybestat\MYhp {Hit Points}{HP}{}
\maybestat\MYalpha {$\alpha$}{$\alpha$}{}
\maybestat\MYnu {$\nu$}{$\nu$}{}
\FD\MYidentity {}
\FD\MYcat {}
\FD\MYsex {\male} %% \male, \female, \neuter, \ambiguous
\FD\MYgroupstr{} %% playerlist groupstring
\FD\MYfile {} %% character sheet filename (including .tex)
\FS\MYtext {\ifx\MYfile\empty\else%
\getextractenvs{document}{\chars/\MYfile}%
\fi}
\badgetrue\statstrue\sheettrue\listtrue\labeltrue
}
\NEW{PC}{\cMario}{
\s\MYname {Dr. Mario}
\allmap{\full}
\s\MYfile {drmario.tex}
\s\MYnumber {410}
\s\MYdesc {An Italian plumber in a lab coat}
\s\MYitems {\iLockOfHair{}}
\s\MYgreens {\gTakeOverTheWorld{}}
\s\MYnbs {\nWomen{}\nViruses{}\nMushrooms{}}
\s\MYabils {\aInfect{}}
\s\MYblues {\bResidents{}}
\s\MYmems {\mVolcano{}\mWhale{}}
\s\MYdelta {7}
\s\MYdna {AACTGATTCGAGCTAA}
\s\MYpit {7}
\s\MYrho {3}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment