diff options
author | nmaligec <wouldnot@hotmail.com> | 2011-01-05 00:34:26 -0500 |
---|---|---|
committer | nmaligec <wouldnot@hotmail.com> | 2011-01-05 00:34:26 -0500 |
commit | ed8cac19500c515cae40c1fd4b2d87abd96ae3ba (patch) | |
tree | 3136c4b4bac4db3a432384390efcc22f88ff2790 /npc/031-1_NivalisPort/house.txt | |
parent | 21156bed9c3d6eb3cf66a1e1557f4fc8c87a4194 (diff) | |
parent | 1e1e26e1255a487a14ca99c60c3ab51ad3988f9b (diff) | |
download | classic-serverdata-ed8cac19500c515cae40c1fd4b2d87abd96ae3ba.tar.gz classic-serverdata-ed8cac19500c515cae40c1fd4b2d87abd96ae3ba.tar.bz2 classic-serverdata-ed8cac19500c515cae40c1fd4b2d87abd96ae3ba.tar.xz classic-serverdata-ed8cac19500c515cae40c1fd4b2d87abd96ae3ba.zip |
merging updates from previous test repo ta-testing.
Diffstat (limited to 'npc/031-1_NivalisPort/house.txt')
-rw-r--r-- | npc/031-1_NivalisPort/house.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/npc/031-1_NivalisPort/house.txt b/npc/031-1_NivalisPort/house.txt new file mode 100644 index 00000000..d9714ef5 --- /dev/null +++ b/npc/031-1_NivalisPort/house.txt @@ -0,0 +1,18 @@ +// here is based on the queststatus for the rescue Cindy quest, if the player can enter +// player can enter, if Cindy is already saved and the player has been invited, quest status > 2 +// author: Jenalya + +031-1.gat,95,80,0 script #Door 127,1,1,{ + set @Q_Nivalis_state_MASK, NIBBLE_5_MASK; + set @Q_Nivalis_state_SHIFT, NIBBLE_5_SHIFT; + + set @rescue_Cindy, ((QUEST_Nivalis_state & @Q_Nivalis_state_MASK) >> @Q_Nivalis_state_SHIFT); + + if (@rescue_Cindy > 2) goto L_Warp; + message strcharinfo(0), "The door is locked."; + close; + +L_Warp: + warp "031-2.gat", 23, 28; + end; +} |