Skip to content
Snippets Groups Projects
Unverified Commit cb9df4eb authored by Malin Freeborn's avatar Malin Freeborn
Browse files

show lootMagic name only once

parent cb3305a1
No related branches found
No related tags found
No related merge requests found
......@@ -77,45 +77,37 @@
}
\newcommand{\lootMagic}{%
\iftoggle{verbose}{
\iftoggle{verbose}{%
\ifnum\value{noAppearing}>1%
\else%
\iftoggle{genExamples}{}%
{%
\ifnum\value{treasure}>8\setcounter{treasure}{0}\fi%
\ifnum\value{treasure}>8\setcounter{treasure}{1}\fi%
\ifcase\value{treasure}\relax%
\scrollOfFriendship%
\spellName
\or%1
\bloodCandle%
\spellName
\or%2
\minersWeed%
\spellName
\or%3
\oceanPhial%
\spellName
\or%
\labyrinthScroll%
\spellName
\or%4
\hagFinger%
\spellName
\or%4
\safetyScroll%
\spellName
\or%4
\snacklet%
\spellName
\else%11
\homeScroll%
\spellName
\fi%
\ignorespaces\spellName%
\setcounter{track}{\value{treasure}}%
\stepcounter{treasure}%
}%
\fi%
}{}
}{}%
}
\newcommand{\lootJewellery}{%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment