diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2013-01-27 19:41:44 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2013-02-12 23:05:14 +0100 |
commit | f86e4abea0d82e1e0ed24110101188ef8fccd541 (patch) | |
tree | ea8375cf8defff0438d5e5c4510ae554ede7b11a /world/map/npc/011-4 | |
parent | c733dfe82aca9df0f9d5662db4b596339c9cd7e1 (diff) | |
download | serverdata-f86e4abea0d82e1e0ed24110101188ef8fccd541.tar.gz serverdata-f86e4abea0d82e1e0ed24110101188ef8fccd541.tar.bz2 serverdata-f86e4abea0d82e1e0ed24110101188ef8fccd541.tar.xz serverdata-f86e4abea0d82e1e0ed24110101188ef8fccd541.zip |
Restructuring the quests saved in TMW_Quest: Convert Bandit quest NPCs to new variables.
Diffstat (limited to 'world/map/npc/011-4')
-rw-r--r-- | world/map/npc/011-4/bl_barrier.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/world/map/npc/011-4/bl_barrier.txt b/world/map/npc/011-4/bl_barrier.txt index e7dfd98c..13524ee8 100644 --- a/world/map/npc/011-4/bl_barrier.txt +++ b/world/map/npc/011-4/bl_barrier.txt @@ -1,13 +1,20 @@ //bandit lord barrier 011-4.gat,111,121,0|script|#BL_Barrier|45,0,0,{ - if (TMW_Quest >= 44) goto L_Bandit_Lord_Barrier_Open; + + set @state, ((QUEST_Hurnscald & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT); + + if (@state >= 4) goto L_Bandit_Lord_Barrier_Open; message strcharinfo(0), "This entrance appears to be locked."; - end; + goto L_End; L_Bandit_Lord_Barrier_Open: message strcharinfo(0), "You insert the silver arrow key and unlock the entrance."; warp "011-6.gat",251,275; + goto L_End; + +L_End: + set @state, 0; end; } |