summaryrefslogtreecommitdiff
path: root/npc/002-3/doors.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-15 23:49:41 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-15 23:49:41 -0200
commit4a169df04609183321dd80182be8c4e162b2855a (patch)
tree722e193ee28bfae99cee2baf6a73b0ebff541caf /npc/002-3/doors.txt
parent78cb399f0f60341882f28cb7c783c353e96231ef (diff)
downloadserverdata-4a169df04609183321dd80182be8c4e162b2855a.tar.gz
serverdata-4a169df04609183321dd80182be8c4e162b2855a.tar.bz2
serverdata-4a169df04609183321dd80182be8c4e162b2855a.tar.xz
serverdata-4a169df04609183321dd80182be8c4e162b2855a.zip
Dump new players at Candor - highly experimental
Diffstat (limited to 'npc/002-3/doors.txt')
-rw-r--r--npc/002-3/doors.txt25
1 files changed, 14 insertions, 11 deletions
diff --git a/npc/002-3/doors.txt b/npc/002-3/doors.txt
index 82a005a08..75a08348d 100644
--- a/npc/002-3/doors.txt
+++ b/npc/002-3/doors.txt
@@ -7,6 +7,19 @@
002-3,30,28,0 script AreaNPC#doors4 NPC_HIDDEN,0,0,{
OnTouch:
+ if (getq(ShipQuests_Julia) < 3) {
+ setcamnpc "Julia";
+ mesn "Julia";
+ mesq l("The captain has locked the door, you should go see him.");
+ next;
+
+ mesn "Narrator";
+ mesc l("Captain Nard is in the room to your right.");
+ next;
+ restorecam;
+ close;
+ }
+
if (LOCATION$ == "Candor") {
warp "005-1", 42, 107;
close;
@@ -15,17 +28,7 @@ OnTouch:
warp "003-1", 81, 68;
close;
}
-
- setcamnpc "Julia";
- mesn "Julia";
- mesq l("The captain has locked the door, you should go see him.");
- next;
-
- mesn "Narrator";
- mesc l("Captain Nard is in the room to your right.");
- next;
- restorecam;
-
+ debugmes "Script error: 002-3 door";
close;