summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/sageNikolai.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-06 21:43:36 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-13 09:57:58 -0400
commit2605a9f17361f80304567f3a7cb5b9480f204221 (patch)
tree9028e2005b92999ccae846c535022498b586e513 /world/map/npc/048-2/sageNikolai.txt
parent159116ab059fe579ac42f75eb1bb288d90c01a67 (diff)
downloadserverdata-2605a9f17361f80304567f3a7cb5b9480f204221.tar.gz
serverdata-2605a9f17361f80304567f3a7cb5b9480f204221.tar.bz2
serverdata-2605a9f17361f80304567f3a7cb5b9480f204221.tar.xz
serverdata-2605a9f17361f80304567f3a7cb5b9480f204221.zip
convert blue sage quest
Diffstat (limited to 'world/map/npc/048-2/sageNikolai.txt')
-rw-r--r--world/map/npc/048-2/sageNikolai.txt28
1 files changed, 3 insertions, 25 deletions
diff --git a/world/map/npc/048-2/sageNikolai.txt b/world/map/npc/048-2/sageNikolai.txt
index dced46d6..fdc6e76d 100644
--- a/world/map/npc/048-2/sageNikolai.txt
+++ b/world/map/npc/048-2/sageNikolai.txt
@@ -8,7 +8,6 @@
set @halloween_npc_id, $@halloween_npc_nikolai;
callfunc "TrickOrTreat";
- set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
set @bookpages, ((QUEST_BlueSage & $@Q_BlueSageBookPages_MASK) >> $@Q_BlueSageBookPages_SHIFT);
set @slimes, ((QUEST_BlueSage & $@Q_BlueSageSlimes_MASK) >> $@Q_BlueSageSlimes_SHIFT);
set @material, ((QUEST_BlueSage & $@Q_BlueSageMaterial_MASK) >> $@Q_BlueSageMaterial_SHIFT);
@@ -112,7 +111,7 @@ L_NoStartSlimes:
goto L_NoSlimes;
L_NoSlimes:
- if (@investigate > 0)
+ if (QL_BSAGE_INVESTIGATE > 0 && QL_BSAGE_INVESTIGATE < 13)
goto L_NoStartInvestigate;
set @choice_idx[@choices_nr], @C_startInvestigate;
set @choice$[@choices_nr], "How did this all happen?";
@@ -120,7 +119,7 @@ L_NoSlimes:
goto L_NoStartInvestigate;
L_NoStartInvestigate:
- if ((@investigate < 2) || (@investigate > 11))
+ if ((QL_BSAGE_INVESTIGATE < 2) || (QL_BSAGE_INVESTIGATE > 11 && QL_BSAGE_INVESTIGATE < 13))
goto L_NoInvestigate;
set @choice_idx[@choices_nr], @C_investigate;
set @choice$[@choices_nr], "I'm trying to find out how that accident could've happened.";
@@ -128,7 +127,7 @@ L_NoStartInvestigate:
goto L_NoInvestigate;
L_NoInvestigate:
- if (@investigate != 11)
+ if (QL_BSAGE_INVESTIGATE != 11)
goto L_NoInvestigate2;
set @choice_idx[@choices_nr], @C_investigate2;
set @choice$[@choices_nr], "I told Chief Oskari what I found out about the accident.";
@@ -281,28 +280,7 @@ L_Done:
L_Close:
set @inventorylist_count, 0;
- set @investigate, 0;
set @bookpages, 0;
set @slimes, 0;
close;
}
-
-//048-2,100,106,0|script|Debug|160
-//{
-// set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
-// set @bookpages, ((QUEST_BlueSage & $@Q_BlueSageBookPages_MASK) >> $@Q_BlueSageBookPages_SHIFT);
-// set @slimes, ((QUEST_BlueSage & $@Q_BlueSageSlimes_MASK) >> $@Q_BlueSageSlimes_SHIFT);
-// set @material, ((QUEST_BlueSage & $@Q_BlueSageMaterial_MASK) >> $@Q_BlueSageMaterial_SHIFT);
-//
-// mes "QUEST_BlueSage: " + QUEST_BlueSage;
-// mes "investigate: " + @investigate;
-// mes "slimes: " + @slimes;
-// mes "bookpages: " + @bookpages;
-// mes "material: " + @material;
-// menu
-// "reset quest",-,
-// "close",L_Close;
-// set QUEST_BlueSage, 0;
-//L_Close:
-// close;
-//}