summaryrefslogtreecommitdiff
path: root/world/map/npc/011-6/crastur.txt
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2014-10-28 23:13:33 -0400
committermekolat <mekolat@gmail.com>2014-10-28 23:33:16 -0400
commit12d81ac26235fb46173b55d65b0c9d63de5a137d (patch)
treeee58add8cec1b466cfa26266d9e00b505e97910a /world/map/npc/011-6/crastur.txt
parentc455bb35cece052b86f0863cb695c73ee3c4064b (diff)
downloadserverdata-12d81ac26235fb46173b55d65b0c9d63de5a137d.tar.gz
serverdata-12d81ac26235fb46173b55d65b0c9d63de5a137d.tar.bz2
serverdata-12d81ac26235fb46173b55d65b0c9d63de5a137d.tar.xz
serverdata-12d81ac26235fb46173b55d65b0c9d63de5a137d.zip
add inspector check
Diffstat (limited to 'world/map/npc/011-6/crastur.txt')
-rw-r--r--world/map/npc/011-6/crastur.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/011-6/crastur.txt b/world/map/npc/011-6/crastur.txt
index ae8ca3f5..f9acb0bf 100644
--- a/world/map/npc/011-6/crastur.txt
+++ b/world/map/npc/011-6/crastur.txt
@@ -1,6 +1,7 @@
011-6.gat,172,250,0|script|Crastur the Ugly|418,
{
set @spants_state, ((QUEST_WG_state & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT);
+ set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
if @spants_state < 3 goto L_Regular;
if @spants_state == 3 goto L_Ask;
if (@spants_state == 4 || @spants_state == 5 || @spants_state == 6) goto L_Ask_Again;
@@ -166,6 +167,12 @@ L_Unsure:
goto L_Main;
L_Main:
+ if((@inspector >= 1 && @inspector <= 7) || @inspector == 9) goto L_Main_Inspector;
+ menu
+ "\"What things do you know about me?\"", L_Personal,
+ "\"Bye\"", L_Close;
+
+L_Main_Inspector:
menu
"\"What things do you know about me?\"", L_Personal,
"\"Do you know anything about the Robberies in Hurnscald?\"", L_Hurnscald,