summaryrefslogtreecommitdiff
path: root/npc/031-1_NivalisPort/house.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2010-12-29 21:20:39 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2010-12-29 21:20:39 +0100
commitc884add9efd2a76072a0be64c6c84c73dc0bb2bc (patch)
tree80549fa09463a90f789f482cd72ceac8be46538d /npc/031-1_NivalisPort/house.txt
parentd029a77cc27e27caa18a5cbd1015e4bdeac971d2 (diff)
downloadserverdata-c884add9efd2a76072a0be64c6c84c73dc0bb2bc.tar.gz
serverdata-c884add9efd2a76072a0be64c6c84c73dc0bb2bc.tar.bz2
serverdata-c884add9efd2a76072a0be64c6c84c73dc0bb2bc.tar.xz
serverdata-c884add9efd2a76072a0be64c6c84c73dc0bb2bc.zip
Rescue Cindy quest
works, except: rewards, yeti battle, npc sprites
Diffstat (limited to 'npc/031-1_NivalisPort/house.txt')
-rw-r--r--npc/031-1_NivalisPort/house.txt18
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..c81185d3
--- /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;
+ mes "The door is locked.";
+ close;
+
+L_Warp:
+ warp "031-2.gat", 23, 28;
+ end;
+}