summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/bluesageConfig.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/048-2/bluesageConfig.txt')
-rw-r--r--world/map/npc/048-2/bluesageConfig.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/world/map/npc/048-2/bluesageConfig.txt b/world/map/npc/048-2/bluesageConfig.txt
index 22eb36ba..6ff952bd 100644
--- a/world/map/npc/048-2/bluesageConfig.txt
+++ b/world/map/npc/048-2/bluesageConfig.txt
@@ -102,3 +102,22 @@ function|script|updateBlueSageInvestigate|{
set QUEST_BlueSage, (QUEST_BlueSage & ~($@Q_BlueSageInvestigate_MASK) | (@investigate << $@Q_BlueSageInvestigate_SHIFT));
return;
}
+
+function|script|blueSageNumberOfClearedNests|{
+ set @slimenests, 0;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime0)
+ set @slimenests, @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime1)
+ set @slimenests, @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime2)
+ set @slimenests, @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime3)
+ set @slimenests, @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime4)
+ set @slimenests, @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime5)
+ set @slimenests, @slimenests+1;
+ if (QUEST_BlueSage & $@Q_BlueSageSlime6)
+ set @slimenests, @slimenests+1;
+ return;
+}