summaryrefslogtreecommitdiff
path: root/npc/000-2-0/doors.txt
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-04-20 01:57:20 +0200
committerReid <reidyaro@gmail.com>2012-04-20 01:57:50 +0200
commit339a9da08ec3e2961e05b466724a3aa71cf32910 (patch)
tree55b799645d5c21f083889b3f9c5349b29fb28a59 /npc/000-2-0/doors.txt
parentb4a204ba64cd5524bc5962f20ec5f69cf11212ad (diff)
downloadserverdata-339a9da08ec3e2961e05b466724a3aa71cf32910.tar.gz
serverdata-339a9da08ec3e2961e05b466724a3aa71cf32910.tar.bz2
serverdata-339a9da08ec3e2961e05b466724a3aa71cf32910.tar.xz
serverdata-339a9da08ec3e2961e05b466724a3aa71cf32910.zip
Chance warp location on 000-1,
Change Alige's script template, Add new dialogue on doors script, Cut Nard script in two part and add box script with new quest inside.
Diffstat (limited to 'npc/000-2-0/doors.txt')
-rw-r--r--npc/000-2-0/doors.txt35
1 files changed, 32 insertions, 3 deletions
diff --git a/npc/000-2-0/doors.txt b/npc/000-2-0/doors.txt
index cbca847b..ccd2f04d 100644
--- a/npc/000-2-0/doors.txt
+++ b/npc/000-2-0/doors.txt
@@ -8,9 +8,38 @@
000-2-0.gat,20,27,0,1 script AreaNPC 0,0,0,{
OnTouch:
+ set @q, geta2(ShipQuests, ShipQuests_Nardbox);
+ if (@q == 1) goto l_Warp;
+ if (@q == 2) goto l_GotoNard;
+ if (@q == 3) goto l_End;
+ setcamnpc "Julia";
+ mesn "Julia";
+ mesq l("Cap'tain has locked the door, you should go see him.");
+ next;
+
+ mesn "Narrator";
+ mes col(l("Nard, the captain of the ship is in the room at your left."), 9);
+ restorecam;
+
+ close;
+
+l_Warp:
+ warp "000-1", 93, 105;
+ close;
+
+l_GotoNard:
+ setcamnpc "Julia";
+ mesn "Julia";
+ mesq l("Cap'tain is waiting for you! Hurry up.");
+ next;
+ restorecam;
+
+ close;
+
+l_End:
mesn "Narrator";
- mes col(l("This door seems locked."), 9);
- close;
+ mes col(l("The door is closed."), 9);
+ close;
-}
+} \ No newline at end of file