Newer
Older
\newcounter{treasure}
\setcounter{treasure}{\month}
\or%
dried fruits%
\or%
auroch tongue%
\or%
carrot-biscuits%
\or%
goat cheese%
\else%
\setcounter{treasure}{0}%
rye bread%
\fi%
\stepcounter{treasure}%
}%
\newcounter{goblinLoot}
\setcounter{goblinLoot}{\value{r4}}
\setcounter{goblinLoot}{0}%
\else%
\stepcounter{goblinLoot}%
\fi%
\ifcase\value{goblinLoot}\relax%
\stepcounter{r4}%
tinder box and \arabic{r4} candles%
\or%
\or%
flask of lantern oil%
\or%
leather pouch filled with colorful egg shells%
\or%
small torch%
\or%
small shaker filled with dried beans%
\or%
a horse's tail%
\or%
lump of clay with an ex-lover's bitemarks%
\or%
polished sphere of snow-white quartz%
\or%
tinder box%
\or%
ratking shaul%
\else%
empty wine bottle filled with dead spiders%
\fi%
\randomdozen\multiply\value{r12} by \value{r4}\arabic{r12}~\glspl{cp}}%
\randomdozen\addtocounter{r12}{8}\arabic{r12}\glspl{gp}%
\iftoggle{genExamples}{}%
{%
\ifcase\value{treasure}\relax%
\fi%
\ignorespaces\spellName%
\setcounter{track}{\value{treasure}}%
\stepcounter{treasure}%
}%
\ifnum\value{diceNo2}>10\setcounter{diceNo2}{1}\fi%
Earth \gls{boon}%
\or%4
Air \gls{boon}%
\or%5
stirge queen in a phial%
\or%6
woodspy beak%
\or%7
Fire \gls{boon}%
\or%8
Water \gls{boon}%
\else%9
Fate \gls{boon}%
\fi%
\stepcounter{diceNo2}%
}%
}
\iftoggle{genExamples}{jewellery worth~\ifodd\value{r2}$3D6$~\glspl{sp}\else$1D6+2$~\glspl{gp}\fi}%
\ifnum\value{treasure}>10\addtocounter{treasure}{-10}\fi%
golden necklace worth~\arabic{r12}~\glspl{sp}%
jewel encrusted dagger worth~\arabic{r12}~\glspl{sp}%
ornate silver earrings worth~1~\glspl{gp}%
gem encrusted broach worth~\arabic{r4b}~\glspl{gp}
saphire pendant worth~\arabic{r3b}~\glspl{gp}%
gem-encrusted headband, worth~\arabic{r4b}~\glspl{gp}%
\or%7
gold-looking necklage made from fool's gold (worthless)%
\or%8
gem-studded ring, worth~\arabic{r12}~\glspl{sp}%
signet ring, worth~\arabic{r2}~\glspl{gp}%
gem-studded ring, worth~\arabic{r12}~\glspl{sp}%