summaryrefslogtreecommitdiff
path: root/npc/016-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-10 16:46:01 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-10 16:46:01 -0300
commit17f52684d8dec6b08b78619a264e949ccd79bd5f (patch)
tree936499ee7246ad00f010b72e87510c8eddb9827d /npc/016-1
parentd4c74c033a8b4b4c78e9a9ce5f819eb57c31870b (diff)
downloadserverdata-17f52684d8dec6b08b78619a264e949ccd79bd5f.tar.gz
serverdata-17f52684d8dec6b08b78619a264e949ccd79bd5f.tar.bz2
serverdata-17f52684d8dec6b08b78619a264e949ccd79bd5f.tar.xz
serverdata-17f52684d8dec6b08b78619a264e949ccd79bd5f.zip
You should be able to arrive at Hurns now.
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;
+}
+
+