diff options
Diffstat (limited to 'npc/002-3')
-rw-r--r-- | npc/002-3/doors.txt | 25 |
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; |