diff options
-rw-r--r-- | conf/map/maps.conf | 1 | ||||
-rw-r--r-- | db/map_index.txt | 81 | ||||
-rw-r--r-- | maps/re/002-5.mcache | bin | 0 -> 74 bytes | |||
-rw-r--r-- | npc/002-5/_import.txt | 3 | ||||
-rw-r--r-- | npc/002-5/main.txt | 48 | ||||
-rw-r--r-- | npc/_import.txt | 1 |
6 files changed, 94 insertions, 40 deletions
diff --git a/conf/map/maps.conf b/conf/map/maps.conf index 7ca0ec8c3..e56b2ef10 100644 --- a/conf/map/maps.conf +++ b/conf/map/maps.conf @@ -12,6 +12,7 @@ map_list: ( "002-2", "002-3", "002-4", + "002-5", "003-0-1", "003-0", "003-1-2", diff --git a/db/map_index.txt b/db/map_index.txt index 5a53e2709..1dfbc128b 100644 --- a/db/map_index.txt +++ b/db/map_index.txt @@ -9,43 +9,44 @@ 002-2 9 002-3 10 002-4 11 -003-0-1 12 -003-0 13 -003-1-2 14 -003-1-3 15 -003-1 16 -003-10 17 -003-13 18 -003-2 19 -003-3 20 -003-4-1 21 -003-4 22 -003-5 23 -003-6 24 -003-7 25 -003-8 26 -004-1 27 -004-2-1 28 -004-2 29 -005-1 30 -005-2-1 31 -005-2 32 -005-3 33 -005-4 34 -005-5 35 -005-6 36 -005-7 37 -007-1 38 -009-1 39 -010-1-1 40 -010-1 41 -010-2 42 -011-1 43 -011-2 44 -boss 45 -botcheck 46 -sec_pri 47 -soren-2 48 -soren 49 -test 50 -testbg 51 +002-5 12 +003-0-1 13 +003-0 14 +003-1-2 15 +003-1-3 16 +003-1 17 +003-10 18 +003-13 19 +003-2 20 +003-3 21 +003-4-1 22 +003-4 23 +003-5 24 +003-6 25 +003-7 26 +003-8 27 +004-1 28 +004-2-1 29 +004-2 30 +005-1 31 +005-2-1 32 +005-2 33 +005-3 34 +005-4 35 +005-5 36 +005-6 37 +005-7 38 +007-1 39 +009-1 40 +010-1-1 41 +010-1 42 +010-2 43 +011-1 44 +011-2 45 +boss 46 +botcheck 47 +sec_pri 48 +soren-2 49 +soren 50 +test 51 +testbg 52 diff --git a/maps/re/002-5.mcache b/maps/re/002-5.mcache Binary files differnew file mode 100644 index 000000000..b6d0ae2b1 --- /dev/null +++ b/maps/re/002-5.mcache 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" |