summaryrefslogtreecommitdiff
path: root/npc/002-5
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/002-5
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/002-5')
-rw-r--r--npc/002-5/_import.txt3
-rw-r--r--npc/002-5/main.txt48
2 files changed, 51 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;
+}