summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-27 18:32:10 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-27 18:32:10 -0300
commita3ec3a2dd085f7a837a9d0c24a5e0749a74ea644 (patch)
tree33b8b73c7ff73ea2f728d26b5a1172a54cc9007b /npc
parent91be20a926f1a381a57fe669a0efcdf918191cf4 (diff)
downloadserverdata-a3ec3a2dd085f7a837a9d0c24a5e0749a74ea644.tar.gz
serverdata-a3ec3a2dd085f7a837a9d0c24a5e0749a74ea644.tar.bz2
serverdata-a3ec3a2dd085f7a837a9d0c24a5e0749a74ea644.tar.xz
serverdata-a3ec3a2dd085f7a837a9d0c24a5e0749a74ea644.zip
Initial version for Nard's high sea ship, fresh import from BR, not yet modified.
Diffstat (limited to 'npc')
-rw-r--r--npc/002-5/_import.txt3
-rw-r--r--npc/002-5/main.txt48
-rw-r--r--npc/_import.txt1
3 files changed, 52 insertions, 0 deletions
diff --git a/npc/002-5/_import.txt b/npc/002-5/_import.txt
new file mode 100644
index 000000000..1e44e8d59
--- /dev/null
+++ b/npc/002-5/_import.txt
@@ -0,0 +1,3 @@
+// Map 002-5: Ocean
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/002-5/main.txt",
diff --git a/npc/002-5/main.txt b/npc/002-5/main.txt
new file mode 100644
index 000000000..667712270
--- /dev/null
+++ b/npc/002-5/main.txt
@@ -0,0 +1,48 @@
+// TMW2 script
+// Originals from TMW-BR
+// TODO WARNING: File not yet modified. DO NOT USE.
+
+002-5,28,27,0 script #teleporterNavio NPC_HIDDEN,117,29,{
+ end;
+
+OnEvent:
+ if (PC_DEST == 1) goto L_Destino1;
+ if (PC_DEST == 2) goto L_Destino2;
+ if (PC_DEST == 3) goto L_Destino3;
+ end;
+
+L_Destino1:
+ message strcharinfo(0), "" + strcharinfo(0) + " desembarcou na Ilha de Bhramir.";
+ warp "007", 21, 94;
+ PC_DEST = 0;
+ @timer_navio_running = 0;
+ end;
+
+L_Destino2:
+ message strcharinfo(0), "" + strcharinfo(0) + " desembarcou no Polo Norte.";
+ warp "010", 178, 67;
+ PC_DEST = 0;
+ @timer_navio_running = 0;
+ end;
+
+L_Destino3:
+ message strcharinfo(0), "" + strcharinfo(0) + " desembarcou nas Terras Desconhecidas.";
+ warp "org016", 51, 102;
+ PC_DEST = 0;
+ @timer_navio_running = 0;
+ end;
+}
+
+002-5,40,26,0 script Elmo NPC_ELMO,{
+ set @porto, 0; // Em alto mar
+ //callfunc "CapitaoMirc";
+ hello;
+ close2;
+ if (PC_DEST != 0 && @timer_navio_running == 0) goto L_Timer;
+ end;
+
+L_Timer:
+ addtimer 42000, "#teleporterNavio::OnEvent";
+ @timer_navio_running = 1;
+ end;
+}
diff --git a/npc/_import.txt b/npc/_import.txt
index 683dcae10..541b000a5 100644
--- a/npc/_import.txt
+++ b/npc/_import.txt
@@ -11,6 +11,7 @@
@include "npc/002-2/_import.txt"
@include "npc/002-3/_import.txt"
@include "npc/002-4/_import.txt"
+@include "npc/002-5/_import.txt"
@include "npc/003-0-1/_import.txt"
@include "npc/003-0/_import.txt"
@include "npc/003-1-2/_import.txt"