diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-05-06 21:43:36 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-05-13 09:57:58 -0400 |
commit | 2605a9f17361f80304567f3a7cb5b9480f204221 (patch) | |
tree | 9028e2005b92999ccae846c535022498b586e513 /world/map/npc/048-2/helperCleaning4.txt | |
parent | 159116ab059fe579ac42f75eb1bb288d90c01a67 (diff) | |
download | serverdata-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/helperCleaning4.txt')
-rw-r--r-- | world/map/npc/048-2/helperCleaning4.txt | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/world/map/npc/048-2/helperCleaning4.txt b/world/map/npc/048-2/helperCleaning4.txt index 6b795b84..45108932 100644 --- a/world/map/npc/048-2/helperCleaning4.txt +++ b/world/map/npc/048-2/helperCleaning4.txt @@ -7,7 +7,6 @@ 048-2,131,119,0|script|Kristian|366 { set @slimes, ((QUEST_BlueSage & $@Q_BlueSageSlimes_MASK) >> $@Q_BlueSageSlimes_SHIFT); - set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT); if (@slimes == 255) goto L_Thank; if (@slimes > 0) goto L_Progress; @@ -27,9 +26,9 @@ L_Thank: goto L_Investigate; L_Investigate: - if ((@investigate == 3) || (@investigate == 4)) goto L_Ask_Visitor; - if ((@investigate == 5) || (@investigate == 8)) goto L_Ask_Helper; - if ((@investigate == 6) || (@investigate == 7) || (@investigate == 9) || (@investigate == 10)) goto L_Ask_Both; + if ((QL_BSAGE_INVESTIGATE == 3) || (QL_BSAGE_INVESTIGATE == 4)) goto L_Ask_Visitor; + if ((QL_BSAGE_INVESTIGATE == 5) || (QL_BSAGE_INVESTIGATE == 8)) goto L_Ask_Helper; + if ((QL_BSAGE_INVESTIGATE == 6) || (QL_BSAGE_INVESTIGATE == 7) || (QL_BSAGE_INVESTIGATE == 9) || (QL_BSAGE_INVESTIGATE == 10)) goto L_Ask_Both; goto L_Close; L_Ask_Visitor: @@ -53,10 +52,9 @@ L_Visitor: mes "\"Oh, there was such a visitor, yes. Strange guy, and didn't really know how to behave. He sneaked into the workshop area all the time, I think he was rather curious about the things going on there.\""; next; mes "\"But still, he can't just walk in there, fiddle with the experiments and disturb the helpers doing their work.\""; - if ((@investigate != 3) && (@investigate != 6) && (@investigate != 9)) + if ((QL_BSAGE_INVESTIGATE != 3) && (QL_BSAGE_INVESTIGATE != 6) && (QL_BSAGE_INVESTIGATE != 9)) goto L_Close; - set @investigate, @investigate + 1; - callfunc "updateBlueSageInvestigate"; + set QL_BSAGE_INVESTIGATE, QL_BSAGE_INVESTIGATE + 1; goto L_Close; L_Helper: @@ -65,7 +63,6 @@ L_Helper: goto L_Close; L_Close: - set @investigate, 0; set @slimes, 0; close; } |