\newcommand{\T}{\opposition\settoggle{team}{false}}% groups
\newcommand{\T}{\opposition\settoggle{team}{true}}% groups
\newcommand{\M}{\mars}% male
\newcommand{\F}{\venus}% female
\newcommand{\E}{\mercury}% blood casters
...
...
@@ -221,24 +341,30 @@ bookmarks=true]%
\setcounter{secnumdepth}{1}
}
\newcounter{r4}
\setcounter{r4}{\day}
\whileboolexpr{
test {\ifnumcomp{\value{r4}}{>}{4}}
}
{\addtocounter{r4}{-3}}
\newcounter{r2}
\setcounter{r2}{1}
\setcounter{r2}{\value{r4}}
\newcounter{r2b}
\setcounter{r2}{2}
\setcounter{r2b}{\value{r2}}
\addtocounter{r2b}{-1}
\newcounter{r2c}
\setcounter{r2c}{2}
\newcounter{r3}
\setcounter{r3}{\month}
\divide\value{r3} by 4
\divide\value{r3} by 4
\newcounter{r3b}
\setcounter{r3b}{2}
\setcounter{r3b}{\value{r4}}
\addtocounter{r3b}{-1}
\newcounter{r3c}
\setcounter{r3c}{3}
\newcounter{r4}
\setcounter{r4}{\day}
\setcounter{r3c}{0}
\newcounter{r4b}
\setcounter{r4b}{\day}
\addtocounter{r4b}{1}
\setcounter{r4b}{\day}
\newcounter{r12}
\setcounter{r12}{\month}
\newcounter{enc}
...
...
@@ -323,14 +449,14 @@ Roll & Result \\
\newtcolorbox[use counter=enc, use counter=list]{encounters}[1]{adjusted title=Encounters in #1,arc=1mm,tabularx={XXp{.6\textwidth}},code={\setcounter{enc}{19}\setcounter{list}{18}}}