diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2013-02-07 16:27:45 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2013-02-12 23:05:14 +0100 |
commit | e6db4af9d0873d1b1b31680d54e5f8452000ea2b (patch) | |
tree | 7c8b2df6678625d2decc6095cfd87a207db034a0 /world/map/npc/018-2/caul.txt | |
parent | c88ef1cbf878acd5439c3aef1cdac2f68436e0b5 (diff) | |
download | serverdata-e6db4af9d0873d1b1b31680d54e5f8452000ea2b.tar.gz serverdata-e6db4af9d0873d1b1b31680d54e5f8452000ea2b.tar.bz2 serverdata-e6db4af9d0873d1b1b31680d54e5f8452000ea2b.tar.xz serverdata-e6db4af9d0873d1b1b31680d54e5f8452000ea2b.zip |
Variable restructuring: move Inspector quest to nibble 3 of QUEST_Hurnscald.
Diffstat (limited to 'world/map/npc/018-2/caul.txt')
-rw-r--r-- | world/map/npc/018-2/caul.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/world/map/npc/018-2/caul.txt b/world/map/npc/018-2/caul.txt index f1e9ac90..3b5f771f 100644 --- a/world/map/npc/018-2/caul.txt +++ b/world/map/npc/018-2/caul.txt @@ -8,6 +8,10 @@ //################################################################################# 018-2.gat,37,22,0|script|Caul|107,{ + callfunc "ClearVariables"; + + set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT); + set @SETZER_INITIAL, 0; set @SETZER_KNOWS_OIL, 1; set @SETZER_KNOWS_STINGER, 2; @@ -59,7 +63,7 @@ L_M_no_monster_oil: set @choices_nr, @choices_nr + 1; L_M_no_mopox_cure: - if (Inspector != 10) + if (@inspector != 10) goto L_M_no_inspector; set @choice_idx[@choices_nr], @C_nohmask; @@ -1058,10 +1062,11 @@ L_calc_dempo_color: L_NohMask: mes "[Caul]"; mes "\"I'm sorry, but I didn't. I'm staying in town. Try asking one of the miners.\""; - close; + goto L_close; L_close: - close; + set @inspector, 0; + close; S_Update_Var: set QUEST_Forestbow_state, |