Multiple rewards in a quest
Posted: Mon Mar 25, 2024 2:43 pm
I'm trying to reward a couple of different map types but I'm not sure what is happening. Quests will often have the line
and then award a dungeon map. Here is the section which obtains the map. My question is how is this triggered? The _S.08_ task isn't defined anywhere in this file. Is it defined by default? Is there an example quest while diverges by separate rewards?
Code: Select all
pick one of _map_ _nomap_
Code: Select all
variable _map_
variable _nomap_
_S.08_ task:
when _map_ and _pcgetsgold_
reveal _newdung_ readmap
say 1013