summaryrefslogtreecommitdiff
path: root/npc/016-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/016-1')
-rw-r--r--npc/016-1/_import.txt1
-rw-r--r--npc/016-1/doors.txt24
2 files changed, 25 insertions, 0 deletions
diff --git a/npc/016-1/_import.txt b/npc/016-1/_import.txt
index a366f8e21..9dcb1e0ad 100644
--- a/npc/016-1/_import.txt
+++ b/npc/016-1/_import.txt
@@ -1,4 +1,5 @@
// Map 016-1: La Marine First Deck
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/016-1/_mobs.txt",
+"npc/016-1/doors.txt",
"npc/016-1/marine.txt",
diff --git a/npc/016-1/doors.txt b/npc/016-1/doors.txt
new file mode 100644
index 000000000..62759c83a
--- /dev/null
+++ b/npc/016-1/doors.txt
@@ -0,0 +1,24 @@
+// TMW2 Scripts.
+// Author:
+// Jesusalva
+// Description:
+// La Marine ship Doors NPCs.
+
+016-1,21,25,0 script #MarineToOutside NPC_HIDDEN,0,0,{
+
+OnTouch:
+ .@nard = getq(ShipQuests_Nard);
+
+ if (LOCATION$ == "Hurns") {
+ warp "012-1", 141, 65;
+ close;
+ }
+ if (LOCATION$ == "Tulim") {
+ warp "003-1", 81, 68;
+ close;
+ }
+ mes col("Oh noes! The door is locked!! Quick! Call a GM!!!", 1);
+ close;
+}
+
+