summaryrefslogtreecommitdiff
path: root/npc/002-3/doors.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-3/doors.txt')
-rw-r--r--npc/002-3/doors.txt35
1 files changed, 3 insertions, 32 deletions
diff --git a/npc/002-3/doors.txt b/npc/002-3/doors.txt
index 5a8d4da62..371e25982 100644
--- a/npc/002-3/doors.txt
+++ b/npc/002-3/doors.txt
@@ -2,28 +2,20 @@
// Author:
// Jesusalva
// Description:
-// Doors NPCs.
+// Nard's ship Doors NPCs.
002-3,30,28,0 script AreaNPC#doors4 NPC_HIDDEN,0,0,{
OnTouch:
- .@nard = getq(ShipQuests_Nard);
-
- if (LOCATION$ == "Candor")
- {
+ if (LOCATION$ == "Candor") {
warp "005-1", 42, 107;
close;
}
- if (LOCATION$ == "Tulim")
- {
+ if (LOCATION$ == "Tulim") {
warp "003-1", 81, 68;
close;
}
- // None of these checks will ever return positive, but were kept when delay is applied.
- if (.@nard == 4) goto L_GotoNard;
- if (.@nard == 5) goto L_End;
-
setcamnpc "Julia";
mesn "Julia";
mesq l("The captain has locked the door, you should go see him.");
@@ -36,27 +28,6 @@ OnTouch:
close;
-L_GotoNard:
- setcamnpc "Julia";
- mesn "Julia";
- mesq l("The captain is waiting for you! Hurry up.");
- next;
- restorecam;
-
- close;
-
-L_End:
- mesn "Narrator";
- mesq col(l("This door is locked."), 9);
- setcamnpc "Julia";
- next;
- mesn "Julia";
- mesq l("We're soon leaving that island, please return to your cabine.");
- next;
- restorecam;
-
- close;
-
OnInterIfInit: