diff options
Diffstat (limited to 'world/map/npc')
44 files changed, 197 insertions, 5 deletions
diff --git a/world/map/npc/001-1/_warps.txt b/world/map/npc/001-1/_warps.txt index 2b3f2dfd..8c648d70 100644 --- a/world/map/npc/001-1/_warps.txt +++ b/world/map/npc/001-1/_warps.txt @@ -7,6 +7,7 @@ 001-1,52,71|warp|-1,-1,001-2,28,27 001-1,49,71|warp|-1,-1,001-2,25,27 001-1,114,99|warp|-1,-1,001-2,25,64 +001-1,114,82|warp|-1,-1,001-2,57,52 001-1,27,32|warp|-1,-1,001-2,28,101 001-1,37,32|warp|-1,-1,001-2,71,101 001-1,55,34|warp|0,-1,001-2,104,101 diff --git a/world/map/npc/001-2/_warps.txt b/world/map/npc/001-2/_warps.txt index 07ebce6d..9eef0564 100644 --- a/world/map/npc/001-2/_warps.txt +++ b/world/map/npc/001-2/_warps.txt @@ -16,3 +16,5 @@ 001-2,57,90|warp|-1,-1,001-2,35,94 001-2,36,95|warp|-1,0,001-2,58,90 001-2,65,26|warp|-1,-1,001-1,59,99 +001-2,60,50|warp|-1,-1,prison,46,23 +001-2,57,53|warp|-1,-1,001-1,114,83 diff --git a/world/map/npc/080-1/_import.txt b/world/map/npc/080-1/_import.txt new file mode 100644 index 00000000..cafaba0c --- /dev/null +++ b/world/map/npc/080-1/_import.txt @@ -0,0 +1,6 @@ +// Map 080-1: Mysterious Glade +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 080-1 +npc: npc/080-1/_mobs.txt +npc: npc/080-1/_nodes.txt +npc: npc/080-1/_warps.txt diff --git a/world/map/npc/080-1/_mobs.txt b/world/map/npc/080-1/_mobs.txt new file mode 100644 index 00000000..6fc52fa7 --- /dev/null +++ b/world/map/npc/080-1/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Mysterious Glade mobs + diff --git a/world/map/npc/080-1/_nodes.txt b/world/map/npc/080-1/_nodes.txt new file mode 100644 index 00000000..449b6975 --- /dev/null +++ b/world/map/npc/080-1/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Mysterious Glade nodes + +// (no nodes) diff --git a/world/map/npc/080-1/_warps.txt b/world/map/npc/080-1/_warps.txt new file mode 100644 index 00000000..97de0f6f --- /dev/null +++ b/world/map/npc/080-1/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Mysterious Glade warps + diff --git a/world/map/npc/080-3/_import.txt b/world/map/npc/080-3/_import.txt new file mode 100644 index 00000000..593a5e46 --- /dev/null +++ b/world/map/npc/080-3/_import.txt @@ -0,0 +1,6 @@ +// Map 080-3: Forgotten Glade +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 080-3 +npc: npc/080-3/_mobs.txt +npc: npc/080-3/_nodes.txt +npc: npc/080-3/_warps.txt diff --git a/world/map/npc/080-3/_mobs.txt b/world/map/npc/080-3/_mobs.txt new file mode 100644 index 00000000..5fce2024 --- /dev/null +++ b/world/map/npc/080-3/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Forgotten Glade mobs + diff --git a/world/map/npc/080-3/_nodes.txt b/world/map/npc/080-3/_nodes.txt new file mode 100644 index 00000000..c809d136 --- /dev/null +++ b/world/map/npc/080-3/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Forgotten Glade nodes + +// (no nodes) diff --git a/world/map/npc/080-3/_warps.txt b/world/map/npc/080-3/_warps.txt new file mode 100644 index 00000000..e6ecce07 --- /dev/null +++ b/world/map/npc/080-3/_warps.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Forgotten Glade warps + +080-3,84,155|warp|0,-1,081-3,44,23 diff --git a/world/map/npc/081-1/_import.txt b/world/map/npc/081-1/_import.txt new file mode 100644 index 00000000..f35b3648 --- /dev/null +++ b/world/map/npc/081-1/_import.txt @@ -0,0 +1,6 @@ +// Map 081-1: Aethyr +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 081-1 +npc: npc/081-1/_mobs.txt +npc: npc/081-1/_nodes.txt +npc: npc/081-1/_warps.txt diff --git a/world/map/npc/081-1/_mobs.txt b/world/map/npc/081-1/_mobs.txt new file mode 100644 index 00000000..27f6cc97 --- /dev/null +++ b/world/map/npc/081-1/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Aethyr mobs + diff --git a/world/map/npc/081-1/_nodes.txt b/world/map/npc/081-1/_nodes.txt new file mode 100644 index 00000000..4eb18abe --- /dev/null +++ b/world/map/npc/081-1/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Aethyr nodes + +// (no nodes) diff --git a/world/map/npc/081-1/_warps.txt b/world/map/npc/081-1/_warps.txt new file mode 100644 index 00000000..e56660cc --- /dev/null +++ b/world/map/npc/081-1/_warps.txt @@ -0,0 +1,6 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Aethyr warps + +081-1,68,30|warp|-1,-1,081-2,90,298 +081-1,58,104|warp|-1,-1,020-1,84,75 +081-1,44,89|warp|-1,-1,082-2,88,25 diff --git a/world/map/npc/081-2/_import.txt b/world/map/npc/081-2/_import.txt new file mode 100644 index 00000000..60017ade --- /dev/null +++ b/world/map/npc/081-2/_import.txt @@ -0,0 +1,6 @@ +// Map 081-2: Northern Lights +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 081-2 +npc: npc/081-2/_mobs.txt +npc: npc/081-2/_nodes.txt +npc: npc/081-2/_warps.txt diff --git a/world/map/npc/081-2/_mobs.txt b/world/map/npc/081-2/_mobs.txt new file mode 100644 index 00000000..fa19192a --- /dev/null +++ b/world/map/npc/081-2/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Northern Lights mobs + diff --git a/world/map/npc/081-2/_nodes.txt b/world/map/npc/081-2/_nodes.txt new file mode 100644 index 00000000..b4162204 --- /dev/null +++ b/world/map/npc/081-2/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Northern Lights nodes + +// (no nodes) diff --git a/world/map/npc/081-2/_warps.txt b/world/map/npc/081-2/_warps.txt new file mode 100644 index 00000000..0f47357f --- /dev/null +++ b/world/map/npc/081-2/_warps.txt @@ -0,0 +1,5 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Northern Lights warps + +081-2,90,20|warp|-1,-1,081-3,44,50 +081-2,90,299|warp|-1,-1,081-1,68,31 diff --git a/world/map/npc/081-3/_import.txt b/world/map/npc/081-3/_import.txt new file mode 100644 index 00000000..237a93c5 --- /dev/null +++ b/world/map/npc/081-3/_import.txt @@ -0,0 +1,6 @@ +// Map 081-3: Existential Frontier +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 081-3 +npc: npc/081-3/_mobs.txt +npc: npc/081-3/_nodes.txt +npc: npc/081-3/_warps.txt diff --git a/world/map/npc/081-3/_mobs.txt b/world/map/npc/081-3/_mobs.txt new file mode 100644 index 00000000..6493e765 --- /dev/null +++ b/world/map/npc/081-3/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Existential Frontier mobs + diff --git a/world/map/npc/081-3/_nodes.txt b/world/map/npc/081-3/_nodes.txt new file mode 100644 index 00000000..5ca051db --- /dev/null +++ b/world/map/npc/081-3/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Existential Frontier nodes + +// (no nodes) diff --git a/world/map/npc/081-3/_warps.txt b/world/map/npc/081-3/_warps.txt new file mode 100644 index 00000000..fcca59a7 --- /dev/null +++ b/world/map/npc/081-3/_warps.txt @@ -0,0 +1,5 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Existential Frontier warps + +081-3,44,22|warp|-1,-1,080-3,84,154 +081-3,44,51|warp|-1,-1,081-2,90,21 diff --git a/world/map/npc/082-2/_import.txt b/world/map/npc/082-2/_import.txt new file mode 100644 index 00000000..5d5646d1 --- /dev/null +++ b/world/map/npc/082-2/_import.txt @@ -0,0 +1,6 @@ +// Map 082-2: Porthos - Frontier +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 082-2 +npc: npc/082-2/_mobs.txt +npc: npc/082-2/_nodes.txt +npc: npc/082-2/_warps.txt diff --git a/world/map/npc/082-2/_mobs.txt b/world/map/npc/082-2/_mobs.txt new file mode 100644 index 00000000..689ad2b7 --- /dev/null +++ b/world/map/npc/082-2/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Porthos - Frontier mobs + diff --git a/world/map/npc/082-2/_nodes.txt b/world/map/npc/082-2/_nodes.txt new file mode 100644 index 00000000..9b2e0796 --- /dev/null +++ b/world/map/npc/082-2/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Porthos - Frontier nodes + +// (no nodes) diff --git a/world/map/npc/082-2/_warps.txt b/world/map/npc/082-2/_warps.txt new file mode 100644 index 00000000..249afc27 --- /dev/null +++ b/world/map/npc/082-2/_warps.txt @@ -0,0 +1,9 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Porthos - Frontier warps + +082-2,81,13|warp|-1,-1,000-1,22,22 +082-2,44,13|warp|-1,-1,000-1,22,22 +082-2,55,33|warp|-1,-1,000-1,22,22 +082-2,57,12|warp|-1,-1,000-1,22,22 +082-2,28,16|warp|-1,-1,082-3,111,35 +082-2,88,26|warp|-1,-1,081-1,44,90 diff --git a/world/map/npc/082-3/_import.txt b/world/map/npc/082-3/_import.txt new file mode 100644 index 00000000..6f883e7e --- /dev/null +++ b/world/map/npc/082-3/_import.txt @@ -0,0 +1,6 @@ +// Map 082-3: Aether Caves +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 082-3 +npc: npc/082-3/_mobs.txt +npc: npc/082-3/_nodes.txt +npc: npc/082-3/_warps.txt diff --git a/world/map/npc/082-3/_mobs.txt b/world/map/npc/082-3/_mobs.txt new file mode 100644 index 00000000..9d8f3638 --- /dev/null +++ b/world/map/npc/082-3/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Aether Caves mobs + diff --git a/world/map/npc/082-3/_nodes.txt b/world/map/npc/082-3/_nodes.txt new file mode 100644 index 00000000..1de2e9c5 --- /dev/null +++ b/world/map/npc/082-3/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Aether Caves nodes + +// (no nodes) diff --git a/world/map/npc/082-3/_warps.txt b/world/map/npc/082-3/_warps.txt new file mode 100644 index 00000000..8bfc67ad --- /dev/null +++ b/world/map/npc/082-3/_warps.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Aether Caves warps + +082-3,111,34|warp|-1,-1,082-2,28,17 diff --git a/world/map/npc/_import.txt b/world/map/npc/_import.txt index 2e832cdb..835d6613 100644 --- a/world/map/npc/_import.txt +++ b/world/map/npc/_import.txt @@ -122,6 +122,13 @@ import: npc/058-2/_import.txt import: npc/069-2/_import.txt import: npc/070-1/_import.txt import: npc/070-3/_import.txt +import: npc/080-1/_import.txt +import: npc/080-3/_import.txt +import: npc/081-1/_import.txt +import: npc/081-2/_import.txt +import: npc/081-3/_import.txt +import: npc/082-2/_import.txt +import: npc/082-3/_import.txt import: npc/099-1/_import.txt import: npc/099-2/_import.txt import: npc/099-3/_import.txt @@ -131,3 +138,6 @@ import: npc/099-6/_import.txt import: npc/099-7/_import.txt import: npc/099-8/_import.txt import: npc/botcheck/_import.txt +import: npc/fermi/_import.txt +import: npc/guild/_import.txt +import: npc/prison/_import.txt diff --git a/world/map/npc/fermi/_import.txt b/world/map/npc/fermi/_import.txt new file mode 100644 index 00000000..3860cda1 --- /dev/null +++ b/world/map/npc/fermi/_import.txt @@ -0,0 +1,6 @@ +// Map fermi: Three Fermi Land +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: fermi +npc: npc/fermi/_mobs.txt +npc: npc/fermi/_nodes.txt +npc: npc/fermi/_warps.txt diff --git a/world/map/npc/fermi/_mobs.txt b/world/map/npc/fermi/_mobs.txt new file mode 100644 index 00000000..d49b9534 --- /dev/null +++ b/world/map/npc/fermi/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Three Fermi Land mobs + diff --git a/world/map/npc/fermi/_nodes.txt b/world/map/npc/fermi/_nodes.txt new file mode 100644 index 00000000..2f3e21fc --- /dev/null +++ b/world/map/npc/fermi/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Three Fermi Land nodes + +// (no nodes) diff --git a/world/map/npc/fermi/_warps.txt b/world/map/npc/fermi/_warps.txt new file mode 100644 index 00000000..a8a14cb8 --- /dev/null +++ b/world/map/npc/fermi/_warps.txt @@ -0,0 +1,5 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Three Fermi Land warps + +fermi,29,19|warp|-1,-1,017-9,32,31 +fermi,21,19|warp|-1,-1,009-1,42,44 diff --git a/world/map/npc/functions/treasure_hunt.txt b/world/map/npc/functions/treasure_hunt.txt index 4db5d2ef..0e97adce 100644 --- a/world/map/npc/functions/treasure_hunt.txt +++ b/world/map/npc/functions/treasure_hunt.txt @@ -103,8 +103,8 @@ OnDig: mobcount($TREASURE_MAP$, "TreasureDigAux::OnMobKill") + mobcount($TREASURE_MAP$, "TreasureDigAux::OnPirateKill"); if ($TREASURE_DEBUG) debugmes "OnDig: mob count = " + @treasureMobs; - if (@treasureMobs > 220) message strcharinfo(0), "Its too crowded here to dig! Perhaps kill some mob first?"; - if (@treasureMobs > 220) end; // Do not let users spam server by mobs indefinitely + if (@treasureMobs > 300) message strcharinfo(0), "Its too crowded here to dig! Perhaps kill some mob first?"; + if (@treasureMobs > 300) end; // Do not let users spam server by mobs indefinitely set .@puppet$, "#"+strnpcinfo(0)+"#"+BL_ID; set .@puppet, puppet(getmap(), POS_X, POS_Y, .@puppet$, 127); if (.@puppet < 1) end; // It also denies player launching N instances at once. @@ -206,6 +206,7 @@ OnBootyRound: L_Finalize: addtimer 0, "TreasureDigAux::OnMainBooty", .digger; // Hand over to final reward handler. + mapannounce strnpcinfo(3), "Treasure : Digger " + .diggernm$ + " found treasure!", 0; npctalk strnpcinfo(0), "Digging : ##3##B [TREASURE] Victory! Treasure hunter " + .diggernm$ + " got booty!"; destroy; @@ -222,7 +223,7 @@ OnInit: // Main digging round handling logic happens here, spawns + dig fallouts // Input: Arg0: round # // Arg1: players str -// Returns: 0 if all ok, 1 = failure, +// Returns: 0 if all ok, 1 = failure, 9 = max round reached. function|script|treasure_dig_round { set .@round, getarg(0, -1); @@ -432,7 +433,7 @@ OnPlayerEstimate: // Emit few collateral items spawner OnCollateral1: if ($TREASURE_DEBUG) debugmes "OnCollateral1"; - setarray .@items1[0], SulphurPowder, IronPowder, BlackScorpionStinger; + setarray .@items1[0], SulphurPowder, IronPowder, BlackScorpionStinger, TreasureKey, Bone, Skull; set .@itemID, .@items1[rand(getarraysize(.@items1))]; // random collateral if ($TREASURE_DEBUG) debugmes "OnCollateral1 .@itemID=" + .@itemID; makeitem .@itemID, 1, getmap(), rand(POS_X-2,POS_X+2), rand(POS_Y-2,POS_Y+2); @@ -441,7 +442,7 @@ OnCollateral1: // Emit plenty of collateral items spawner (treasure reward mode) OnCollateral10: if ($TREASURE_DEBUG) debugmes "OnCollateral10"; - setarray .@items10[0], Pearl, Sapphire, Amethyst, GoldenTooth, GoldOre; + setarray .@items10[0], Pearl, Sapphire, Amethyst, GoldenTooth, GoldOre, CoinBag; set .@count, 0; goto L_RandomItems; diff --git a/world/map/npc/guild/_import.txt b/world/map/npc/guild/_import.txt new file mode 100644 index 00000000..80ea053b --- /dev/null +++ b/world/map/npc/guild/_import.txt @@ -0,0 +1,6 @@ +// Map guild: Guild Bot Area +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: guild +npc: npc/guild/_mobs.txt +npc: npc/guild/_nodes.txt +npc: npc/guild/_warps.txt diff --git a/world/map/npc/guild/_mobs.txt b/world/map/npc/guild/_mobs.txt new file mode 100644 index 00000000..5faafe87 --- /dev/null +++ b/world/map/npc/guild/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Guild Bot Area mobs + diff --git a/world/map/npc/guild/_nodes.txt b/world/map/npc/guild/_nodes.txt new file mode 100644 index 00000000..629ccce8 --- /dev/null +++ b/world/map/npc/guild/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Guild Bot Area nodes + +// (no nodes) diff --git a/world/map/npc/guild/_warps.txt b/world/map/npc/guild/_warps.txt new file mode 100644 index 00000000..748604a3 --- /dev/null +++ b/world/map/npc/guild/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Guild Bot Area warps + diff --git a/world/map/npc/prison/_import.txt b/world/map/npc/prison/_import.txt new file mode 100644 index 00000000..ba495023 --- /dev/null +++ b/world/map/npc/prison/_import.txt @@ -0,0 +1,6 @@ +// Map prison: Prison +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: prison +npc: npc/prison/_mobs.txt +npc: npc/prison/_nodes.txt +npc: npc/prison/_warps.txt diff --git a/world/map/npc/prison/_mobs.txt b/world/map/npc/prison/_mobs.txt new file mode 100644 index 00000000..5f4bbb79 --- /dev/null +++ b/world/map/npc/prison/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Prison mobs + diff --git a/world/map/npc/prison/_nodes.txt b/world/map/npc/prison/_nodes.txt new file mode 100644 index 00000000..fcfcd7e3 --- /dev/null +++ b/world/map/npc/prison/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Prison nodes + +// (no nodes) diff --git a/world/map/npc/prison/_warps.txt b/world/map/npc/prison/_warps.txt new file mode 100644 index 00000000..26f3dd9d --- /dev/null +++ b/world/map/npc/prison/_warps.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Prison warps + +prison,46,22|warp|-1,-1,001-2,60,49 |