From 12d81ac26235fb46173b55d65b0c9d63de5a137d Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 28 Oct 2014 23:13:33 -0400 Subject: add inspector check --- world/map/npc/011-6/crastur.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'world/map/npc/011-6') 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, -- cgit v1.2.3-70-g09d2