diff --git a/docs.tex b/docs.tex index 72b94bea51f5a005f10b78aee66be097ea439392..bf921b3b9db848a6e7e080042f22bbaae7248ae3 100644 --- a/docs.tex +++ b/docs.tex @@ -42,6 +42,17 @@ Which then makes a male dragon called ``Bob'': You can summon dozens of monsters, including \verb"humansoldier", \verb"basilisk", and \verb"\ghoul" (see \verb"monsters.tex" for all the examples). +A longer command lets you fill in more information about \pgls{npc}. + +\begin{verbatim} + \humandiplomat[\NPC{\Hu\F}{Bob}% + {Erratic}% + {Snaps fingers}% + {Sandwiches}] +\end{verbatim} + +\humandiplomat[\NPC{\Hu\F}{Bob}{Erratic}{Snaps fingers}{Sandwiches}] + Placing a number after the `T' symbol, e.g. \verb"\T[5]" to change the number of rows of boxes to track stats. \ghoul[\npc{\T[5]\D}{5 Ghouls}] diff --git a/stats.sty b/stats.sty index 5db14cde18669441ca62e680bf43af5de6ded231..87b289baf3d9b82fc66c7af8ea44f88e5d2fd4a5 100644 --- a/stats.sty +++ b/stats.sty @@ -224,7 +224,7 @@ \setcounter{freeHP}{0} \newcommand\boxStat[1]{% - \Repeat{\value{#1}}{\Circle}% + \glsentrytext{R}~\Repeat{\value{#1}}{\Square}% } \newcommand\hpStat[1]{% @@ -274,7 +274,7 @@ \newcommand\HPMPboxes{% \setcounter{enc}{\value{hp}}% \addtocounter{enc}{\value{mp}}% - \ifnum\value{enc}<16% + \ifnum\value{enc}<24% \begin{tabular}{rr}% \hiderowcolors% \Repeat{\value{noAppearing}}{%