From a3ec3a2dd085f7a837a9d0c24a5e0749a74ea644 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 27 May 2018 18:32:10 -0300 Subject: Initial version for Nard's high sea ship, fresh import from BR, not yet modified. --- npc/002-5/_import.txt | 3 +++ npc/002-5/main.txt | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ npc/_import.txt | 1 + 3 files changed, 52 insertions(+) create mode 100644 npc/002-5/_import.txt create mode 100644 npc/002-5/main.txt (limited to 'npc') 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" -- cgit v1.2.3-60-g2f50