diff --git a/loot.sty b/loot.sty index 8c975779114b4cd8afc95fa3d427db582dc3f391..da4bccaaf396ea1adf047be506082f532ed500cb 100644 --- a/loot.sty +++ b/loot.sty @@ -4,6 +4,52 @@ %%%%%%%%%%%%%%%%%%%% LOOT %%%%%%%%%%%%%%%%%%%% +\newcounter{goblinLoot} +\setcounter{goblinLoot}{\value{r4}} + +\newcommand{\lootGoblin}{% + \iftoggle{genExamples}{no loot}% + {% + \ifnum\value{goblinLoot}>13% + \setcounter{goblinLoot}{0}% + \else% + \stepcounter{goblinLoot}% + \fi% + \ifcase\value{goblinLoot}\relax% + \stepcounter{r4}% + tinder box and \arabic{r4} candles% + \or% + 1 \gls{sp} from the far North% + \or% + pouch of long, humanoid hair% + \or% + rotten mushrooms% + \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% + \or% + 1 \gls{gp} from the far East% + \else% + empty wine bottle filled with dead spiders% + \fi% + }% +} + \newcommand{\lootSmall}{% \iftoggle{genExamples}{% \ifodd\value{r2}% diff --git a/monsters.sty b/monsters.sty index c51d96b0c88a6fb56f2c1f33182e43945bef0a58..5d5b95ad2bc77ef43b56335501857dd293886f02 100644 --- a/monsters.sty +++ b/monsters.sty @@ -1129,11 +1129,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v \Dagger% \fi% \fi% -\ifodd\value{r3b}% - \ifnum\value{noAppearing}=1 - , tinder box% - \fi% -\fi% +, \lootGoblin .}% EQUIPMENT { \ifodd\value{r3}\else @@ -1199,7 +1195,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {\arabic{age}}% AGGRESSION {Projectiles~\arabic{r2}, \ifodd\value{r3} Deceit\else Athletics\fi~\arabic{r3}, Medicine~\arabic{r2}, Stealth~1, Tactics~2 }% SKILLS -{\Dagger\ifodd\value{r4}, torch\fi% +{\Dagger\ifodd\value{r4}, \lootGoblin\fi% \ifnum\value{r4b}=4% , \lootMagic \fi% @@ -1231,7 +1227,12 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v {0}% DR {2}% COMBAT {\ifodd\value{r3b} Athletics~1, \fi Crafts~1, Tactics~\arabic{r2}}% SKILLS -{\ifodd\value{r2b}\shortsword\else\maul\fi, \partialchain}% EQUIPMENT +{ + \ifodd\value{r2b}\shortsword\else\maul\fi, \partialchain% + \ifodd\value{r3}% + , \lootGoblin% + \fi% +}% EQUIPMENT {} }