summaryrefslogtreecommitdiff
path: root/npc/005-1
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-11 09:45:06 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-11 09:45:06 -0200
commit972e6444b1c44ebaee4b40516958c34c19e18ca2 (patch)
tree72791b5a8a4aef763bc5fa04263eefc6be82baac /npc/005-1
parent0b8f2b333aabbd61ea9f3c400ffabbb3c49bff9d (diff)
downloadserverdata-972e6444b1c44ebaee4b40516958c34c19e18ca2.tar.gz
serverdata-972e6444b1c44ebaee4b40516958c34c19e18ca2.tar.bz2
serverdata-972e6444b1c44ebaee4b40516958c34c19e18ca2.tar.xz
serverdata-972e6444b1c44ebaee4b40516958c34c19e18ca2.zip
This is core for moving in and out of Nard's ship
Diffstat (limited to 'npc/005-1')
-rw-r--r--npc/005-1/_import.txt1
-rw-r--r--npc/005-1/_warps.txt1
-rw-r--r--npc/005-1/ship.txt17
3 files changed, 18 insertions, 1 deletions
diff --git a/npc/005-1/_import.txt b/npc/005-1/_import.txt
index a8d19df94..fe3f5737c 100644
--- a/npc/005-1/_import.txt
+++ b/npc/005-1/_import.txt
@@ -6,6 +6,7 @@
"npc/005-1/ayasha.txt",
"npc/005-1/liana.txt",
"npc/005-1/maya.txt",
+"npc/005-1/ship.txt",
"npc/005-1/soul-menhir.txt",
"npc/005-1/warpcandorbattle.txt",
"npc/005-1/zegas.txt",
diff --git a/npc/005-1/_warps.txt b/npc/005-1/_warps.txt
index 7524340cf..a0d244861 100644
--- a/npc/005-1/_warps.txt
+++ b/npc/005-1/_warps.txt
@@ -1,6 +1,5 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
// Map 005-1: Candor Island warps
-005-1,43,107,0 warp #005-1_43_107 0,0,002-2,21,28
005-1,31,79,0 warp #005-1_31_79 0,0,005-2,33,42
005-1,34,74,0 warp #005-1_34_74 0,0,005-3,25,42
005-1,48,70,0 warp #005-1_48_70 0,0,005-4,25,42
diff --git a/npc/005-1/ship.txt b/npc/005-1/ship.txt
new file mode 100644
index 000000000..72cc2932a
--- /dev/null
+++ b/npc/005-1/ship.txt
@@ -0,0 +1,17 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// This script controls access to Nard's Ship, fixing variables.
+
+005-1,43,107,0 script CandorShip NPC_HIDDEN,0,0,{
+
+OnTouch:
+ LOCATION$="Candor";
+ goto L_Warp;
+
+L_Warp:
+ warp "002-3", 21, 28;
+ closedialog;
+ close;
+}