From 5dcea77402012d5416a523715319f8346e0cf188 Mon Sep 17 00:00:00 2001 From: Omnione <10185476+Omnione@users.noreply.github.com> Date: Fri, 22 Nov 2019 17:56:56 -0500 Subject: [PATCH 1/5] All casket zones added temp item scripts handled rate control and PROWESS_CASKET_RATE handling corrected --- scripts/globals/caskets.lua | 4323 ++++++++++++++++- scripts/globals/effects/intension.lua | 2 + scripts/globals/effects/pax.lua | 2 + .../items/bottle_of_ascetics_gambir.lua | 16 + .../items/bottle_of_ascetics_tonic.lua | 16 + .../globals/items/bottle_of_catholicon.lua | 54 + .../globals/items/bottle_of_catholicon_+1.lua | 51 + .../items/bottle_of_champions_tonic.lua | 16 + .../globals/items/bottle_of_clerics_drink.lua | 47 + .../items/bottle_of_fanatics_tonic.lua | 16 + .../items/bottle_of_gnostics_drink.lua | 21 + .../items/bottle_of_monarchs_drink.lua | 21 + .../items/bottle_of_stalwarts_gambir.lua | 16 + .../items/bottle_of_stalwarts_tonic.lua | 18 + .../globals/items/bottle_of_vicars_drink.lua | 43 + scripts/globals/items/dusty_elixir.lua | 18 + scripts/globals/items/dusty_wing.lua | 2 +- .../globals/items/flask_of_healing_mist.lua | 20 + .../globals/items/flask_of_healing_powder.lua | 19 + scripts/globals/items/flask_of_mana_mist.lua | 20 + scripts/globals/items/lucid_potion_i.lua | 17 + scripts/globals/items/lucid_potion_ii.lua | 17 + scripts/globals/items/lucid_potion_iii.lua | 17 + .../globals/items/pair_of_lucid_wings_i.lua | 18 + .../globals/items/pinch_of_mana_powder.lua | 19 + .../globals/items/tube_of_clear_salve_i.lua | 59 + .../globals/items/tube_of_clear_salve_ii.lua | 48 + .../globals/items/tube_of_healing_salve_i.lua | 21 + .../items/tube_of_healing_salve_ii.lua | 21 + scripts/globals/regimes.lua | 8 +- scripts/globals/settings.lua | 6 - scripts/mixins/spawn_casket.lua | 5 +- scripts/mixins/zones/Batallia_Downs.lua | 4 + scripts/mixins/zones/Beaucedine_Glacier.lua | 4 + scripts/mixins/zones/Behemoths_Dominion.lua | 4 + .../mixins/zones/Bostaunieux_Oubliette.lua | 4 + scripts/mixins/zones/Buburimu_Peninsula.lua | 4 + scripts/mixins/zones/Cape_Teriggan.lua | 4 + scripts/mixins/zones/Crawlers_Nest.lua | 4 + scripts/mixins/zones/Dangruf_Wadi.lua | 4 + scripts/mixins/zones/Den_of_Rancor.lua | 4 + scripts/mixins/zones/East_Sarutabaruta.lua | 4 + .../mixins/zones/Eastern_Altepa_Desert.lua | 4 + scripts/mixins/zones/FeiYin.lua | 4 + scripts/mixins/zones/Garlaige_Citadel.lua | 4 + scripts/mixins/zones/Gusgen_Mines.lua | 4 + scripts/mixins/zones/Gustav_Tunnel.lua | 4 + scripts/mixins/zones/Ifrits_Cauldron.lua | 4 + scripts/mixins/zones/Inner_Horutoto_Ruins.lua | 4 + scripts/mixins/zones/Jugner_Forest.lua | 4 + scripts/mixins/zones/King_Ranperres_Tomb.lua | 4 + scripts/mixins/zones/Konschtat_Highlands.lua | 4 + scripts/mixins/zones/Korroloka_Tunnel.lua | 4 + scripts/mixins/zones/Kuftal_Tunnel.lua | 4 + scripts/mixins/zones/La_Theine_Plateau.lua | 4 + scripts/mixins/zones/Labyrinth_of_Onzozo.lua | 4 + .../mixins/zones/Lower_Delkfutts_Tower.lua | 4 + scripts/mixins/zones/Maze_of_Shakhrami.lua | 4 + .../mixins/zones/Meriphataud_Mountains.lua | 4 + .../mixins/zones/Middle_Delkfutts_Tower.lua | 4 + scripts/mixins/zones/North_Gustaberg.lua | 4 + scripts/mixins/zones/Ordelles_Caves.lua | 4 + scripts/mixins/zones/Outer_Horutoto_Ruins.lua | 4 + scripts/mixins/zones/Pashhow_Marshlands.lua | 4 + scripts/mixins/zones/Qufim_Island.lua | 4 + scripts/mixins/zones/Ranguemont_Pass.lua | 4 + scripts/mixins/zones/RoMaeve.lua | 4 + scripts/mixins/zones/Rolanberry_Fields.lua | 4 + scripts/mixins/zones/RuAun_Gardens.lua | 4 + scripts/mixins/zones/Sauromugue_Champaign.lua | 4 + scripts/mixins/zones/Sea_Serpent_Grotto.lua | 4 + scripts/mixins/zones/South_Gustaberg.lua | 4 + scripts/mixins/zones/Tahrongi_Canyon.lua | 4 + scripts/mixins/zones/Temple_of_Uggalepih.lua | 4 + scripts/mixins/zones/The_Boyahda_Tree.lua | 4 + .../mixins/zones/The_Eldieme_Necropolis.lua | 4 + .../mixins/zones/The_Sanctuary_of_ZiTah.lua | 4 + .../mixins/zones/The_Shrine_of_RuAvitau.lua | 4 + scripts/mixins/zones/Toraimarai_Canal.lua | 4 + .../mixins/zones/Upper_Delkfutts_Tower.lua | 4 + scripts/mixins/zones/Valkurm_Dunes.lua | 4 + scripts/mixins/zones/Valley_of_Sorrows.lua | 4 + scripts/mixins/zones/VeLugannon_Palace.lua | 4 + scripts/mixins/zones/West_Sarutabaruta.lua | 4 + .../mixins/zones/Western_Altepa_Desert.lua | 4 + scripts/mixins/zones/Xarcabard.lua | 4 + scripts/mixins/zones/Yhoator_Jungle.lua | 4 + scripts/mixins/zones/Yuhtunga_Jungle.lua | 4 + scripts/mixins/zones/Zeruhn_Mines.lua | 4 + .../Batallia_Downs/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../Cape_Teriggan/npcs/Treasure_Casket.lua | 20 + .../Crawlers_Nest/npcs/Treasure_Casket.lua | 20 + .../Dangruf_Wadi/npcs/Treasure_Casket.lua | 20 + .../Den_of_Rancor/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + scripts/zones/FeiYin/npcs/Treasure_Casket.lua | 20 + .../Garlaige_Citadel/npcs/Treasure_Casket.lua | 20 + .../Gusgen_Mines/npcs/Treasure_Casket.lua | 20 + .../Gustav_Tunnel/npcs/Treasure_Casket.lua | 20 + .../Ifrits_Cauldron/npcs/Treasure_Casket.lua | 20 + .../Jugner_Forest/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../Korroloka_Tunnel/npcs/Treasure_Casket.lua | 20 + .../Kuftal_Tunnel/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../North_Gustaberg/npcs/Treasure_Casket.lua | 20 + .../Ordelles_Caves/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../Qufim_Island/npcs/Treasure_Casket.lua | 20 + .../Ranguemont_Pass/npcs/Treasure_Casket.lua | 20 + .../zones/RoMaeve/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../RuAun_Gardens/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../South_Gustaberg/npcs/Treasure_Casket.lua | 20 + scripts/zones/Tahrongi_Canyon/IDs.lua | 10 +- .../Tahrongi_Canyon/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../The_Boyahda_Tree/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../Toraimarai_Canal/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../Valkurm_Dunes/npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../npcs/Treasure_Casket.lua | 20 + .../zones/Xarcabard/npcs/Treasure_Casket.lua | 20 + .../Yhoator_Jungle/npcs/Treasure_Casket.lua | 20 + .../Yuhtunga_Jungle/npcs/Treasure_Casket.lua | 20 + .../Zeruhn_Mines/npcs/Treasure_Casket.lua | 20 + 146 files changed, 6321 insertions(+), 34 deletions(-) create mode 100644 scripts/globals/items/bottle_of_ascetics_gambir.lua create mode 100644 scripts/globals/items/bottle_of_ascetics_tonic.lua create mode 100644 scripts/globals/items/bottle_of_catholicon.lua create mode 100644 scripts/globals/items/bottle_of_catholicon_+1.lua create mode 100644 scripts/globals/items/bottle_of_champions_tonic.lua create mode 100644 scripts/globals/items/bottle_of_clerics_drink.lua create mode 100644 scripts/globals/items/bottle_of_fanatics_tonic.lua create mode 100644 scripts/globals/items/bottle_of_gnostics_drink.lua create mode 100644 scripts/globals/items/bottle_of_monarchs_drink.lua create mode 100644 scripts/globals/items/bottle_of_stalwarts_gambir.lua create mode 100644 scripts/globals/items/bottle_of_stalwarts_tonic.lua create mode 100644 scripts/globals/items/bottle_of_vicars_drink.lua create mode 100644 scripts/globals/items/dusty_elixir.lua create mode 100644 scripts/globals/items/flask_of_healing_mist.lua create mode 100644 scripts/globals/items/flask_of_healing_powder.lua create mode 100644 scripts/globals/items/flask_of_mana_mist.lua create mode 100644 scripts/globals/items/lucid_potion_i.lua create mode 100644 scripts/globals/items/lucid_potion_ii.lua create mode 100644 scripts/globals/items/lucid_potion_iii.lua create mode 100644 scripts/globals/items/pair_of_lucid_wings_i.lua create mode 100644 scripts/globals/items/pinch_of_mana_powder.lua create mode 100644 scripts/globals/items/tube_of_clear_salve_i.lua create mode 100644 scripts/globals/items/tube_of_clear_salve_ii.lua create mode 100644 scripts/globals/items/tube_of_healing_salve_i.lua create mode 100644 scripts/globals/items/tube_of_healing_salve_ii.lua create mode 100644 scripts/mixins/zones/Batallia_Downs.lua create mode 100644 scripts/mixins/zones/Beaucedine_Glacier.lua create mode 100644 scripts/mixins/zones/Behemoths_Dominion.lua create mode 100644 scripts/mixins/zones/Bostaunieux_Oubliette.lua create mode 100644 scripts/mixins/zones/Buburimu_Peninsula.lua create mode 100644 scripts/mixins/zones/Cape_Teriggan.lua create mode 100644 scripts/mixins/zones/Crawlers_Nest.lua create mode 100644 scripts/mixins/zones/Dangruf_Wadi.lua create mode 100644 scripts/mixins/zones/Den_of_Rancor.lua create mode 100644 scripts/mixins/zones/East_Sarutabaruta.lua create mode 100644 scripts/mixins/zones/Eastern_Altepa_Desert.lua create mode 100644 scripts/mixins/zones/FeiYin.lua create mode 100644 scripts/mixins/zones/Garlaige_Citadel.lua create mode 100644 scripts/mixins/zones/Gusgen_Mines.lua create mode 100644 scripts/mixins/zones/Gustav_Tunnel.lua create mode 100644 scripts/mixins/zones/Ifrits_Cauldron.lua create mode 100644 scripts/mixins/zones/Inner_Horutoto_Ruins.lua create mode 100644 scripts/mixins/zones/Jugner_Forest.lua create mode 100644 scripts/mixins/zones/King_Ranperres_Tomb.lua create mode 100644 scripts/mixins/zones/Konschtat_Highlands.lua create mode 100644 scripts/mixins/zones/Korroloka_Tunnel.lua create mode 100644 scripts/mixins/zones/Kuftal_Tunnel.lua create mode 100644 scripts/mixins/zones/La_Theine_Plateau.lua create mode 100644 scripts/mixins/zones/Labyrinth_of_Onzozo.lua create mode 100644 scripts/mixins/zones/Lower_Delkfutts_Tower.lua create mode 100644 scripts/mixins/zones/Maze_of_Shakhrami.lua create mode 100644 scripts/mixins/zones/Meriphataud_Mountains.lua create mode 100644 scripts/mixins/zones/Middle_Delkfutts_Tower.lua create mode 100644 scripts/mixins/zones/North_Gustaberg.lua create mode 100644 scripts/mixins/zones/Ordelles_Caves.lua create mode 100644 scripts/mixins/zones/Outer_Horutoto_Ruins.lua create mode 100644 scripts/mixins/zones/Pashhow_Marshlands.lua create mode 100644 scripts/mixins/zones/Qufim_Island.lua create mode 100644 scripts/mixins/zones/Ranguemont_Pass.lua create mode 100644 scripts/mixins/zones/RoMaeve.lua create mode 100644 scripts/mixins/zones/Rolanberry_Fields.lua create mode 100644 scripts/mixins/zones/RuAun_Gardens.lua create mode 100644 scripts/mixins/zones/Sauromugue_Champaign.lua create mode 100644 scripts/mixins/zones/Sea_Serpent_Grotto.lua create mode 100644 scripts/mixins/zones/South_Gustaberg.lua create mode 100644 scripts/mixins/zones/Tahrongi_Canyon.lua create mode 100644 scripts/mixins/zones/Temple_of_Uggalepih.lua create mode 100644 scripts/mixins/zones/The_Boyahda_Tree.lua create mode 100644 scripts/mixins/zones/The_Eldieme_Necropolis.lua create mode 100644 scripts/mixins/zones/The_Sanctuary_of_ZiTah.lua create mode 100644 scripts/mixins/zones/The_Shrine_of_RuAvitau.lua create mode 100644 scripts/mixins/zones/Toraimarai_Canal.lua create mode 100644 scripts/mixins/zones/Upper_Delkfutts_Tower.lua create mode 100644 scripts/mixins/zones/Valkurm_Dunes.lua create mode 100644 scripts/mixins/zones/Valley_of_Sorrows.lua create mode 100644 scripts/mixins/zones/VeLugannon_Palace.lua create mode 100644 scripts/mixins/zones/West_Sarutabaruta.lua create mode 100644 scripts/mixins/zones/Western_Altepa_Desert.lua create mode 100644 scripts/mixins/zones/Xarcabard.lua create mode 100644 scripts/mixins/zones/Yhoator_Jungle.lua create mode 100644 scripts/mixins/zones/Yuhtunga_Jungle.lua create mode 100644 scripts/mixins/zones/Zeruhn_Mines.lua create mode 100644 scripts/zones/Batallia_Downs/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Beaucedine_Glacier/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Behemoths_Dominion/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Bostaunieux_Oubliette/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Buburimu_Peninsula/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Cape_Teriggan/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Crawlers_Nest/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Dangruf_Wadi/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Den_of_Rancor/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/East_Sarutabaruta/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Eastern_Altepa_Desert/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/FeiYin/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Garlaige_Citadel/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Gusgen_Mines/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Gustav_Tunnel/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Ifrits_Cauldron/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Jugner_Forest/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Konschtat_Highlands/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Korroloka_Tunnel/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Kuftal_Tunnel/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/La_Theine_Plateau/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Lower_Delkfutts_Tower/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Meriphataud_Mountains/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Middle_Delkfutts_Tower/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/North_Gustaberg/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Ordelles_Caves/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Outer_Horutoto_Ruins/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Pashhow_Marshlands/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Qufim_Island/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Ranguemont_Pass/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/RoMaeve/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Rolanberry_Fields/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/RuAun_Gardens/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Sauromugue_Champaign/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/South_Gustaberg/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Tahrongi_Canyon/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Temple_of_Uggalepih/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/The_Boyahda_Tree/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/The_Sanctuary_of_ZiTah/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/The_Shrine_of_RuAvitau/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Toraimarai_Canal/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Upper_Delkfutts_Tower/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Valkurm_Dunes/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Valley_of_Sorrows/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/VeLugannon_Palace/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/West_Sarutabaruta/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Western_Altepa_Desert/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Xarcabard/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Yhoator_Jungle/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Yuhtunga_Jungle/npcs/Treasure_Casket.lua create mode 100644 scripts/zones/Zeruhn_Mines/npcs/Treasure_Casket.lua diff --git a/scripts/globals/caskets.lua b/scripts/globals/caskets.lua index 23c94894a30..d4faace37aa 100644 --- a/scripts/globals/caskets.lua +++ b/scripts/globals/caskets.lua @@ -99,8 +99,8 @@ local casketItems = {1020, 4164}, -- Prism Powder { 940, 4165}, -- Silent Oil { 420, 4202}, -- Daedalus Wing - { 660, 4300}, -- Apple Au Lait - { 250, 4423}, -- Apple Juice + { 240, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice }, items = { @@ -170,8 +170,8 @@ local casketItems = {1020, 4164}, -- Prism Powder { 940, 4165}, -- Silent Oil { 420, 4202}, -- Daedalus Wing - { 660, 4300}, -- Apple Au Lait - { 250, 4423}, -- Apple Juice + { 240, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice }, items = { @@ -219,6 +219,4260 @@ local casketItems = { 320, 17050}, -- Willow Wand } }, + [dsp.zone.LA_THEINE_PLATEAU] = + { + regionalItems = {15835}, -- Desperado Ring + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 790, 4113}, -- Potion +1 + { 425, 4114}, -- Potion +2 + {1040, 4128}, -- Ether + { 760, 4129}, -- Ether +1 + { 420, 4130}, -- Ether +2 + { 600, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 750, 4151}, -- Echo Drops + { 350, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 240, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1700, 626}, -- Black Pepper + {2500, 641}, -- Tin Ore + {2000, 688}, -- Arrowwood Log + {1020, 727}, -- Dogwood Log + {4200, 750}, -- Silver Beastcoin + {5000, 768}, -- Flint Stone + {3600, 846}, -- Insect Wing + {1300, 893}, -- Giant Femur + {3000, 912}, -- Beehive Chip + {1400, 925}, -- Giant Stinger + {4300, 953}, -- Treant Bulb + {2200, 1215}, -- Handful of Bone Arrowheads x33 + {4000, 1845}, -- Red Moko Grass + {4900, 4112}, -- Potion + {3750, 4128}, -- Ether + { 595, 4148}, -- Antidote + {1150, 4151}, -- Echo Drops + {2100, 4227}, -- Bronze Bolt Quiver + {2060, 4509}, -- Distilled Water + { 425, 12432}, -- Faceguard + { 760, 12449}, -- Brass Cap + { 590, 12473}, -- Poet's Circlet + { 630, 12601}, -- Linen Robe + { 765, 12705}, -- Brass Mittens + { 465, 12710}, -- Bone Mittens + { 460, 12720}, -- Gloves + { 430, 12729}, -- Linen Cuffs + { 275, 12816}, -- Scale Cuisses + { 730, 12834}, -- Bone Subligar + { 600, 12848}, -- Brais + { 535, 12688}, -- Scale Finger Gauntlets + { 375, 12857}, -- Linen Slops + { 410, 12966}, -- Bone Leggings + { 655, 12976}, -- Gaiters + { 425, 12985}, -- Holly Clogs + { 390, 16466}, -- Knife + { 370, 16531}, -- Brass Xiphos + { 380, 17096}, -- Holly Pole + {2320, 17316}, -- Bomb Arm + } + }, + [dsp.zone.VALKURM_DUNES] = + { + regionalItems = {16367}, -- Phlegethon's Trousers + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 450, 4202}, -- Daedalus Wing + { 310, 4206}, -- Catholicon + { 240, 4301}, -- Pear Au Lait + { 660, 4425}, -- Tomato Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {4600, 642}, -- Zinc Ore + {1250, 689}, -- Lauan Log + { 600, 693}, -- Walnut Log + {3250, 736}, -- Silver Ore + {2900, 835}, -- Flax Flower + {4800, 847}, -- Bird Feather + {1600, 898}, -- Chicken Bone + {2020, 914}, -- Mercury + {5000, 936}, -- Rock Salt + { 540, 947}, -- Firesand + {3540, 1108}, -- Sulfur + {4750, 1211}, -- Handful of Bronze Bolt Heads x33 + {2900, 4113}, -- Potion +1 + {2600, 4128}, -- Ether + { 575, 4148}, -- Antidote + {3150, 4151}, -- Echo Drops + {1010, 4373}, -- Woozyshroom + { 200, 16643}, -- Battleaxe + { 520, 12455}, -- Beetle Mask + { 240, 12583}, -- Beetle Harness + { 680, 12711}, -- Beetle Mittens + {1200, 12835}, -- Beetle Subligar + { 990, 12967}, -- Beetle Leggings + { 880, 12865}, -- Black Slacks + {1530, 12966}, -- Bone Leggings + {1760, 12454}, -- Bone Mask + {1900, 12710}, -- Bone Mittens + {1870, 12834}, -- Bone Subligar + { 310, 13584}, -- Cotton Cape + { 595, 13588}, -- Dhalmel Mantle + {1580, 12985}, -- Holly Clogs + { 275, 16473}, -- Kukri + {1680, 12729}, -- Linen Cuffs + {1460, 12857}, -- Linen Slops + {2620, 12697}, -- Lizard Gloves + { 645, 12441}, -- Lizard Helm + { 835, 12953}, -- Lizard Ledelsens + { 610, 12825}, -- Lizard Trousers + { 455, 12473}, -- Poet's Circlet + { 745, 12993}, -- Sandals + {2165, 12737}, -- White Mitts + } + }, + [dsp.zone.JUGNER_FOREST] = + { + regionalItems = {15927}, -- Pinwheel Belt + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1200, 4114}, -- Potion +2 + { 950, 4115}, -- Potion +3 + {1000, 4116}, -- Hi-Potion + {1100, 4129}, -- Ether +1 + { 960, 4130}, -- Ether +2 + { 450, 4131}, -- Ether +3 + { 250, 4136}, -- Super Ether + { 750, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 450, 4202}, -- Daedalus Wing + { 310, 4206}, -- Catholicon + { 240, 4302}, -- Pamama Au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {4600, 642}, -- Zinc Ore + {1250, 689}, -- Lauan Log + { 600, 693}, -- Walnut Log + {3250, 736}, -- Silver Ore + {2900, 835}, -- Flax Flower + {4800, 847}, -- Bird Feather + {1600, 898}, -- Chicken Bone + {2020, 914}, -- Mercury + {5000, 936}, -- Rock Salt + { 540, 947}, -- Firesand + {3540, 1108}, -- Sulfur + {4750, 1211}, -- Handful of Bronze Bolt Heads x33 + {2900, 4113}, -- Potion +1 + {2600, 4128}, -- Ether + { 575, 4148}, -- Antidote + {3150, 4151}, -- Echo Drops + {1010, 4373}, -- Woozyshroom + { 200, 16643}, -- Battleaxe + { 520, 12455}, -- Beetle Mask + { 240, 12583}, -- Beetle Harness + { 680, 12711}, -- Beetle Mittens + {1200, 12835}, -- Beetle Subligar + { 990, 12967}, -- Beetle Leggings + { 880, 12865}, -- Black Slacks + {1530, 12966}, -- Bone Leggings + {1760, 12454}, -- Bone Mask + {1900, 12710}, -- Bone Mittens + {1870, 12834}, -- Bone Subligar + { 310, 13584}, -- Cotton Cape + { 595, 13588}, -- Dhalmel Mantle + {1580, 12985}, -- Holly Clogs + { 275, 16473}, -- Kukri + {1680, 12729}, -- Linen Cuffs + {1460, 12857}, -- Linen Slops + {2620, 12697}, -- Lizard Gloves + { 645, 12441}, -- Lizard Helm + { 835, 12953}, -- Lizard Ledelsens + { 610, 12825}, -- Lizard Trousers + { 455, 12473}, -- Poet's Circlet + { 745, 12993}, -- Sandals + {2165, 12737}, -- White Mitts + } + }, + [dsp.zone.BATALLIA_DOWNS] = + { + regionalItems = {18451}, -- Mokusa + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1200, 4114}, -- Potion +2 + { 950, 4115}, -- Potion +3 + {1000, 4116}, -- Hi-Potion + {1100, 4129}, -- Ether +1 + { 960, 4130}, -- Ether +2 + { 450, 4131}, -- Ether +3 + { 250, 4136}, -- Super Ether + { 750, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 450, 4202}, -- Daedalus Wing + { 310, 4206}, -- Catholicon + { 240, 4302}, -- Pamama Au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 573}, -- Vegetable Seeds + { 475, 636}, -- Chamomile + {2780, 643}, -- Iron Ore + {1940, 644}, -- Mythril Ore + {2700, 691}, -- Maple Log + {1060, 694}, -- Chestnut Log + {3500, 749}, -- Mythril Beastcoin + {1900, 820}, -- Wool Thread + {1150, 859}, -- Ram Skin + {1090, 895}, -- Ram Horn + {4600, 928}, -- Bomb Ash + {2650, 943}, -- Poison Dust + {3300, 1212}, -- Handful of Mythril Bolt Heads x33 + {4900, 4113}, -- Potion +1 + {3100, 4114}, -- Potion +2 + { 670, 4115}, -- Potion +3 + {4800, 4129}, -- Ether +1 + {3000, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 120, 12300}, -- Targe + { 320, 12433}, -- Brass Mask + { 660, 12442}, -- Studded Bandana + { 680, 12465}, -- Cotton Headgear + { 520, 12474}, -- Wool Hat + { 200, 12570}, -- Studded Vest + { 450, 12689}, -- Brass Finger Gauntlets + { 460, 12721}, -- Cotton Gloves + { 390, 12817}, -- Brass Cuisses + { 550, 12826}, -- Studded Trousers + { 420, 12849}, -- Cotton Brais + { 690, 12945}, -- Brass Greaves + { 770, 12954}, -- Studded Boots + { 510, 12977}, -- Cotton Gaiters + { 625, 12986}, -- Chestnut Sabots + { 310, 13085}, -- Hemp Gorget + { 305, 13205}, -- Silver Obi + { 430, 13328}, -- Mythril Earring + { 235, 13446}, -- Mythril Ring + { 525, 16467}, -- Mythril Knife + { 505, 17097}, -- Elm Pole + { 350, 17284}, -- Chakram + } + }, + [dsp.zone.NORTH_GUSTABERG] = + { + regionalItems = {11312}, -- Rambler's Cloak + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1700, 505}, -- Sheepskin + {4500, 640}, -- Copper Ore + {2500, 641}, -- Tin Ore + {3450, 642}, -- Zinc Ore + {2000, 688}, -- Arrowwood Log + {1020, 698}, -- Ash Log + {4200, 656}, -- Beastcoin + {5000, 768}, -- Flint Stone + {1250, 818}, -- Cotton Thread + {1300, 833}, -- Moko Grass + { 800, 840}, -- Chocobo Feather + {3600, 846}, -- Insect Wing + {3000, 912}, -- Beehive Chip + { 700, 943}, -- Poison Dust + {2400, 1214}, -- Handful of Stone Arrowheads x33 + {4900, 4112}, -- Potion + {3590, 4148}, -- Antidote + {1150, 4150}, -- Eye Drops + {1360, 4151}, -- Echo Drops + {2900, 4370}, -- Honey + { 600, 12290}, -- Maple Shield + { 295, 12440}, -- Leather Bandana + { 450, 12449}, -- Brass Cap + { 290, 12456}, -- Hachimaki + { 530, 12608}, -- Tunic + { 460, 12696}, -- Leather Gloves + { 340, 12705}, -- Brass Mittens + { 168, 12712}, -- Tekko + { 310, 12736}, -- Mitts + { 475, 12824}, -- Leather Trousers + { 80, 12833}, -- Brass Subligar + { 235, 12840}, -- Sitabaki + { 422, 12864}, -- Slacks + { 135, 12952}, -- Leather Highboots + { 250, 12961}, -- Brass Leggings + { 255, 12968}, -- Kyahan + { 287, 12992}, -- Solea + { 500, 13081}, -- Leather Gorget + { 300, 16407}, -- Brass Baghnakhs + { 120, 16530}, -- Xiphos + { 320, 17050}, -- Willow Wand + } + }, + [dsp.zone.SOUTH_GUSTABERG] = + { + regionalItems = {15926}, -- Bronze Bandolier + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1700, 505}, -- Sheepskin + {4500, 640}, -- Copper Ore + {2500, 641}, -- Tin Ore + {3450, 642}, -- Zinc Ore + {2000, 688}, -- Arrowwood Log + {1020, 698}, -- Ash Log + {4200, 656}, -- Beastcoin + {5000, 768}, -- Flint Stone + {1250, 818}, -- Cotton Thread + {1300, 833}, -- Moko Grass + { 800, 840}, -- Chocobo Feather + {3600, 846}, -- Insect Wing + {3000, 912}, -- Beehive Chip + { 700, 943}, -- Poison Dust + {2400, 1214}, -- Handful of Stone Arrowheads x33 + {4900, 4112}, -- Potion + {3590, 4148}, -- Antidote + {1150, 4150}, -- Eye Drops + {1360, 4151}, -- Echo Drops + {2900, 4370}, -- Honey + { 600, 12290}, -- Maple Shield + { 295, 12440}, -- Leather Bandana + { 450, 12449}, -- Brass Cap + { 290, 12456}, -- Hachimaki + { 530, 12608}, -- Tunic + { 460, 12696}, -- Leather Gloves + { 340, 12705}, -- Brass Mittens + { 168, 12712}, -- Tekko + { 310, 12736}, -- Mitts + { 475, 12824}, -- Leather Trousers + { 80, 12833}, -- Brass Subligar + { 235, 12840}, -- Sitabaki + { 422, 12864}, -- Slacks + { 135, 12952}, -- Leather Highboots + { 250, 12961}, -- Brass Leggings + { 255, 12968}, -- Kyahan + { 287, 12992}, -- Solea + { 500, 13081}, -- Leather Gorget + { 300, 16407}, -- Brass Baghnakhs + { 120, 16530}, -- Xiphos + { 320, 17050}, -- Willow Wand + } + }, + [dsp.zone.KONSCHTAT_HIGHLANDS] = + { + regionalItems = {19223}, -- Attar Of Roses + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 240, 4301}, -- Pear Au Lait + { 660, 4425}, -- Tomato Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2400, 626}, -- Black Pepper + {3100, 641}, -- Tin Ore + {3900, 688}, -- Arrowwood Log + {1200, 727}, -- Dogwood Log + {4200, 750}, -- Silver Beastcoin + {4900, 768}, -- Flint Stone + {4500, 846}, -- Insect Wing + {2200, 893}, -- Giant Femur + {2600, 912}, -- Beehive Chip + {3250, 925}, -- Giant Stinger + {5000, 953}, -- Treant Bulb + {4450, 1215}, -- Handful of Bone Arrowheads x33 + {4650, 1845}, -- Red Moko Grass + {4750, 4112}, -- Potion + {4760, 4128}, -- Ether + {1260, 4145}, -- Elixer + { 460, 4148}, -- Antidote + {1360, 4151}, -- Echo Drops + {2120, 4227}, -- Bronze Bolt Quiver + {1600, 4509}, -- Distilled Water + { 650, 12432}, -- Faceguard + { 620, 12449}, -- Brass Cap + { 550, 12473}, -- Poet's Circlet + { 630, 12601}, -- Linen Robe + { 660, 12688}, -- Scale Finger Gauntlets + { 540, 12705}, -- Brass Mittens + { 340, 12710}, -- Bone Mittens + { 730, 12720}, -- Gloves + { 830, 12729}, -- Linen Cuffs + { 715, 12816}, -- Scale Cuisses + { 830, 12834}, -- Bone Subligar + { 910, 12848}, -- Brais + {1100, 12857}, -- Linen Slops + {1250, 12966}, -- Bone Leggings + { 530, 12976}, -- Gaiters + { 345, 12985}, -- Holly Clogs + { 210, 16466}, -- Knife + { 455, 16531}, -- Brass Xiphos + { 610, 17096}, -- Holly Pole + {1465, 17316}, -- Bomb Arm + } + }, + [dsp.zone.PASHHOW_MARSHLANDS] = + { + regionalItems = {19222}, -- Wurger + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4114}, -- Potion +2 + { 740, 4115}, -- Potion +3 + { 700, 4116}, -- Hi-Potion + { 800, 4129}, -- Ether +1 + { 430, 4130}, -- Ether +2 + { 200, 4131}, -- Ether +3 + { 50, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 250, 4302}, -- Pamama Au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2400, 627}, -- Maple Sugar + {1700, 637}, -- Slime Oil + {3200, 643}, -- Iron Ore + {4320, 690}, -- Elm Log + {2050, 816}, -- Silk Thread + {2450, 835}, -- Flax Flower + {4050, 857}, -- Dhalmel Hide + {5000, 880}, -- Bone Chip + {3250, 897}, -- Scorpion Claw + {1670, 900}, -- Fish Bones + {3520, 913}, -- Beeswax + {4300, 943}, -- Poison Dust + {4690, 1211}, -- Brz. Bolt Heads x33 + {4900, 4112}, -- Potion + {2400, 4114}, -- Potion +2 + {4890, 4128}, -- Ether + {2350, 4129}, -- Ether +1 + {1700, 4145}, -- Elixir + {2600, 4151}, -- Echo Drops + {3170, 4225}, -- Iron Quiver + {1540, 4447}, -- Scream Fungus + { 670, 12424}, -- Iron Mask + { 630, 12441}, -- Lizard Helm + { 710, 12455}, -- Beetle Mask + { 420, 12552}, -- Chainmail + { 820, 12593}, -- Cotton Doublet + { 310, 12680}, -- Chain Mittens + { 520, 12697}, -- Lizard Gloves + { 790, 12711}, -- Beetle Mittens + { 900, 12721}, -- Cotton Gloves + { 890, 12737}, -- White Mitts + { 740, 12825}, -- Lizard Trousers + { 650, 12849}, -- Cotton Brais + { 760, 12865}, -- Black Slacks + { 895, 12953}, -- Lizard Ledelsens + {1020, 12967}, -- Beetle Leggings + {1100, 12977}, -- Cotton Gaiters + {1200, 12993}, -- Sandals + { 330, 16406}, -- Baghnakhs + { 320, 16835}, -- Spear + { 350, 17090}, -- Elm Staff + } + }, + [dsp.zone.ROLANBERRY_FIELDS] = + { + regionalItems = {11401}, -- Rambler's Gaiters + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4114}, -- Potion +2 + { 740, 4115}, -- Potion +3 + { 700, 4116}, -- Hi-Potion + { 800, 4129}, -- Ether +1 + { 430, 4130}, -- Ether +2 + { 200, 4131}, -- Ether +3 + { 50, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 240, 4302}, -- Pamama Au Lait + { 660, 4424}, -- Melon Juice + + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2400, 627}, -- Maple Sugar + {1700, 637}, -- Slime Oil + {3200, 643}, -- Iron Ore + {4320, 690}, -- Elm Log + {2050, 816}, -- Silk Thread + {2450, 835}, -- Flax Flower + {4050, 857}, -- Dhalmel Hide + {5000, 880}, -- Bone Chip + {3250, 897}, -- Scorpion Claw + {1670, 900}, -- Fish Bones + {3520, 913}, -- Beeswax + {4300, 943}, -- Poison Dust + {4690, 1211}, -- Brz. Bolt Heads x33 + {4900, 4112}, -- Potion + {2400, 4114}, -- Potion +2 + {4890, 4128}, -- Ether + {2350, 4129}, -- Ether +1 + {1700, 4145}, -- Elixir + {2600, 4151}, -- Echo Drops + {3170, 4225}, -- Iron Quiver + {1540, 4447}, -- Scream Fungus + { 670, 12424}, -- Iron Mask + { 630, 12441}, -- Lizard Helm + { 710, 12455}, -- Beetle Mask + { 420, 12552}, -- Chainmail + { 820, 12593}, -- Cotton Doublet + { 310, 12680}, -- Chain Mittens + { 520, 12697}, -- Lizard Gloves + { 790, 12711}, -- Beetle Mittens + { 900, 12721}, -- Cotton Gloves + { 890, 12737}, -- White Mitts + { 740, 12825}, -- Lizard Trousers + { 650, 12849}, -- Cotton Brais + { 760, 12865}, -- Black Slacks + { 895, 12953}, -- Lizard Ledelsens + {1020, 12967}, -- Beetle Leggings + {1100, 12977}, -- Cotton Gaiters + {1200, 12993}, -- Sandals + { 330, 16406}, -- Baghnakhs + { 320, 16835}, -- Spear + { 350, 17090}, -- Elm Staff + } + }, + [dsp.zone.BEAUCEDINE_GLACIER] = + { + regionalItems = {16280}, -- Haraldr's Muffler + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4118}, -- Hi-Potion +2 + { 740, 4119}, -- Hi-Potion +3 + { 600, 4120}, -- X-Potion + {1020, 4134}, -- Hi-Ether +2 + { 730, 4135}, -- Hi-Ether +3 + { 500, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 240, 4302}, -- Pamama au Lait + { 640, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 575}, -- Grain Seeds + {1690, 612}, -- Kazham Peppers + {2480, 644}, -- Mythril Ore + {4150, 699}, -- Oak Log + {3600, 819}, -- Linen Thread + {1740, 845}, -- Black C. Feather + {2350, 914}, -- Mercury + {2600, 1217}, -- Slv. Arrowheads + {4950, 4113}, -- Potion +1 + {1720, 4114}, -- Potion +2 + { 640, 4115}, -- Potion +3 + {4750, 4128}, -- Ether + {1850, 4129}, -- Ether +1 + { 650, 4130}, -- Ether +2 + { 420, 4145}, -- Elixir + { 660, 12450}, -- Padded Cap + { 540, 12475}, -- Velvet Hat + { 475, 12571}, -- Cuir Bouilli + { 570, 12699}, -- Cuir Gloves + { 690, 12706}, -- Iron Mittens + {1100, 12731}, -- Velvet Cuffs + { 860, 12827}, -- Cuir Trousers + { 720, 12836}, -- Iron Subligar + { 490, 12859}, -- Velvet Slops + {1120, 12955}, -- Cuir Highboots + { 390, 12987}, -- Ebony Sabots + } + }, + [dsp.zone.XARCABARD] = + { + regionalItems = {15042, 17267}, -- Gothic Gauntlets / Negoroshiki + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4118}, -- Hi-Potion +2 + { 740, 4119}, -- Hi-Potion +3 + { 600, 4120}, -- X-Potion + {1020, 4134}, -- Hi-Ether +2 + { 730, 4135}, -- Hi-Ether +3 + { 500, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 240, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 575}, -- Grain Seeds + {2600, 612}, -- Kazham Peppers + {4200, 698}, -- Ash Log + {3100, 816}, -- Silk Thread + {2750, 923}, -- Dryad Root + { 320, 932}, -- Carbon Fiber + { 510, 1225}, -- Gold Nugget + { 120, 1228}, -- Dst. Nugget + {4500, 4113}, -- Potion +1 + {2300, 4114}, -- Potion +2 + {1450, 4115}, -- Potion +3 + {4100, 4128}, -- Ether + {2100, 4129}, -- Ether +1 + {1420, 4130}, -- Ether +2 + { 640, 4145}, -- Elixir + { 560, 12450}, -- Padded Cap + { 790, 12837}, -- Carapace Subligar + { 810, 13711}, -- Carapace Mask + { 680, 13713}, -- Carapace Mittens + { 725, 13715}, -- Cpc. Leggings + { 120, 16412}, -- Mythril Claws + { 95, 16558}, -- Falchion + { 100, 16590}, -- Greatsword + { 675, 16796}, -- Mythril Zaghnal + { 450, 17062}, -- Bone Rod + { 840, 17610}, -- Bone Knife + { 80, 18207}, -- Kheten + } + }, + [dsp.zone.CAPE_TERIGGAN] = + { + regionalItems = {17965}, -- Sirocco Axe + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4119}, -- Hi-Potion +3 + { 800, 4120}, -- X-Potion + { 600, 4121}, -- X-Potion +1 + {1040, 4135}, -- Hi-Ether +3 + { 790, 4136}, -- Super Ether + { 590, 4137}, -- Super Ether +1 + { 420, 4144}, -- Hi-Elixir + { 655, 4145}, -- Elixir + { 60, 4149}, -- Panacea + { 460, 4155}, -- Remedy + { 790, 4202}, -- Daedalus Wing + { 490, 4206}, -- Catholicon + { 320, 4210}, -- Lethe Water + { 225, 4255}, -- Mana Powder + { 360, 4302}, -- Pamama au Lait + { 540, 4424}, -- Melon Juice + { 210, 5322}, -- Healing Powder + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2320, 645}, -- Darksteel Ore + {1350, 702}, -- Ebony Log + {1290, 737}, -- Gold Ore + { 525, 823}, -- Gold Thread + { 190, 844}, -- Phoenix Feather + { 780, 1443}, -- Dried Mugwort + {5000, 4116}, -- Hi-Potion + {4500, 4117}, -- Hi-Potion +1 + {2500, 4120}, -- X-Potion + { 500, 4121}, -- X-Potion +1 + {4200, 4133}, -- Hi-Ether +1 + {2100, 4141}, -- Pro-Ether +1 + {1230, 5164}, -- Ground Wasabi + {1150, 12427}, -- Bascinet + { 575, 12683}, -- Darksteel Mufflers + { 680, 12740}, -- Silk Mitts + { 740, 12811}, -- Dst. Breeches + { 625, 12829}, -- Beak Trousers + { 490, 12868}, -- Silk Slacks + { 710, 12939}, -- Dst. Sollerets + { 460, 12996}, -- Silk Pumps + { 615, 13698}, -- Beak Helm + { 540, 13700}, -- Beak Gloves + { 470, 13702}, -- Beak Ledelsens + } + }, + [dsp.zone.EASTERN_ALTEPA_DESERT] = + { + regionalItems = {16251}, -- Casaba Melon Tank + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4118}, -- Hi-Potion +2 + { 800, 4119}, -- Hi-Potion +3 + { 400, 4120}, -- X-Potion + {1040, 4134}, -- Hi-Ether +2 + { 700, 4135}, -- Hi-Ether +3 + { 410, 4136}, -- Super Ether + { 600, 4145}, -- Elixir + {1450, 4148}, -- Antidote + {1550, 4150}, -- Eye Drops + {1650, 4151}, -- Echo Drops + { 350, 4155}, -- Remedy + { 820, 4164}, -- Prism Powder + { 840, 4165}, -- Silent Oil + { 600, 4202}, -- Daedalus Wing + { 250, 4206}, -- Catholicon + { 420, 4302}, -- Pamama au Lait + { 720, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 575}, -- Grain Seeds + {1690, 612}, -- Kazham Peppers + {2480, 644}, -- Mythril Ore + {4150, 699}, -- Oak Log + {3600, 819}, -- Linen Thread + {1740, 845}, -- Black C. Feather + {2350, 914}, -- Mercury + {2600, 1217}, -- Slv. Arrowheads + {4950, 4113}, -- Potion +1 + {1720, 4114}, -- Potion +2 + { 640, 4115}, -- Potion +3 + {4750, 4128}, -- Ether + {1850, 4129}, -- Ether +1 + { 650, 4130}, -- Ether +2 + { 420, 4145}, -- Elixir + { 660, 12450}, -- Padded Cap + { 540, 12475}, -- Velvet Hat + { 475, 12571}, -- Cuir Bouilli + { 570, 12699}, -- Cuir Gloves + { 690, 12706}, -- Iron Mittens + {1100, 12731}, -- Velvet Cuffs + { 860, 12827}, -- Cuir Trousers + { 720, 12836}, -- Iron Subligar + { 490, 12859}, -- Velvet Slops + {1120, 12955}, -- Cuir Highboots + { 390, 12987}, -- Ebony Sabots + } + }, + [dsp.zone.WEST_SARUTABARUTA] = + { + regionalItems = {19221}, -- Firefly + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 790, 4113}, -- Potion +1 + { 425, 4114}, -- Potion +2 + {1040, 4128}, -- Ether + { 760, 4129}, -- Ether +1 + { 420, 4130}, -- Ether +2 + { 600, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 750, 4151}, -- Echo Drops + { 350, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 240, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1700, 505}, -- Sheepskin + {4500, 640}, -- Copper Ore + {2500, 641}, -- Tin Ore + {3450, 642}, -- Zinc Ore + {2000, 688}, -- Arrowwood Log + {1020, 698}, -- Ash Log + {4200, 656}, -- Beastcoin + {5000, 768}, -- Flint Stone + {1250, 818}, -- Cotton Thread + {1300, 833}, -- Moko Grass + { 800, 840}, -- Chocobo Feather + {3600, 846}, -- Insect Wing + {3000, 912}, -- Beehive Chip + { 700, 943}, -- Poison Dust + {2400, 1214}, -- Handful of Stone Arrowheads x33 + {4900, 4112}, -- Potion + {3590, 4148}, -- Antidote + {1150, 4150}, -- Eye Drops + {1360, 4151}, -- Echo Drops + {2900, 4370}, -- Honey + { 600, 12290}, -- Maple Shield + { 295, 12440}, -- Leather Bandana + { 450, 12449}, -- Brass Cap + { 720, 12456}, -- Hachimaki + { 530, 12608}, -- Tunic + { 460, 12696}, -- Leather Gloves + { 340, 12705}, -- Brass Mittens + { 640, 12712}, -- Tekko + { 310, 12736}, -- Mitts + { 475, 12824}, -- Leather Trousers + { 80, 12833}, -- Brass Subligar + { 890, 12840}, -- Sitabaki + { 422, 12864}, -- Slacks + { 135, 12952}, -- Leather Highboots + { 250, 12961}, -- Brass Leggings + { 700, 12968}, -- Kyahan + { 287, 12992}, -- Solea + { 500, 13081}, -- Leather Gorget + { 300, 16407}, -- Brass Baghnakhs + { 120, 16530}, -- Xiphos + { 320, 17050}, -- Willow Wand + } + }, + [dsp.zone.EAST_SARUTABARUTA] = + { + regionalItems = {16279}, -- Pile Chain + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 790, 4113}, -- Potion +1 + { 425, 4114}, -- Potion +2 + {1040, 4128}, -- Ether + { 760, 4129}, -- Ether +1 + { 420, 4130}, -- Ether +2 + { 600, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 750, 4151}, -- Echo Drops + { 350, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 240, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1700, 505}, -- Sheepskin + {4500, 640}, -- Copper Ore + {2500, 641}, -- Tin Ore + {3450, 642}, -- Zinc Ore + {2000, 688}, -- Arrowwood Log + {1020, 698}, -- Ash Log + {4200, 656}, -- Beastcoin + {5000, 768}, -- Flint Stone + {1250, 818}, -- Cotton Thread + {1300, 833}, -- Moko Grass + { 800, 840}, -- Chocobo Feather + {3600, 846}, -- Insect Wing + {3000, 912}, -- Beehive Chip + { 700, 943}, -- Poison Dust + {2400, 1214}, -- Handful of Stone Arrowheads x33 + {4900, 4112}, -- Potion + {3590, 4148}, -- Antidote + {1150, 4150}, -- Eye Drops + {1360, 4151}, -- Echo Drops + {2900, 4370}, -- Honey + { 600, 12290}, -- Maple Shield + { 295, 12440}, -- Leather Bandana + { 450, 12449}, -- Brass Cap + { 720, 12456}, -- Hachimaki + { 530, 12608}, -- Tunic + { 460, 12696}, -- Leather Gloves + { 340, 12705}, -- Brass Mittens + { 640, 12712}, -- Tekko + { 310, 12736}, -- Mitts + { 475, 12824}, -- Leather Trousers + { 80, 12833}, -- Brass Subligar + { 890, 12840}, -- Sitabaki + { 422, 12864}, -- Slacks + { 135, 12952}, -- Leather Highboots + { 250, 12961}, -- Brass Leggings + { 700, 12968}, -- Kyahan + { 287, 12992}, -- Solea + { 500, 13081}, -- Leather Gorget + { 300, 16407}, -- Brass Baghnakhs + { 120, 16530}, -- Xiphos + { 320, 17050}, -- Willow Wand + } + }, + [dsp.zone.TAHRONGI_CANYON] = + { + regionalItems = {16007}, -- Protect Earring + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 790, 4113}, -- Potion +1 + { 425, 4114}, -- Potion +2 + {1040, 4128}, -- Ether + { 760, 4129}, -- Ether +1 + { 420, 4130}, -- Ether +2 + { 600, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 750, 4151}, -- Echo Drops + { 350, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 240, 4301}, -- Pear au Lait + { 660, 4425}, -- Tomato Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1700, 626}, -- Black Pepper + {2500, 641}, -- Tin Ore + {2000, 688}, -- Arrowwood Log + {1020, 727}, -- Dogwood Log + {4200, 750}, -- Silver Beastcoin + {5000, 768}, -- Flint Stone + {3600, 846}, -- Insect Wing + {1300, 893}, -- Giant Femur + {3000, 912}, -- Beehive Chip + {1400, 925}, -- Giant Stinger + {4300, 953}, -- Treant Bulb + {2200, 1215}, -- Handful of Bone Arrowheads x33 + {4000, 1845}, -- Red Moko Grass + {4900, 4112}, -- Potion + {3600, 4113}, -- Potion +1 + {3750, 4128}, -- Ether + { 595, 4148}, -- Antidote + {1150, 4151}, -- Echo Drops + {2100, 4227}, -- Bronze Bolt Quiver + {2060, 4509}, -- Distilled Water + { 425, 12432}, -- Faceguard + { 760, 12449}, -- Brass Cap + { 590, 12473}, -- Poet's Circlet + { 630, 12601}, -- Linen Robe + { 765, 12705}, -- Brass Mittens + { 465, 12710}, -- Bone Mittens + { 460, 12720}, -- Gloves + { 430, 12729}, -- Linen Cuffs + { 275, 12816}, -- Scale Cuisses + { 730, 12834}, -- Bone Subligar + { 600, 12848}, -- Brais + { 535, 12688}, -- Scale Finger Gauntlets + { 375, 12857}, -- Linen Slops + { 410, 12966}, -- Bone Leggings + { 655, 12976}, -- Gaiters + { 425, 12985}, -- Holly Clogs + { 390, 16466}, -- Knife + { 370, 16531}, -- Brass Xiphos + { 380, 17096}, -- Holly Pole + {2320, 17316}, -- Bomb Arm + } + }, + [dsp.zone.BUBURIMU_PENINSULA] = + { + regionalItems = {18599}, -- Pestle + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 790, 4113}, -- Potion +1 + { 425, 4114}, -- Potion +2 + {1040, 4128}, -- Ether + { 760, 4129}, -- Ether +1 + { 420, 4130}, -- Ether +2 + { 600, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 750, 4151}, -- Echo Drops + { 350, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 240, 4301}, -- Pear au Lait + { 660, 4425}, -- Tomato Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {4600, 642}, -- Zinc Ore + {1250, 689}, -- Lauan Log + { 600, 693}, -- Walnut Log + {3250, 736}, -- Silver Ore + {2900, 835}, -- Flax Flower + {4800, 847}, -- Bird Feather + {1600, 898}, -- Chicken Bone + {2020, 914}, -- Mercury + {5000, 936}, -- Rock Salt + { 540, 947}, -- Firesand + {3540, 1108}, -- Sulfur + {4750, 1211}, -- Handful of Bronze Bolt Heads x33 + {2900, 4113}, -- Potion +1 + {2600, 4128}, -- Ether + { 575, 4148}, -- Antidote + {3150, 4151}, -- Echo Drops + {1010, 4373}, -- Woozyshroom + { 645, 12441}, -- Lizard Helm + {1760, 12454}, -- Bone Mask + {1400, 12455}, -- Beetle Mask + {1390, 12473}, -- Poet's Circlet + {1900, 12697}, -- Lizard Gloves + {1700, 12710}, -- Bone Mittens + { 390, 12711}, -- Beetle Mittens + {1200, 12729}, -- Linen Cuffs + { 910, 12737}, -- White Mitts + {1600, 12825}, -- Lizard Trousers + {1430, 12834}, -- Bone Subligar + { 790, 12835}, -- Beetle Subligar + {1060, 12857}, -- Linen Slops + { 920, 12865}, -- Black Slacks + {1250, 12953}, -- Lizard Ledelsens + {1010, 12966}, -- Bone Leggings + { 475, 12967}, -- Beetle Leggings + {1600, 12985}, -- Holly Clogs + {1320, 12993}, -- Sandals + { 610, 13584}, -- Cotton Cape + { 405, 13588}, -- Dhalmel Mantle + { 350, 16473}, -- Kukri + { 345, 16643}, -- Battleaxe + } + }, + [dsp.zone.MERIPHATAUD_MOUNTAINS] = + { + regionalItems = {18503}, -- Mammut + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4114}, -- Potion +2 + { 740, 4115}, -- Potion +3 + { 700, 4116}, -- Hi-Potion + { 800, 4129}, -- Ether +1 + { 430, 4130}, -- Ether +2 + { 200, 4131}, -- Ether +3 + { 50, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2400, 627}, -- Maple Sugar + {1700, 637}, -- Slime Oil + {3200, 643}, -- Iron Ore + {4320, 690}, -- Elm Log + {2050, 816}, -- Silk Thread + {2450, 835}, -- Flax Flower + {4050, 857}, -- Dhalmel Hide + {5000, 880}, -- Bone Chip + {3250, 897}, -- Scorpion Claw + {1670, 900}, -- Fish Bones + {3520, 913}, -- Beeswax + {4300, 943}, -- Poison Dust + {4690, 1211}, -- Brz. Bolt Heads x33 + {4900, 4112}, -- Potion + {2400, 4114}, -- Potion +2 + {4890, 4128}, -- Ether + {2350, 4129}, -- Ether +1 + {1700, 4145}, -- Elixir + {2600, 4151}, -- Echo Drops + {3170, 4225}, -- Iron Quiver + {1540, 4447}, -- Scream Fungus + { 670, 12424}, -- Iron Mask + { 630, 12441}, -- Lizard Helm + { 710, 12455}, -- Beetle Mask + { 420, 12552}, -- Chainmail + { 820, 12593}, -- Cotton Doublet + { 310, 12680}, -- Chain Mittens + { 520, 12697}, -- Lizard Gloves + { 790, 12711}, -- Beetle Mittens + { 900, 12721}, -- Cotton Gloves + { 890, 12737}, -- White Mitts + { 740, 12825}, -- Lizard Trousers + { 650, 12849}, -- Cotton Brais + { 760, 12865}, -- Black Slacks + { 895, 12953}, -- Lizard Ledelsens + {1020, 12967}, -- Beetle Leggings + {1100, 12977}, -- Cotton Gaiters + {1200, 12993}, -- Sandals + { 330, 16406}, -- Baghnakhs + { 320, 16835}, -- Spear + { 350, 17090}, -- Elm Staff + } + }, + [dsp.zone.SAUROMUGUE_CHAMPAIGN] = + { + regionalItems = {16368}, -- Herder's Subligar + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4114}, -- Potion +2 + { 740, 4115}, -- Potion +3 + { 700, 4116}, -- Hi-Potion + { 800, 4129}, -- Ether +1 + { 430, 4130}, -- Ether +2 + { 200, 4131}, -- Ether +3 + { 50, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 573}, -- Vegetable Seeds + { 475, 636}, -- Chamomile + {2780, 643}, -- Iron Ore + {1940, 644}, -- Mythril Ore + {2700, 691}, -- Maple Log + {1060, 694}, -- Chestnut Log + {3500, 749}, -- Mythril Beastcoin + {1900, 820}, -- Wool Thread + {1150, 859}, -- Ram Skin + {1090, 895}, -- Ram Horn + {4600, 928}, -- Bomb Ash + {2650, 943}, -- Poison Dust + {3300, 1212}, -- Handful of Mythril Bolt Heads x33 + {4900, 4113}, -- Potion +1 + {3100, 4114}, -- Potion +2 + { 670, 4115}, -- Potion +3 + {4800, 4129}, -- Ether +1 + {3000, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 120, 12300}, -- Targe + { 320, 12433}, -- Brass Mask + { 660, 12442}, -- Studded Bandana + { 680, 12465}, -- Cotton Headgear + { 520, 12474}, -- Wool Hat + { 200, 12570}, -- Studded Vest + { 450, 12689}, -- Brass Finger Gauntlets + { 460, 12721}, -- Cotton Gloves + { 390, 12817}, -- Brass Cuisses + { 550, 12826}, -- Studded Trousers + { 420, 12849}, -- Cotton Brais + { 690, 12945}, -- Brass Greaves + { 770, 12954}, -- Studded Boots + { 510, 12977}, -- Cotton Gaiters + { 625, 12986}, -- Chestnut Sabots + { 310, 13085}, -- Hemp Gorget + { 305, 13205}, -- Silver Obi + { 430, 13328}, -- Mythril Earring + { 235, 13446}, -- Mythril Ring + { 525, 16467}, -- Mythril Knife + { 505, 17097}, -- Elm Pole + { 350, 17284}, -- Chakram + } + }, + [dsp.zone.THE_SANCTUARY_OF_ZITAH] = + { + regionalItems = {18075}, -- Rossignol + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4118}, -- Hi-Potion +2 + { 800, 4119}, -- Hi-Potion +3 + { 400, 4120}, -- X-Potion + {1040, 4134}, -- Hi-Ether +2 + { 700, 4135}, -- Hi-Ether +3 + { 410, 4136}, -- Super Ether + { 600, 4145}, -- Elixir + {1450, 4148}, -- Antidote + {1550, 4150}, -- Eye Drops + {1650, 4151}, -- Echo Drops + { 350, 4155}, -- Remedy + { 820, 4164}, -- Prism Powder + { 840, 4165}, -- Silent Oil + { 600, 4202}, -- Daedalus Wing + { 250, 4206}, -- Catholicon + { 420, 4302}, -- Pamama au Lait + { 720, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 575}, -- Grain Seeds + {1690, 612}, -- Kazham Peppers + {2480, 644}, -- Mythril Ore + {4150, 699}, -- Oak Log + {3600, 819}, -- Linen Thread + {1740, 845}, -- Black C. Feather + {2350, 914}, -- Mercury + {2600, 1217}, -- Slv. Arrowheads + {4950, 4113}, -- Potion +1 + {1720, 4114}, -- Potion +2 + { 640, 4115}, -- Potion +3 + {4750, 4128}, -- Ether + {1850, 4129}, -- Ether +1 + { 650, 4130}, -- Ether +2 + { 420, 4145}, -- Elixir + { 660, 12450}, -- Padded Cap + { 540, 12475}, -- Velvet Hat + { 475, 12571}, -- Cuir Bouilli + { 570, 12699}, -- Cuir Gloves + { 690, 12706}, -- Iron Mittens + {1100, 12731}, -- Velvet Cuffs + { 860, 12827}, -- Cuir Trousers + { 720, 12836}, -- Iron Subligar + { 490, 12859}, -- Velvet Slops + {1120, 12955}, -- Cuir Highboots + { 390, 12987}, -- Ebony Sabots + } + }, + [dsp.zone.ROMAEVE] = + { + regionalItems = {11486}, -- Diana Corona + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4119}, -- Hi-Potion +3 + { 800, 4120}, -- X-Potion + { 600, 4121}, -- X-Potion +1 + {1040, 4135}, -- Hi-Ether +3 + { 790, 4136}, -- Super Ether + { 590, 4137}, -- Super Ether +1 + { 420, 4144}, -- Hi-Elixir + { 655, 4145}, -- Elixir + { 60, 4149}, -- Panacea + { 460, 4155}, -- Remedy + { 790, 4202}, -- Daedalus Wing + { 490, 4206}, -- Catholicon + { 320, 4210}, -- Lethe Water + { 225, 4255}, -- Mana Powder + { 360, 4302}, -- Pamama au Lait + { 540, 4424}, -- Melon Juice + { 210, 5322}, -- Healing Powder + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2320, 645}, -- Darksteel Ore + {1350, 702}, -- Ebony Log + {1290, 737}, -- Gold Ore + { 525, 823}, -- Gold Thread + { 190, 844}, -- Phoenix Feather + { 780, 1443}, -- Dried Mugwort + {5000, 4116}, -- Hi-Potion + {4500, 4117}, -- Hi-Potion +1 + {2500, 4120}, -- X-Potion + { 500, 4121}, -- X-Potion +1 + {4200, 4133}, -- Hi-Ether +1 + {2100, 4141}, -- Pro-Ether +1 + {1230, 5164}, -- Ground Wasabi + {1150, 12427}, -- Bascinet + { 575, 12683}, -- Darksteel Mufflers + { 680, 12740}, -- Silk Mitts + { 740, 12811}, -- Dst. Breeches + { 625, 12829}, -- Beak Trousers + { 490, 12868}, -- Silk Slacks + { 710, 12939}, -- Dst. Sollerets + { 460, 12996}, -- Silk Pumps + { 615, 13698}, -- Beak Helm + { 540, 13700}, -- Beak Gloves + { 470, 13702}, -- Beak Ledelsens + } + }, + [dsp.zone.YUHTUNGA_JUNGLE] = + { + regionalItems = {17760}, -- Buccaneer's Scimitar + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4114}, -- Potion +2 + { 740, 4115}, -- Potion +3 + { 700, 4116}, -- Hi-Potion + { 800, 4129}, -- Ether +1 + { 430, 4130}, -- Ether +2 + { 200, 4131}, -- Ether +3 + { 50, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2750, 574}, -- Fruit Seeds + {3600, 633}, -- Olive Oil + {3250, 651}, -- Iron Ingot + {1200, 653}, -- Mythril Ingot + {1420, 691}, -- Maple Log + { 760, 822}, -- Silver Thread + {1350, 943}, -- Poison Dust + {2700, 1212}, -- Mtl. Bolt Heads x33 + {4800, 4114}, -- Potion +2 + {3200, 4115}, -- Potion +3 + {5000, 4129}, -- Ether +1 + {3800, 4130}, -- Ether +2 + { 460, 12458}, -- Soil Hachimaki + { 740, 12698}, -- Studded Gloves + { 530, 12714}, -- Soil Tekko + { 360, 12730}, -- Wool Cuffs + { 290, 12826}, -- Studded Trousers + {1200, 12842}, -- Soil Sitabaki + { 400, 12858}, -- Wool Slops + { 200, 12954}, -- Studded Boots + { 190, 12970}, -- Soil Kyahan + { 390, 12986}, -- Chestnut Sabots + } + }, + [dsp.zone.YHOATOR_JUNGLE] = + { + regionalItems = {18953}, -- Beluga + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4117}, -- Hi-Potion +1 + { 700, 4118}, -- Hi-Potion +2 + { 230, 4119}, -- Hi-Potion +3 + {1020, 4133}, -- Hi-Ether +1 + { 800, 4134}, -- Hi-Ether +2 + { 240, 4135}, -- Hi-Ether +3 + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 575}, -- Grain Seeds + {2100, 612}, -- Kazham Peppers + {2300, 644}, -- Mythril Ore + {3800, 699}, -- Oak Log + {1700, 819}, -- Linen Thread + { 320, 845}, -- Black C. Feather + {2750, 914}, -- Mercury + {2200, 1217}, -- Slv. Arrowheads x33 + {4900, 4114}, -- Potion +2 + {1600, 4115}, -- Potion +3 + { 630, 4119}, -- Hi-Potion +3 + {4800, 4129}, -- Ether +1 + {3690, 4130}, -- Ether +2 + { 720, 12443}, -- Cuir Bandana + { 610, 12450}, -- Padded Cap + { 530, 12458}, -- Soil Hachimaki + { 715, 12475}, -- Velvet Hat + { 505, 12571}, -- Cuir Bouilli + { 415, 12603}, -- Velvet Robe + { 625, 12699}, -- Cuir Gloves + { 735, 12706}, -- Iron Mittens + { 410, 12731}, -- Velvet Cuffs + { 710, 12827}, -- Cuir Trousers + { 900, 12836}, -- Iron Subligar + { 470, 12859}, -- Velvet Slops + { 865, 12955}, -- Cuir Highboots + { 645, 12962}, -- Leggings + { 230, 12987}, -- Ebony Sabots + } + }, + [dsp.zone.WESTERN_ALTEPA_DESERT] = + { + regionalItems = {19114}, -- Galkan Dagger + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4117}, -- Hi-Potion +1 + { 700, 4118}, -- Hi-Potion +2 + { 230, 4119}, -- Hi-Potion +3 + {1020, 4133}, -- Hi-Ether +1 + { 800, 4134}, -- Hi-Ether +2 + { 240, 4135}, -- Hi-Ether +3 + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 575}, -- Grain Seeds + {2600, 612}, -- Kazham Peppers + {4200, 698}, -- Ash Log + {3100, 816}, -- Silk Thread + {2750, 923}, -- Dryad Root + { 320, 932}, -- Carbon Fiber + { 510, 1225}, -- Gold Nugget + { 120, 1228}, -- Dst. Nugget + {4500, 4113}, -- Potion +1 + {2300, 4114}, -- Potion +2 + {1450, 4115}, -- Potion +3 + {4100, 4128}, -- Ether + {2100, 4129}, -- Ether +1 + {1420, 4130}, -- Ether +2 + { 640, 4145}, -- Elixir + { 560, 12450}, -- Padded Cap + { 790, 12837}, -- Carapace Subligar + { 810, 13711}, -- Carapace Mask + { 680, 13713}, -- Carapace Mittens + { 725, 13715}, -- Cpc. Leggings + { 120, 16412}, -- Mythril Claws + { 95, 16558}, -- Falchion + { 100, 16590}, -- Greatsword + { 675, 16796}, -- Mythril Zaghnal + { 450, 17062}, -- Bone Rod + { 840, 17610}, -- Bone Knife + { 80, 18207}, -- Kheten + } + }, + [dsp.zone.QUFIM_ISLAND] = + { + regionalItems = {18762}, -- Custodes + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4117}, -- Hi-Potion +1 + { 700, 4118}, -- Hi-Potion +2 + { 230, 4119}, -- Hi-Potion +3 + {1020, 4133}, -- Hi-Ether +1 + { 800, 4134}, -- Hi-Ether +2 + { 240, 4135}, -- Hi-Ether +3 + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 573}, -- Vegetable Seeds + { 475, 636}, -- Chamomile + {2780, 643}, -- Iron Ore + {1940, 644}, -- Mythril Ore + {2700, 691}, -- Maple Log + {1060, 694}, -- Chestnut Log + {3500, 749}, -- Mythril Beastcoin + {1900, 820}, -- Wool Thread + {1150, 859}, -- Ram Skin + {1090, 895}, -- Ram Horn + {4600, 928}, -- Bomb Ash + {2650, 943}, -- Poison Dust + {3300, 1212}, -- Handful of Mythril Bolt Heads x33 + {4900, 4113}, -- Potion +1 + {3100, 4114}, -- Potion +2 + { 670, 4115}, -- Potion +3 + {4800, 4129}, -- Ether +1 + {3000, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 120, 12300}, -- Targe + { 320, 12433}, -- Brass Mask + { 660, 12442}, -- Studded Bandana + { 680, 12465}, -- Cotton Headgear + { 520, 12474}, -- Wool Hat + { 200, 12570}, -- Studded Vest + { 450, 12689}, -- Brass Finger Gauntlets + { 460, 12721}, -- Cotton Gloves + { 390, 12817}, -- Brass Cuisses + { 550, 12826}, -- Studded Trousers + { 420, 12849}, -- Cotton Brais + { 690, 12945}, -- Brass Greaves + { 770, 12954}, -- Studded Boots + { 510, 12977}, -- Cotton Gaiters + { 625, 12986}, -- Chestnut Sabots + { 310, 13085}, -- Hemp Gorget + { 305, 13205}, -- Silver Obi + { 430, 13328}, -- Mythril Earring + { 235, 13446}, -- Mythril Ring + { 525, 16467}, -- Mythril Knife + { 505, 17097}, -- Elm Pole + { 350, 17284}, -- Chakram + } + }, + [dsp.zone.BEHEMOTHS_DOMINION] = + { + regionalItems = {11402}, -- Gothic Sabatons + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1100, 4118}, -- Hi-Potion +2 + {1000, 4119}, -- Hi-Potion +3 + { 800, 4120}, -- X-Potion + { 600, 4121}, -- X-Potion +1 + {1040, 4135}, -- Hi-Ether +3 + { 790, 4136}, -- Super Ether + { 590, 4137}, -- Super Ether +1 + { 420, 4144}, -- Hi-Elixir + { 655, 4145}, -- Elixir + { 60, 4149}, -- Panacea + { 460, 4155}, -- Remedy + { 790, 4202}, -- Daedalus Wing + { 490, 4206}, -- Catholicon + { 320, 4210}, -- Lethe Water + { 225, 4255}, -- Mana Powder + { 360, 4302}, -- Pamama au Lait + { 540, 4424}, -- Melon Juice + { 210, 5322}, -- Healing Powder + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {5000, 575}, -- Grain Seeds + {2100, 612}, -- Kazham Peppers + {2300, 644}, -- Mythril Ore + {3800, 699}, -- Oak Log + {1700, 819}, -- Linen Thread + { 320, 845}, -- Black C. Feather + {2750, 914}, -- Mercury + {2200, 1217}, -- Slv. Arrowheads x33 + {4900, 4114}, -- Potion +2 + {1600, 4115}, -- Potion +3 + { 630, 4119}, -- Hi-Potion +3 + {4800, 4129}, -- Ether +1 + {3690, 4130}, -- Ether +2 + { 720, 12443}, -- Cuir Bandana + { 610, 12450}, -- Padded Cap + { 530, 12458}, -- Soil Hachimaki + { 715, 12475}, -- Velvet Hat + { 505, 12571}, -- Cuir Bouilli + { 415, 12603}, -- Velvet Robe + { 625, 12699}, -- Cuir Gloves + { 735, 12706}, -- Iron Mittens + { 410, 12731}, -- Velvet Cuffs + { 710, 12827}, -- Cuir Trousers + { 900, 12836}, -- Iron Subligar + { 470, 12859}, -- Velvet Slops + { 865, 12955}, -- Cuir Highboots + { 645, 12962}, -- Leggings + { 230, 12987}, -- Ebony Sabots + } + }, + [dsp.zone.VALLEY_OF_SORROWS] = + { + regionalItems = {18867}, -- Daedalus Hammer + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1100, 4118}, -- Hi-Potion +2 + {1000, 4119}, -- Hi-Potion +3 + { 800, 4120}, -- X-Potion + { 600, 4121}, -- X-Potion +1 + {1040, 4135}, -- Hi-Ether +3 + { 790, 4136}, -- Super Ether + { 590, 4137}, -- Super Ether +1 + { 420, 4144}, -- Hi-Elixir + { 655, 4145}, -- Elixir + { 60, 4149}, -- Panacea + { 460, 4155}, -- Remedy + { 790, 4202}, -- Daedalus Wing + { 490, 4206}, -- Catholicon + { 320, 4210}, -- Lethe Water + { 225, 4255}, -- Mana Powder + { 360, 4302}, -- Pamama au Lait + { 540, 4424}, -- Melon Juice + { 210, 5322}, -- Healing Powder + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2320, 645}, -- Darksteel Ore + {1350, 702}, -- Ebony Log + {1290, 737}, -- Gold Ore + { 525, 823}, -- Gold Thread + { 190, 844}, -- Phoenix Feather + { 780, 1443}, -- Dried Mugwort + {5000, 4116}, -- Hi-Potion + {4500, 4117}, -- Hi-Potion +1 + {2500, 4120}, -- X-Potion + { 500, 4121}, -- X-Potion +1 + {4200, 4133}, -- Hi-Ether +1 + {2100, 4141}, -- Pro-Ether +1 + {1230, 5164}, -- Ground Wasabi + {1150, 12427}, -- Bascinet + { 575, 12683}, -- Darksteel Mufflers + { 680, 12740}, -- Silk Mitts + { 740, 12811}, -- Dst. Breeches + { 625, 12829}, -- Beak Trousers + { 490, 12868}, -- Silk Slacks + { 710, 12939}, -- Dst. Sollerets + { 460, 12996}, -- Silk Pumps + { 615, 13698}, -- Beak Helm + { 540, 13700}, -- Beak Gloves + { 470, 13702}, -- Beak Ledelsens + } + }, + [dsp.zone.RUAUN_GARDENS] = + { + regionalItems = {16284}, -- Caract Choker + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1100, 4118}, -- Hi-Potion +2 + {1000, 4119}, -- Hi-Potion +3 + { 800, 4120}, -- X-Potion + { 600, 4121}, -- X-Potion +1 + {1040, 4135}, -- Hi-Ether +3 + { 790, 4136}, -- Super Ether + { 590, 4137}, -- Super Ether +1 + { 420, 4144}, -- Hi-Elixir + { 655, 4145}, -- Elixir + { 60, 4149}, -- Panacea + { 460, 4155}, -- Remedy + { 790, 4202}, -- Daedalus Wing + { 490, 4206}, -- Catholicon + { 320, 4210}, -- Lethe Water + { 225, 4255}, -- Mana Powder + { 360, 4302}, -- Pamama au Lait + { 540, 4424}, -- Melon Juice + { 210, 5322}, -- Healing Powder + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2700, 646}, -- Adaman Ore + { 310, 739}, -- Orichalcum Ore + { 580, 821}, -- Rainbow Thread + {4700, 1222}, -- Yagudo Fltchg. + {3100, 1962}, -- Plt. Arrowheads + {1050, 2459}, -- Minium + {2100, 2532}, -- Teak Log + {5000, 4119}, -- Hi-Potion +3 + {2500, 4123}, -- X-Potion +3 + {4900, 4135}, -- Hi-Ether +3 + {2200, 4143}, -- Pro-Ether +3 + {2400, 5662}, -- Dragon Fruit + {1250, 12309}, -- Ritter Shield + { 645, 12324}, -- Tower Shield + { 400, 13087}, -- Jeweled Collar + { 655, 13185}, -- Muscle Belt + { 320, 13212}, -- Tarutaru Sash + { 680, 13587}, -- Rainbow Cape + { 780, 13595}, -- Coeurl Mantle + { 220, 15890}, -- Marid Belt + { 695, 16128}, -- Wivre Hairpin + { 725, 16265}, -- Wivre Gorget + } + }, + [dsp.zone.THE_BOYAHDA_TREE] = + { + regionalItems = {11038, 10948}, -- Dragonkin Earring | Carver's Torque + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + { 10, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 390, 657}, -- Tama-Hagane + { 745, 876}, -- Manta Skin + { 250, 887}, -- Coral Fragment + {3700, 919}, -- Boyahda Moss + {4500, 1163}, -- Manticore Hair + {1025, 1446}, -- Lacquer Tree Log + { 450, 3313}, -- Vivi-Valve + { 700, 3434}, -- Cobalt Cell + {1600, 3435}, -- Rubicund Cell + {2060, 3436}, -- Xanthous Cell + {2050, 3437}, -- Jade Cell + {1500, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4200, 4120}, -- X-Potion + {3500, 4121}, -- X-Potion +1 + {3000, 4122}, -- X-Potion +2 + {4900, 4135}, -- Hi-Ether +3 + {2700, 4143}, -- Pro-Ether +3 + { 600, 4155}, -- Remedy + {1200, 4173}, -- Hi-Reraiser + { 900, 4174}, -- Vile Elixir + {1200, 4291}, -- Sandfish + {1700, 4447}, -- Scream Fungus + { 650, 5866}, -- Toolbag (Moku) + {1050, 5871}, -- Ruszor Quiver + {2050, 17881}, -- Deepbed Soil + {1020, 17884}, -- Sun Water + { 500, 17898}, -- C. Grass. Broth + { 400, 17899}, -- Svg. Mole Broth + } + }, + [dsp.zone.MIDDLE_DELKFUTTS_TOWER] = + { + regionalItems = {651}, -- Iron Ingot + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4114}, -- Potion +2 + { 740, 4115}, -- Potion +3 + { 700, 4116}, -- Hi-Potion + { 800, 4129}, -- Ether +1 + { 430, 4130}, -- Ether +2 + { 200, 4131}, -- Ether +3 + { 50, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2750, 574}, -- Fruit Seeds + {3600, 633}, -- Olive Oil + {3250, 651}, -- Iron Ingot + {1200, 653}, -- Mythril Ingot + {1420, 691}, -- Maple Log + { 760, 822}, -- Silver Thread + {1350, 943}, -- Poison Dust + {2700, 1212}, -- Mtl. Bolt Heads x33 + { 500, 3435}, -- Rubicund Cell + { 510, 3436}, -- Xanthous Cell + {4800, 4114}, -- Potion +2 + {3200, 4115}, -- Potion +3 + {5000, 4129}, -- Ether +1 + {3800, 4130}, -- Ether +2 + { 460, 12458}, -- Soil Hachimaki + { 740, 12698}, -- Studded Gloves + { 530, 12714}, -- Soil Tekko + { 360, 12730}, -- Wool Cuffs + { 290, 12826}, -- Studded Trousers + {1200, 12842}, -- Soil Sitabaki + { 400, 12858}, -- Wool Slops + { 200, 12954}, -- Studded Boots + { 190, 12970}, -- Soil Kyahan + { 390, 12986}, -- Chestnut Sabots + } + }, + [dsp.zone.UPPER_DELKFUTTS_TOWER] = + { + regionalItems = {19779}, -- Potestas Bomblet + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4114}, -- Potion +2 + { 740, 4115}, -- Potion +3 + { 700, 4116}, -- Hi-Potion + { 800, 4129}, -- Ether +1 + { 430, 4130}, -- Ether +2 + { 200, 4131}, -- Ether +3 + { 50, 4136}, -- Super Ether + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 700, 702}, -- Ebony Log + { 100, 844}, -- Phoenix Feather + { 320, 3308}, -- Power Cooler + {1650, 3434}, -- Cobalt Cell + {1600, 3436}, -- Xanthous Cell + {1500, 3437}, -- Jade Cell + { 800, 3450}, -- Voiddust + {2000, 4117}, -- Hi-Potion +1 + {1900, 4133}, -- Hi-Ether +1 + { 600, 4141}, -- Pro-Ether +1 + { 440, 12996}, -- Silk Pumps + } + }, + [dsp.zone.TEMPLE_OF_UGGALEPIH] = + { + regionalItems = {10953}, -- Boneworker's Torque + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4117}, -- Hi-Potion +1 + { 700, 4118}, -- Hi-Potion +2 + { 230, 4119}, -- Hi-Potion +3 + {1020, 4133}, -- Hi-Ether +1 + { 800, 4134}, -- Hi-Ether +2 + { 240, 4135}, -- Hi-Ether +3 + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 660, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1400, 645}, -- Darksteel Ore + {2580, 702}, -- Ebony Log + { 700, 737}, -- Gold Ore + { 690, 823}, -- Gold Thread + { 450, 844}, -- Phoenix Feather + {3500, 1122}, -- Wyvern Skin + {2700, 1213}, -- Dst. Bolt Heads x33 + { 740, 3308}, -- Power Cooler + {3880, 3434}, -- Cobalt Cell + { 440, 3435}, -- Rubicund Cell + { 210, 3436}, -- Xanthous Cell + {1425, 3450}, -- Voiddust + {5000, 4117}, -- Hi-Potion +1 + {4200, 4121}, -- X-Potion +1 + {4900, 4133}, -- Hi-Ether +1 + {4000, 4141}, -- Pro-Ether +1 + { 900, 4449}, -- Reishi Mushroom + {1200, 5164}, -- Ground Wasabi + { 560, 12427}, -- Bascinet + { 350, 12811}, -- Dst. Breeches + { 540, 12939}, -- Dst. Sollerets + { 610, 12996}, -- Silk Pumps + } + }, + [dsp.zone.DEN_OF_RANCOR] = + { + regionalItems = {10950, 10991}, -- Goldsm. Torque | Rancorous Mantle + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1100, 4118}, -- Hi-Potion +2 + {1000, 4119}, -- Hi-Potion +3 + { 800, 4120}, -- X-Potion + { 600, 4121}, -- X-Potion +1 + {1040, 4135}, -- Hi-Ether +3 + { 790, 4136}, -- Super Ether + { 590, 4137}, -- Super Ether +1 + { 420, 4144}, -- Hi-Elixir + { 655, 4145}, -- Elixir + { 60, 4149}, -- Panacea + { 460, 4155}, -- Remedy + { 790, 4202}, -- Daedalus Wing + { 490, 4206}, -- Catholicon + { 320, 4210}, -- Lethe Water + { 225, 4255}, -- Mana Powder + { 360, 4302}, -- Pamama au Lait + { 540, 4424}, -- Melon Juice + { 210, 5322}, -- Healing Powder + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2700, 646}, -- Adaman Ore + { 310, 739}, -- Orichalcum Ore + { 580, 821}, -- Rainbow Thread + {4250, 1122}, -- Wyvern Skin + {4700, 1222}, -- Yagudo Fltchg + {3100, 1962}, -- Plt. Arrowheads + {1050, 2459}, -- Minium + {2100, 2532}, -- Teak Log + { 510, 3312}, -- Percolator + { 220, 3314}, -- Disruptor + { 650, 3434}, -- Cobalt Cell + { 980, 3435}, -- Rubicund Cell + {1465, 3436}, -- Xanthous Cell + {1050, 3437}, -- Jade Cell + {1940, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {2500, 4123}, -- X-Potion +3 + {4900, 4133}, -- Hi-Ether +1 + {3600, 4134}, -- Hi-Ether +2 + {2120, 4135}, -- Hi-Ether +3 + {1700, 4143}, -- Pro-Ether +3 + {2400, 5662}, -- Dragon Fruit + { 320, 8555}, -- Barrier Module + {1250, 12309}, -- Ritter Shield + { 645, 12324}, -- Tower Shield + { 400, 13087}, -- Jeweled Collar + { 655, 13185}, -- Muscle Belt + { 320, 13212}, -- Tarutaru Sash + { 680, 13587}, -- Rainbow Cape + { 780, 13595}, -- Coeurl Mantle + { 220, 15890}, -- Marid Belt + { 695, 16128}, -- Wivre Hairpin + } + }, + [dsp.zone.RANGUEMONT_PASS] = + { + regionalItems = {11575}, -- Grapevine Cape + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 790, 4113}, -- Potion +1 + { 425, 4114}, -- Potion +2 + {1040, 4128}, -- Ether + { 760, 4129}, -- Ether +1 + { 420, 4130}, -- Ether +2 + { 600, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 750, 4151}, -- Echo Drops + { 350, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 240, 4301}, -- Pear au Lait + { 660, 4425}, -- Tomato Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2050, 3437}, -- Jade Cell + {1500, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4200, 4120}, -- X-Potion + {3500, 4121}, -- X-Potion +1 + {3000, 4122}, -- X-Potion +2 + {4900, 4135}, -- Hi-Ether +3 + {2700, 4143}, -- Pro-Ether +3 + { 600, 4155}, -- Remedy + { 500, 17898}, -- C. Grass. Broth + } + }, + [dsp.zone.BOSTAUNIEUX_OUBLIETTE] = + { + regionalItems = {11920}, -- Melaco Mittens + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1270, 737}, -- Gold Ore + {1550, 739}, -- Orichalcum Ore + { 745, 748}, -- Gold Beastcoin + { 625, 769}, -- Red Rock + { 325, 821}, -- Rainbow Thread + { 425, 844}, -- Phoenix Feather + { 720, 1213}, -- Dst. Bolt Heads + { 830, 2459}, -- Minium + { 240, 3309}, -- Barrage Turbine + { 310, 3313}, -- Vivi-Valve + { 290, 3314}, -- Disruptor + {1400, 3434}, -- Cobalt Cell + { 725, 3435}, -- Rubicund Cell + {1020, 3436}, -- Xanthous Cell + { 600, 3437}, -- Jade Cell + {1750, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4900, 4135}, -- Hi-Ether +3 + {1700, 4144}, -- Hi-Elixir + { 750, 4155}, -- Remedy + {2100, 4173}, -- Hi-Reraiser + { 630, 5662}, -- Dragon Fruit + {1050, 5821}, -- Fsn. Bolt Quiver + { 80, 13929}, -- Errant Hat + { 75, 14078}, -- Errant Cuffs + { 30, 14380}, -- Errant Hpl. + { 110, 16520}, -- Verdun + } + }, + [dsp.zone.TORAIMARAI_CANAL] = + { + regionalItems = {11576}, -- Bond Cape + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1270, 737}, -- Gold Ore + {1550, 739}, -- Orichalcum Ore + { 745, 748}, -- Gold Beastcoin + { 625, 769}, -- Red Rock + { 325, 821}, -- Rainbow Thread + { 425, 844}, -- Phoenix Feather + { 720, 1213}, -- Dst. Bolt Heads + { 830, 2459}, -- Minium + { 240, 3309}, -- Barrage Turbine + { 310, 3313}, -- Vivi-Valve + { 290, 3314}, -- Disruptor + {1400, 3434}, -- Cobalt Cell + { 725, 3435}, -- Rubicund Cell + {1020, 3436}, -- Xanthous Cell + { 600, 3437}, -- Jade Cell + {1750, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4900, 4135}, -- Hi-Ether +3 + {1700, 4144}, -- Hi-Elixir + { 750, 4155}, -- Remedy + {2100, 4173}, -- Hi-Reraiser + { 630, 5662}, -- Dragon Fruit + {1050, 5821}, -- Fsn. Bolt Quiver + { 80, 13929}, -- Errant Hat + { 75, 14078}, -- Errant Cuffs + { 30, 14380}, -- Errant Hpl. + { 110, 16520}, -- Verdun + } + }, + [dsp.zone.ZERUHN_MINES] = + { + regionalItems = {11677}, -- Prouesse Ring + tempsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + tempsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + itemsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3760, 505}, -- Sheepskin + {3450, 626}, -- Black Pepper + {4790, 656}, -- Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {4820, 4114}, -- Potion +2 + {4650, 4115}, -- Potion +3 + {4840, 4129}, -- Ether +1 + {4320, 4130}, -- Ether +2 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + }, + itemsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3760, 505}, -- Sheepskin + {3450, 626}, -- Black Pepper + { 480, 679}, -- Aluminum Ingot + {1560, 714}, -- Holly Lumber + { 780, 727}, -- Dogwood Log + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {1290, 1981}, -- Skull Locust + { 230, 3307}, -- Heat Capacitor + { 120, 3308}, -- Power Cooler + { 150, 3309}, -- Barrage Turbine + { 110, 3311}, -- Galvanizer + { 205, 3312}, -- Percolator + { 235, 3313}, -- Vivi-Valve + { 155, 3314}, -- Disruptor + {1830, 3434}, -- Cobalt Cell + {1020, 3435}, -- Rubicund Cell + { 840, 3436}, -- Xanthous Cell + { 610, 3437}, -- Jade Cell + {1130, 3450}, -- Voiddust + {4830, 4117}, -- Hi-Potion +1 + {4690, 4118}, -- Hi-Potion +2 + {3650, 4119}, -- Hi-Potion +3 + {2700, 4121}, -- X-Potion +1 + {1500, 4123}, -- X-Potion +3 + {3880, 4133}, -- Hi-Ether +1 + {3410, 4134}, -- Hi-Ether +2 + {2640, 4135}, -- Hi-Ether +3 + {1430, 4141}, -- Pro-Ether +1 + { 920, 4143}, -- Pro-Ether +3 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + { 680, 5819}, -- Antlion Quiver + { 300, 8555}, -- Barrier Module + { 105, 12469}, -- War Beret + { 210, 12725}, -- War Gloves + { 80, 12853}, -- War Brais + { 55, 12981}, -- War Boots + { 95, 13212}, -- Tarutaru Sash + { 25, 13467}, -- Dragon Ring + {3810, 17316}, -- Bomb Arm + {1070, 17894}, -- Vermihumus + } + }, + [dsp.zone.KORROLOKA_TUNNEL] = + { + regionalItems = {11039}, -- Brachyura Earring + tempsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + tempsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + itemsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1450, 835}, -- Flax Flower + { 800, 898}, -- Chicken Bone + {2630, 1155}, -- Iron Sand + {4790, 656}, -- Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {4820, 4114}, -- Potion +2 + {4650, 4115}, -- Potion +3 + {4840, 4129}, -- Ether +1 + {4320, 4130}, -- Ether +2 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + }, + itemsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 870, 746}, -- Platinum Ingot + { 430, 835}, -- Flax Flower + { 790, 898}, -- Chicken Bone + {2400, 1155}, -- Iron Sand + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + { 390, 838}, -- Spider Web + {3500, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {2950, 3437}, -- Jade Cell + {5000, 4119}, -- Hi-Potion +3 + {4700, 4121}, -- X-Potion +1 + { 600, 4123}, -- X-Potion +3 + {4900, 4141}, -- Pro-Ether +1 + {2700, 4145}, -- Elixir + {1650, 4155}, -- Remedy + {1450, 4449}, -- Reishi Mushroom + { 120, 12880}, -- Ogre Trousers + { 110, 13704}, -- Ogre Mask + } + }, + [dsp.zone.KUFTAL_TUNNEL] = + { + regionalItems = {18816}, -- Wizzan Grip + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 610, 657}, -- Tama-Hagane + { 590, 685}, -- Khroma Ore + { 730, 876}, -- Manta Skin + {1640, 919}, -- Boyahda Moss + {1390, 838}, -- Spider Web + {4500, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {1490, 1446}, -- Lacquer Tree Log + { 250, 3307}, -- Heat Capacitor + { 320, 3308}, -- Power Cooler + { 410, 3309}, -- Barrage Turbine + {1620, 3434}, -- Cobalt Cell + {2430, 3435}, -- Rubicund Cell + {1720, 3436}, -- Xanthous Cell + {1290, 3437}, -- Jade Cell + {5000, 4119}, -- Hi-Potion +3 + {3700, 4123}, -- X-Potion +3 + {4900, 4134}, -- Hi-Ether +2 + {2900, 4143}, -- Pro-Ether +3 + {1900, 4155}, -- Remedy + { 980, 4173}, -- Hi-Reraiser + { 670, 4174}, -- Vile Elixir + { 320, 4175}, -- Vile Elixir +1 + {1760, 4291}, -- Sandfish + { 500, 4447}, -- Scream Fungus + { 630, 5866}, -- Toolbag (Moku) + { 420, 5872}, -- D.A. Bolt Quiver + } + }, + [dsp.zone.SEA_SERPENT_GROTTO] = + { + regionalItems = {19780}, -- Mana Ampulla + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4117}, -- Hi-Potion +1 + { 700, 4118}, -- Hi-Potion +2 + { 230, 4119}, -- Hi-Potion +3 + {1020, 4133}, -- Hi-Ether +1 + { 800, 4134}, -- Hi-Ether +2 + { 240, 4135}, -- Hi-Ether +3 + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 620, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 230, 645}, -- Darksteel Ore + { 850, 702}, -- Ebony Log + { 560, 737}, -- Gold Ore + { 520, 823}, -- Gold Thread + { 840, 843}, -- G. Bird Plume + {1250, 844}, -- Phoenix Feather + {2500, 1155}, -- Iron Sand + {1900, 1213}, -- Dst. Bolt Heads + {2100, 1443}, -- Dried Mugwort + { 210, 3314}, -- Disruptor + {1700, 3434}, -- Cobalt Cell + { 650, 3435}, -- Rubicund Cell + {1230, 3437}, -- Jade Cell + {3100, 3450}, -- Voiddust + {5000, 4117}, -- Hi-Potion +1 + {4400, 4120}, -- X-Potion + { 600, 4121}, -- X-Potion +1 + {4800, 4133}, -- Hi-Ether +1 + { 790, 4141}, -- Pro-Ether +1 + { 310, 4449}, -- Reishi Mushroom + { 430, 5164}, -- Ground Wasabi + { 440, 12427}, -- Bascinet + { 365, 12683}, -- Darksteel Mufflers + { 295, 12811}, -- Dst. Breeches + { 345, 12868}, -- Silk Slacks + { 290, 12996}, -- Silk Pumps + { 525, 13702}, -- Beak Ledelsens + } + }, + [dsp.zone.VELUGANNON_PALACE] = + { + regionalItems = {13467}, -- Dragon Ring + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2000, 4119}, -- Hi-Potion +3 + {1500, 4120}, -- X-Potion + { 800, 4121}, -- X-Potion +1 + {1900, 4135}, -- Hi-Ether +3 + { 600, 4136}, -- Super Ether + { 420, 4137}, -- Super Ether +1 + { 540, 4144}, -- Hi-Elixir + {1300, 4145}, -- Elixir + { 60, 4149}, -- Panacea + { 980, 4155}, -- Remedy + {1670, 4202}, -- Daedalus Wing + { 670, 4206}, -- Catholicon + { 760, 4210}, -- Lethe Water + { 680, 4255}, -- Mana Powder + { 450, 4302}, -- Pamama au Lait + { 765, 4424}, -- Melon Juice + { 340, 5322}, -- Healing Powder + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3760, 505}, -- Sheepskin + {3450, 626}, -- Black Pepper + { 480, 679}, -- Aluminum Ingot + {1560, 714}, -- Holly Lumber + { 780, 727}, -- Dogwood Log + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {1290, 1981}, -- Skull Locust + { 230, 3307}, -- Heat Capacitor + { 120, 3308}, -- Power Cooler + { 150, 3309}, -- Barrage Turbine + { 110, 3311}, -- Galvanizer + { 205, 3312}, -- Percolator + { 235, 3313}, -- Vivi-Valve + { 155, 3314}, -- Disruptor + {1830, 3434}, -- Cobalt Cell + {1020, 3435}, -- Rubicund Cell + { 840, 3436}, -- Xanthous Cell + { 610, 3437}, -- Jade Cell + {1130, 3450}, -- Voiddust + {4830, 4117}, -- Hi-Potion +1 + {4690, 4118}, -- Hi-Potion +2 + {3650, 4119}, -- Hi-Potion +3 + {2700, 4121}, -- X-Potion +1 + {1500, 4123}, -- X-Potion +3 + {3880, 4133}, -- Hi-Ether +1 + {3410, 4134}, -- Hi-Ether +2 + {2640, 4135}, -- Hi-Ether +3 + {1430, 4141}, -- Pro-Ether +1 + { 920, 4143}, -- Pro-Ether +3 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + { 680, 5819}, -- Antlion Quiver + { 300, 8555}, -- Barrier Module + { 105, 12469}, -- War Beret + { 210, 12725}, -- War Gloves + { 80, 12853}, -- War Brais + { 55, 12981}, -- War Boots + {3810, 17316}, -- Bomb Arm + {1070, 17894}, -- Vermihumus + } + }, + [dsp.zone.THE_SHRINE_OF_RUAVITAU] = + { + regionalItems = {11040, 10951}, -- Terminus Earring | Weaver's Torque + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 390, 657}, -- Tama-Hagane + { 745, 876}, -- Manta Skin + { 250, 887}, -- Coral Fragment + {3700, 919}, -- Boyahda Moss + {4500, 1163}, -- Manticore Hair + {1025, 1446}, -- Lacquer Tree Log + { 450, 3313}, -- Vivi-Valve + { 700, 3434}, -- Cobalt Cell + {1600, 3435}, -- Rubicund Cell + {2060, 3436}, -- Xanthous Cell + {2050, 3437}, -- Jade Cell + {1500, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4200, 4120}, -- X-Potion + {3500, 4121}, -- X-Potion +1 + {3000, 4122}, -- X-Potion +2 + {4900, 4135}, -- Hi-Ether +3 + {2700, 4143}, -- Pro-Ether +3 + { 600, 4155}, -- Remedy + {1200, 4173}, -- Hi-Reraiser + { 900, 4174}, -- Vile Elixir + {1200, 4291}, -- Sandfish + {1700, 4447}, -- Scream Fungus + { 650, 5866}, -- Toolbag (Moku) + {1050, 5871}, -- Ruszor Quiver + {2050, 17881}, -- Deepbed Soil + {1020, 17884}, -- Sun Water + { 500, 17898}, -- C. Grass. Broth + { 400, 17899}, -- Svg. Mole Broth + } + }, + [dsp.zone.LOWER_DELKFUTTS_TOWER] = + { + regionalItems = {11043}, -- Giant's Earring + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4117}, -- Hi-Potion +1 + { 700, 4118}, -- Hi-Potion +2 + { 230, 4119}, -- Hi-Potion +3 + {1020, 4133}, -- Hi-Ether +1 + { 800, 4134}, -- Hi-Ether +2 + { 240, 4135}, -- Hi-Ether +3 + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 620, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2750, 574}, -- Fruit Seeds + {3600, 633}, -- Olive Oil + {3250, 651}, -- Iron Ingot + {1200, 653}, -- Mythril Ingot + {1420, 691}, -- Maple Log + { 760, 822}, -- Silver Thread + {1350, 943}, -- Poison Dust + {2700, 1212}, -- Mtl. Bolt Heads x33 + { 500, 3435}, -- Rubicund Cell + { 510, 3436}, -- Xanthous Cell + {4800, 4114}, -- Potion +2 + {3200, 4115}, -- Potion +3 + {5000, 4129}, -- Ether +1 + {3800, 4130}, -- Ether +2 + { 245, 8555}, -- Barrier Module + { 460, 12458}, -- Soil Hachimaki + { 740, 12698}, -- Studded Gloves + { 530, 12714}, -- Soil Tekko + { 360, 12730}, -- Wool Cuffs + { 290, 12826}, -- Studded Trousers + {1200, 12842}, -- Soil Sitabaki + { 400, 12858}, -- Wool Slops + { 200, 12954}, -- Studded Boots + { 190, 12970}, -- Soil Kyahan + { 390, 12986}, -- Chestnut Sabots + } + }, + [dsp.zone.KING_RANPERRES_TOMB] = + { + regionalItems = {10924}, -- Chocobo Torque + tempsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + tempsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + itemsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3760, 505}, -- Sheepskin + {3450, 626}, -- Black Pepper + { 800, 898}, -- Chicken Bone + {1560, 714}, -- Holly Lumber + {4790, 656}, -- Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {4820, 4114}, -- Potion +2 + {4650, 4115}, -- Potion +3 + {4840, 4129}, -- Ether +1 + {4320, 4130}, -- Ether +2 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + }, + itemsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3760, 505}, -- Sheepskin + {3450, 626}, -- Black Pepper + { 480, 679}, -- Aluminum Ingot + {1560, 714}, -- Holly Lumber + { 780, 727}, -- Dogwood Log + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {1290, 1981}, -- Skull Locust + {1830, 3434}, -- Cobalt Cell + {1020, 3435}, -- Rubicund Cell + { 840, 3436}, -- Xanthous Cell + { 610, 3437}, -- Jade Cell + {1130, 3450}, -- Voiddust + {4830, 4117}, -- Hi-Potion +1 + {4690, 4118}, -- Hi-Potion +2 + {3650, 4119}, -- Hi-Potion +3 + {2700, 4121}, -- X-Potion +1 + {1500, 4123}, -- X-Potion +3 + {3880, 4133}, -- Hi-Ether +1 + {3410, 4134}, -- Hi-Ether +2 + {2640, 4135}, -- Hi-Ether +3 + {1430, 4141}, -- Pro-Ether +1 + { 920, 4143}, -- Pro-Ether +3 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + { 680, 5819}, -- Antlion Quiver + { 300, 8555}, -- Barrier Module + { 105, 12469}, -- War Beret + { 210, 12725}, -- War Gloves + { 80, 12853}, -- War Brais + { 55, 12981}, -- War Boots + {3810, 17316}, -- Bomb Arm + } + }, + [dsp.zone.DANGRUF_WADI] = + { + regionalItems = {11769}, -- Field Rope + tempsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + tempsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + itemsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1450, 835}, -- Flax Flower + { 800, 898}, -- Chicken Bone + {2630, 1155}, -- Iron Sand + {4790, 656}, -- Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {4820, 4114}, -- Potion +2 + {4650, 4115}, -- Potion +3 + {4840, 4129}, -- Ether +1 + {4320, 4130}, -- Ether +2 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + }, + itemsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2700, 646}, -- Adaman Ore + { 920, 653}, -- Mythril Ingot + {2100, 690}, -- Elm Log + {1540, 694}, -- Chestnut Log + {2160, 749}, -- Mtl. Beastcoin + {1760, 940}, -- Revival Root + {2300, 943}, -- Poison Dust + {1090, 3311}, -- Galvanizer + { 650, 3434}, -- Cobalt Cell + { 980, 3435}, -- Rubicund Cell + {1465, 3436}, -- Xanthous Cell + {1050, 3437}, -- Jade Cell + {1940, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {2500, 4123}, -- X-Potion +3 + {4900, 4133}, -- Hi-Ether +1 + {3600, 4134}, -- Hi-Ether +2 + {2120, 4135}, -- Hi-Ether +3 + { 795, 4155}, -- Remedy + { 245, 12437}, -- Gavial Mask + } + }, + [dsp.zone.INNER_HORUTOTO_RUINS] = + { + regionalItems = {18624}, -- Numen Staff + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3760, 505}, -- Sheepskin + {3450, 626}, -- Black Pepper + { 480, 679}, -- Aluminum Ingot + {1560, 714}, -- Holly Lumber + { 780, 727}, -- Dogwood Log + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {1290, 1981}, -- Skull Locust + {1830, 3434}, -- Cobalt Cell + {1020, 3435}, -- Rubicund Cell + { 840, 3436}, -- Xanthous Cell + { 610, 3437}, -- Jade Cell + {1130, 3450}, -- Voiddust + {4830, 4117}, -- Hi-Potion +1 + {4690, 4118}, -- Hi-Potion +2 + {3650, 4119}, -- Hi-Potion +3 + {2700, 4121}, -- X-Potion +1 + {1500, 4123}, -- X-Potion +3 + {3880, 4133}, -- Hi-Ether +1 + {3410, 4134}, -- Hi-Ether +2 + {2640, 4135}, -- Hi-Ether +3 + {1430, 4141}, -- Pro-Ether +1 + { 920, 4143}, -- Pro-Ether +3 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + { 680, 5819}, -- Antlion Quiver + { 300, 8555}, -- Barrier Module + { 105, 12469}, -- War Beret + { 210, 12725}, -- War Gloves + { 80, 12853}, -- War Brais + { 55, 12981}, -- War Boots + {3810, 17316}, -- Bomb Arm + } + }, + [dsp.zone.ORDELLES_CAVES] = + { + regionalItems = {11767}, -- Chocobo Rope + tempsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + tempsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + itemsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1450, 835}, -- Flax Flower + { 800, 898}, -- Chicken Bone + {2630, 1155}, -- Iron Sand + {4790, 656}, -- Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {4820, 4114}, -- Potion +2 + {4650, 4115}, -- Potion +3 + {4840, 4129}, -- Ether +1 + {4320, 4130}, -- Ether +2 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + }, + itemsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 425, 702}, -- Ebony Log + { 870, 746}, -- Platinum Ingot + { 430, 835}, -- Flax Flower + { 790, 898}, -- Chicken Bone + {2400, 857}, -- Dhalmel Hide + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + { 390, 838}, -- Spider Web + {3500, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + { 365, 913}, -- Beeswax + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + { 210, 1229}, -- Adaman Nugget + {3610, 1845}, -- Red Moko Grass + { 205, 3311}, -- Galvanizer + { 725, 3313}, -- Vivi-Valve + { 610, 3435}, -- Rubicund Cell + { 930, 3436}, -- Xanthous Cell + {2950, 3437}, -- Jade Cell + {2105, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4700, 4121}, -- X-Potion +1 + { 600, 4123}, -- X-Potion +3 + {4900, 4141}, -- Pro-Ether +1 + {2700, 4145}, -- Elixir + {1650, 4155}, -- Remedy + {1450, 4449}, -- Reishi Mushroom + { 795, 5416}, -- Stl. Bull. Pouch + { 120, 12880}, -- Ogre Trousers + { 425, 13587}, -- Rainbow Cape + { 110, 13704}, -- Ogre Mask + { 215, 13706}, -- Ogre Gloves + { 150, 13708}, -- Ogre Ledelsens + } + }, + [dsp.zone.OUTER_HORUTOTO_RUINS] = + { + regionalItems = {10925}, -- Fisher's Torque + tempsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + tempsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + itemsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3760, 505}, -- Sheepskin + {3450, 626}, -- Black Pepper + {4790, 656}, -- Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {4820, 4114}, -- Potion +2 + {4650, 4115}, -- Potion +3 + {4840, 4129}, -- Ether +1 + {4320, 4130}, -- Ether +2 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + }, + itemsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3760, 505}, -- Sheepskin + {3450, 626}, -- Black Pepper + { 480, 679}, -- Aluminum Ingot + {1560, 714}, -- Holly Lumber + { 780, 727}, -- Dogwood Log + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {1290, 1981}, -- Skull Locust + { 230, 3307}, -- Heat Capacitor + { 120, 3308}, -- Power Cooler + { 150, 3309}, -- Barrage Turbine + { 110, 3311}, -- Galvanizer + { 205, 3312}, -- Percolator + { 235, 3313}, -- Vivi-Valve + { 155, 3314}, -- Disruptor + {1830, 3434}, -- Cobalt Cell + {1020, 3435}, -- Rubicund Cell + { 840, 3436}, -- Xanthous Cell + { 610, 3437}, -- Jade Cell + {1130, 3450}, -- Voiddust + {4830, 4117}, -- Hi-Potion +1 + {4690, 4118}, -- Hi-Potion +2 + {3650, 4119}, -- Hi-Potion +3 + {2700, 4121}, -- X-Potion +1 + {1500, 4123}, -- X-Potion +3 + {3880, 4133}, -- Hi-Ether +1 + {3410, 4134}, -- Hi-Ether +2 + {2640, 4135}, -- Hi-Ether +3 + {1430, 4141}, -- Pro-Ether +1 + { 920, 4143}, -- Pro-Ether +3 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + { 680, 5819}, -- Antlion Quiver + { 300, 8555}, -- Barrier Module + { 105, 12469}, -- War Beret + { 210, 12725}, -- War Gloves + { 80, 12853}, -- War Brais + { 55, 12981}, -- War Boots + { 95, 13212}, -- Tarutaru Sash + { 25, 13467}, -- Dragon Ring + {3810, 17316}, -- Bomb Arm + {1070, 17894}, -- Vermihumus + } + }, + [dsp.zone.THE_ELDIEME_NECROPOLIS] = + { + regionalItems = {18812}, -- Ossa Grip + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3000, 574}, -- Fruit Seeds + {1760, 633}, -- Olive Oil + { 390, 646}, -- Adaman Ore + {2650, 694}, -- Chestnut Log + {3150, 749}, -- Mtl. Beastcoin + {3200, 859}, -- Ram Skin + {2570, 895}, -- Ram Horn + { 765, 943}, -- Poison Dust + { 235, 3309}, -- Barrage Turbine + { 490, 3434}, -- Cobalt Cell + { 655, 3436}, -- Xanthous Cell + {1490, 3437}, -- Jade Cell + {1760, 3450}, -- Voiddust + {5000, 4117}, -- Hi-Potion +1 + {2700, 4119}, -- Hi-Potion +3 + {1050, 4121}, -- X-Potion +1 + { 450, 4123}, -- X-Potion +3 + {4900, 4143}, -- Pro-Ether +3 + { 650, 4144}, -- Hi-Elixir + { 230, 12437}, -- Gavial Mask + { 210, 12693}, -- Gavial Fng. Gnt. + { 110, 16396}, -- Koenigs Knuckles + { 90, 17364}, -- Cythara Anglica + {2570, 17898}, -- C. Grass. Broth + {3100, 18259}, -- Angon + } + }, + [dsp.zone.GUSGEN_MINES] = + { + regionalItems = {10926}, -- Field Torque + tempsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + tempsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + itemsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1450, 835}, -- Flax Flower + { 800, 898}, -- Chicken Bone + {2630, 1155}, -- Iron Sand + {4790, 656}, -- Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {4820, 4114}, -- Potion +2 + {4650, 4115}, -- Potion +3 + {4840, 4129}, -- Ether +1 + {4320, 4130}, -- Ether +2 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + }, + itemsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 425, 702}, -- Ebony Log + { 870, 746}, -- Platinum Ingot + { 430, 835}, -- Flax Flower + { 790, 898}, -- Chicken Bone + {2400, 857}, -- Dhalmel Hide + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + { 390, 838}, -- Spider Web + {3500, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + { 365, 913}, -- Beeswax + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + { 210, 1229}, -- Adaman Nugget + {3610, 1845}, -- Red Moko Grass + { 205, 3311}, -- Galvanizer + { 725, 3313}, -- Vivi-Valve + { 610, 3435}, -- Rubicund Cell + { 930, 3436}, -- Xanthous Cell + {2950, 3437}, -- Jade Cell + {2105, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4700, 4121}, -- X-Potion +1 + { 600, 4123}, -- X-Potion +3 + {4900, 4141}, -- Pro-Ether +1 + {2700, 4145}, -- Elixir + {1650, 4155}, -- Remedy + {1450, 4449}, -- Reishi Mushroom + { 795, 5416}, -- Stl. Bull. Pouch + { 235, 12821}, -- Gavial Cuisses + { 120, 12880}, -- Ogre Trousers + { 425, 13587}, -- Rainbow Cape + { 110, 13704}, -- Ogre Mask + { 215, 13706}, -- Ogre Gloves + { 150, 13708}, -- Ogre Ledelsens + } + }, + [dsp.zone.CRAWLERS_NEST] = + { + regionalItems = {11823}, -- Cocoon Band + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {3000, 574}, -- Fruit Seeds + {1760, 633}, -- Olive Oil + { 390, 646}, -- Adaman Ore + {2650, 694}, -- Chestnut Log + {3150, 749}, -- Mtl. Beastcoin + {3200, 859}, -- Ram Skin + {2570, 895}, -- Ram Horn + { 765, 943}, -- Poison Dust + { 235, 3309}, -- Barrage Turbine + { 490, 3434}, -- Cobalt Cell + { 655, 3436}, -- Xanthous Cell + {1490, 3437}, -- Jade Cell + {1760, 3450}, -- Voiddust + {5000, 4117}, -- Hi-Potion +1 + {2700, 4119}, -- Hi-Potion +3 + {1050, 4121}, -- X-Potion +1 + { 450, 4123}, -- X-Potion +3 + {4900, 4143}, -- Pro-Ether +3 + { 650, 4144}, -- Hi-Elixir + { 230, 12437}, -- Gavial Mask + { 210, 12693}, -- Gavial Fng. Gnt. + { 110, 16396}, -- Koenigs Knuckles + { 90, 17364}, -- Cythara Anglica + {2570, 17898}, -- C. Grass. Broth + {3100, 18259}, -- Angon + } + }, + [dsp.zone.MAZE_OF_SHAKHRAMI] = + { + regionalItems = {11768}, -- Fisher's Rope + tempsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4112}, -- Potion + { 740, 4113}, -- Potion +1 + { 700, 4114}, -- Potion +2 + { 800, 4128}, -- Ether + { 430, 4129}, -- Ether +1 + { 50, 4130}, -- Ether +2 + { 900, 4145}, -- Elixer + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 250, 4300}, -- Apple Au Lait + { 660, 4423}, -- Apple Juice + }, + tempsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + itemsLow = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1450, 835}, -- Flax Flower + { 800, 898}, -- Chicken Bone + {2630, 1155}, -- Iron Sand + {4790, 656}, -- Beastcoin + {4600, 818}, -- Cotton Thread + {5000, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + {3610, 1845}, -- Red Moko Grass + {4820, 4114}, -- Potion +2 + {4650, 4115}, -- Potion +3 + {4840, 4129}, -- Ether +1 + {4320, 4130}, -- Ether +2 + { 510, 4145}, -- Elixir + {2430, 4370}, -- Honey + }, + itemsHi = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 425, 702}, -- Ebony Log + { 870, 746}, -- Platinum Ingot + { 430, 835}, -- Flax Flower + { 790, 898}, -- Chicken Bone + {2400, 857}, -- Dhalmel Hide + {2750, 750}, -- Silver Beastcoin + {4600, 818}, -- Cotton Thread + { 390, 838}, -- Spider Web + {3500, 852}, -- Lizard Skin + {4990, 880}, -- Bone Chip + {2650, 893}, -- Giant Femur + {1730, 912}, -- Beehive Chip + { 365, 913}, -- Beeswax + {1450, 925}, -- Giant Stinger + {1060, 1225}, -- Gold Nugget + { 210, 1229}, -- Adaman Nugget + {3610, 1845}, -- Red Moko Grass + { 205, 3311}, -- Galvanizer + { 725, 3313}, -- Vivi-Valve + { 610, 3435}, -- Rubicund Cell + { 930, 3436}, -- Xanthous Cell + {2950, 3437}, -- Jade Cell + {2105, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4700, 4121}, -- X-Potion +1 + { 600, 4123}, -- X-Potion +3 + {4900, 4141}, -- Pro-Ether +1 + {2700, 4145}, -- Elixir + {1650, 4155}, -- Remedy + {1450, 4449}, -- Reishi Mushroom + { 795, 5416}, -- Stl. Bull. Pouch + { 235, 12821}, -- Gavial Cuisses + { 120, 12880}, -- Ogre Trousers + { 425, 13587}, -- Rainbow Cape + { 110, 13704}, -- Ogre Mask + { 215, 13706}, -- Ogre Gloves + { 150, 13708}, -- Ogre Ledelsens + } + }, + [dsp.zone.GARLAIGE_CITADEL] = + { + regionalItems = {18784}, -- Metasoma Katars + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 640, 633}, -- Olive Oil + { 510, 646}, -- Adaman Ore + { 410, 653}, -- Mythril Ingot + { 670, 690}, -- Elm Log + { 325, 691}, -- Maple Log + {2980, 749}, -- Mtl. Beastcoin + {3650, 750}, -- Silver Beastcoin + {2430, 820}, -- Wool Thread + {3200, 859}, -- Ram Skin + {2570, 895}, -- Ram Horn + { 765, 943}, -- Poison Dust + { 325, 3312}, -- Percolator + { 490, 3434}, -- Cobalt Cell + { 655, 3436}, -- Xanthous Cell + {1490, 3437}, -- Jade Cell + {1760, 3450}, -- Voiddust + {5000, 4117}, -- Hi-Potion +1 + {2700, 4119}, -- Hi-Potion +3 + {1050, 4121}, -- X-Potion +1 + { 450, 4123}, -- X-Potion +3 + {4900, 4143}, -- Pro-Ether +3 + { 650, 4144}, -- Hi-Elixir + { 230, 12437}, -- Gavial Mask + { 210, 12693}, -- Gavial Fng. Gnt. + { 110, 16396}, -- Koenigs Knuckles + { 90, 17364}, -- Cythara Anglica + {2570, 17898}, -- C. Grass. Broth + {3100, 18259}, -- Angon + } + }, + [dsp.zone.FEIYIN] = + { + regionalItems = {16202}, -- Dagda's Shield + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 760, 645}, -- Darksteel Ore + { 365, 646}, -- Adaman Ore + { 490, 739}, -- Orichalcum Ore + {2680, 748}, -- Gold Beastcoin + { 230, 773}, -- Translucent Rock + { 570, 775}, -- Black Rock + { 600, 776}, -- White Rock + { 780, 821}, -- Rainbow Thread + {1480, 823}, -- Gold Thread + {3600, 1222}, -- Yagudo Fltchg. + {1460, 1962}, -- Plt. Arrowheads + { 430, 2459}, -- Minium + {0000, 2761}, -- Feyweald Log + { 360, 3312}, -- Percolator + { 900, 3434}, -- Cobalt Cell + {1050, 3435}, -- Rubicund Cell + {1240, 3436}, -- Xanthous Cell + {1465, 3437}, -- Jade Cell + {2675, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4750, 4123}, -- X-Potion +3 + {4900, 4135}, -- Hi-Ether +3 + {4250, 4143}, -- Pro-Ether +3 + {2500, 4144}, -- Hi-Elixir + {1500, 4155}, -- Remedy + { 700, 4173}, -- Hi-Reraiser + { 845, 5821}, -- Fsn. Bolt Quiver + { 120, 13929}, -- Errant Hat + { 90, 14078}, -- Errant Cuffs + { 85, 14182}, -- Errant Pigaches + { 75, 14301}, -- Errant Slops + { 230, 16520}, -- Verdun + {1000, 17896}, -- Gob. Bug Broth + {2150, 18258}, -- Thr. Tomahawk + } + }, + [dsp.zone.IFRITS_CAULDRON] = + { + regionalItems = {10949}, -- Smithy's Torque + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {2700, 646}, -- Adaman Ore + { 310, 739}, -- Orichalcum Ore + { 580, 821}, -- Rainbow Thread + {4700, 1222}, -- Yagudo Fltchg. + {1540, 838}, -- Spider Web + {1700, 843}, -- G. Bird Plume + {2050, 1155}, -- Iron Sand + {3670, 1222}, -- Yagudo Fltchg. + {3100, 1962}, -- Plt. Arrowheads + {1050, 2459}, -- Minium + {2100, 2532}, -- Teak Log + { 340, 3309}, -- Barrage Turbine + {1650, 3434}, -- Cobalt Cell + {1430, 3435}, -- Rubicund Cell + {1625, 3436}, -- Xanthous Cell + {1725, 3437}, -- Jade Cell + {2635, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {2500, 4123}, -- X-Potion +3 + {4900, 4135}, -- Hi-Ether +3 + {2200, 4143}, -- Pro-Ether +3 + {2400, 5662}, -- Dragon Fruit + { 410, 8555}, -- Barrier Module + {1250, 12309}, -- Ritter Shield + { 320, 13212}, -- Tarutaru Sash + { 680, 13587}, -- Rainbow Cape + { 780, 13595}, -- Coeurl Mantle + { 220, 15890}, -- Marid Belt + { 695, 16128}, -- Wivre Hairpin + { 725, 16265}, -- Wivre Gorget + } + }, + [dsp.zone.GUSTAV_TUNNEL] = + { + regionalItems = {10955, 11041}, -- Culinarian's Torque | Liminus Earring + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 390, 657}, -- Tama-Hagane + { 745, 876}, -- Manta Skin + { 250, 887}, -- Coral Fragment + {4500, 1163}, -- Manticore Hair + {1025, 1446}, -- Lacquer Tree Log + { 255, 3307}, -- Heat Capacitor + { 245, 3312}, -- Percolator + { 450, 3313}, -- Vivi-Valve + { 700, 3434}, -- Cobalt Cell + {1600, 3435}, -- Rubicund Cell + {2060, 3436}, -- Xanthous Cell + {2050, 3437}, -- Jade Cell + {1500, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4200, 4120}, -- X-Potion + {3500, 4121}, -- X-Potion +1 + {3000, 4122}, -- X-Potion +2 + {4900, 4135}, -- Hi-Ether +3 + {2700, 4143}, -- Pro-Ether +3 + { 600, 4155}, -- Remedy + {1200, 4173}, -- Hi-Reraiser + { 900, 4174}, -- Vile Elixir + {1200, 4291}, -- Sandfish + {1700, 4447}, -- Scream Fungus + { 650, 5866}, -- Toolbag (Moku) + {1050, 5871}, -- Ruszor Quiver + {2050, 17881}, -- Deepbed Soil + {1020, 17884}, -- Sun Water + { 500, 17898}, -- C. Grass. Broth + { 400, 17899}, -- Svg. Mole Broth + } + }, + [dsp.zone.LABYRINTH_OF_ONZOZO] = + { + regionalItems = {18817}, -- Furtive Grip + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 900, 4202}, -- Daedalus Wing + { 500, 4206}, -- Catholicon + { 300, 4255}, -- Mana Powder + { 450, 5322}, -- Healing Powder + { 320, 5393}, -- Monarch's Drink + { 650, 5394}, -- Gnostic's Drink + { 430, 5395}, -- Cleric's Drink + {1000, 5433}, -- Dusty Elixir + { 690, 5439}, -- Vicar's Drink + { 250, 5440}, -- Dusty Wing + {2000, 5824}, -- Lucid Potion I + {1900, 5825}, -- Lucid Potion II + {1200, 5826}, -- Lucid Potion III + { 730, 5832}, -- Healing Mist + { 420, 5833}, -- Mana Mist + {1010, 5834}, -- Lucid Wings I + { 875, 5835}, -- Healing Salve I + { 210, 5836}, -- Healing Salve II + { 920, 5837}, -- Clear Salve I + { 190, 5838}, -- Clear Salve II + { 310, 5839}, -- Stalwart's Tonic + { 205, 5840}, -- Stalwart's Gambir + { 410, 5841}, -- Ascetic's Tonic + { 305, 5842}, -- Ascetic's Gambir + { 310, 5843}, -- Champion's Tonic + { 200, 5845}, -- Fanatic's Tonic + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 720, 1213}, -- Dst. Bolt Heads + {1020, 1443}, -- Dried Mugwort + { 430, 2459}, -- Minium + {2200, 2761}, -- Feyweald Log + { 360, 3312}, -- Percolator + { 900, 3434}, -- Cobalt Cell + {1050, 3435}, -- Rubicund Cell + {1240, 3436}, -- Xanthous Cell + {1465, 3437}, -- Jade Cell + {2675, 3450}, -- Voiddust + {5000, 4119}, -- Hi-Potion +3 + {4750, 4123}, -- X-Potion +3 + {4900, 4135}, -- Hi-Ether +3 + {4250, 4143}, -- Pro-Ether +3 + {2500, 4144}, -- Hi-Elixir + {1500, 4155}, -- Remedy + { 700, 4173}, -- Hi-Reraiser + { 640, 4449}, -- Reishi Mushroom + { 340, 9068}, -- Barrier Module + }, + }, } ---------------------------------------------------------------------------------- @@ -342,7 +4596,7 @@ end --------------------------------------------------------------------------------------------- -- Desc: Sets all the base localVar's, type of chest and if locked, sets the random number. --------------------------------------------------------------------------------------------- -local function setCasketData(player, x, y, z, r, npc, partyID) +local function setCasketData(player, x, y, z, r, npc, partyID, mobLvl) --------------------------------------------------------------------------------------------------- -- NOTE: Super Kupowers Myriad Mystery Boxes add an additional 20% chance the chest will be locked. --------------------------------------------------------------------------------------------------- @@ -357,7 +4611,7 @@ local function setCasketData(player, x, y, z, r, npc, partyID) -- kupowersBonus = 0.2 -- end - if typeChance < 0.2 + kupowersBonus then + if typeChance < 0.5 + kupowersBonus then chestStyle = 966 -- Brown locked else chestStyle = 965 -- Blue @@ -372,10 +4626,12 @@ local function setCasketData(player, x, y, z, r, npc, partyID) ------------------------------------- npc:setLocalVar("[caskets]PARTYID", partyID) npc:setLocalVar("[caskets]ITEMS_SET", 0) + npc:setLocalVar("[caskets]MOBLVL", mobLvl) if chestStyle == 966 then npc:setLocalVar("[caskets]ATTEMPTS", attempts) npc:setLocalVar("[caskets]CORRECT_NUM", correctNum) + printf("Correct Number: %s", correctNum) npc:setLocalVar("[caskets]FAILED_ATEMPTS", 0) npc:setLocalVar("[caskets]LOCKED", 1) npc:setLocalVar("[caskets]LOOT_TYPE", 2) @@ -541,11 +4797,24 @@ function getDrops(npc, dropType, zoneId) local temps = {0,0,0} local tempCount = 1 local randomTable = {1,3,1,2,1,2,1,1,3,1,2,1} + local tempDrops = {} + + if zoneId == 172 or zoneId == 173 or zoneId == 190 or + zoneId == 191 or zoneId == 193 or zoneId == 194 or + zoneId == 196 or zoneId == 198 then + local mobLvl = npc:getLocalVar("[caskets]MOBLVL") + if mobLvl > 50 then + tempDrops = casketItems[zoneId].tempsHi + else + tempDrops = casketItems[zoneId].tempsLow + end + else + tempDrops = casketItems[zoneId].temps + end tempCount = randomTable[math.random(1, #randomTable)] for i = 1, tempCount do - local tempDrops = casketItems[zoneId].temps local sum = 0 for k, v in pairs(tempDrops) do @@ -573,14 +4842,30 @@ function getDrops(npc, dropType, zoneId) -- Item drops ---------------------------------------------- elseif chestType == "items" then - local items = {0,0,0,0} - local itemCount = 1 - local randomTable = {1,4,1,3,1,1,2,1,3,1,2,1} + local items = {0,0,0,0} + local itemCount = 1 + local randomTable = {1,1,1,4,1,1,1,2,1,1,2,1,1,1,3,1,2,1,1,1,1} + local drops = {} + local canDropReigonal = true + + if zoneId == 172 or zoneId == 173 or zoneId == 190 or + zoneId == 191 or zoneId == 193 or zoneId == 194 or + zoneId == 196 or zoneId == 198 then + local mobLvl = npc:getLocalVar("[caskets]MOBLVL") + if mobLvl > 50 then + drops = casketItems[zoneId].itemsHi + else + drops = casketItems[zoneId].itemsLow + canDropReigonal = false + end + else + drops = casketItems[zoneId].items + end itemCount = randomTable[math.random(1, #randomTable)] for i = 1, itemCount do - local drops = casketItems[zoneId].items + local sum = 0 for k, v in pairs(drops) do @@ -600,8 +4885,8 @@ function getDrops(npc, dropType, zoneId) if item == 0 or item == nil then items[i] = 4112 -- default to potion else - if math.random() < 0.05 then - items[i] = casketItems[zoneId].regionalItems[math.random(1, #casketItems[zoneId].regionalItems)] + if math.random() < 0.05 and canDropReigonal then + items[1] = casketItems[zoneId].regionalItems[math.random(1, #casketItems[zoneId].regionalItems)] else items[i] = item end @@ -740,17 +5025,21 @@ end --------------------------------------------------------------------------------------------- -- Desc: Casket spawn checks, runs through all checks before spawning --------------------------------------------------------------------------------------------- -dsp.caskets.spawnCasket = function (player, mob, x, y, z, r) +dsp.caskets.spawnCasket = function (mob, player, x, y, z, r) + if mob == nil or player == nil then + return + end + local chestId = getCasketID(mob) local npc = GetNPCByID(chestId) local chestOwner = player:getLeaderID() if chestId == 0 then - return + return end if dropChance(player) then - setCasketData(player, x, y, z, r, npc, chestOwner) + setCasketData(player, x, y, z, r, npc, chestOwner, mob:getMainLvl()) end end @@ -1030,7 +5319,7 @@ dsp.caskets.onEventFinish = function(player, csid, option, npc) -- Inputs -------------------------------------------- elseif lockedChoice == 1 then -- Input a number - if inputNumber > 10 and inputNumber < 100 then + if inputNumber > 9 and inputNumber < 100 then local splitNumbers = {} for digit in string.gmatch(tostring(correctNumber), "%d") do diff --git a/scripts/globals/effects/intension.lua b/scripts/globals/effects/intension.lua index e062daec6bc..3ad1975584b 100644 --- a/scripts/globals/effects/intension.lua +++ b/scripts/globals/effects/intension.lua @@ -5,10 +5,12 @@ ----------------------------------- function onEffectGain(target,effect) + target:addMod(dsp.mod.MACC,effect:getPower()) end function onEffectTick(target,effect) end function onEffectLose(target,effect) + target:delMod(dsp.mod.MACC,effect:getPower()) end \ No newline at end of file diff --git a/scripts/globals/effects/pax.lua b/scripts/globals/effects/pax.lua index e062daec6bc..296806fba23 100644 --- a/scripts/globals/effects/pax.lua +++ b/scripts/globals/effects/pax.lua @@ -5,10 +5,12 @@ ----------------------------------- function onEffectGain(target,effect) + target:addMod(dsp.mod.ENMITY, effect:getPower()) end function onEffectTick(target,effect) end function onEffectLose(target,effect) + target:delMod(dsp.mod.ENMITY, effect:getPower()) end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_ascetics_gambir.lua b/scripts/globals/items/bottle_of_ascetics_gambir.lua new file mode 100644 index 00000000000..5e70aa8157c --- /dev/null +++ b/scripts/globals/items/bottle_of_ascetics_gambir.lua @@ -0,0 +1,16 @@ +----------------------------------------- +-- ID: 5842 +-- Item: Bottle of Ascetic's Gambir +-- Item Effect: Temporarily increases magic atk power and acc +----------------------------------------- +require("scripts/globals/status") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:addStatusEffect(dsp.effect.MAGIC_ATK_BOOST, 50, 3, 300) + target:addStatusEffect(dsp.effect.INTENSION, 100, 3, 300) +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_ascetics_tonic.lua b/scripts/globals/items/bottle_of_ascetics_tonic.lua new file mode 100644 index 00000000000..7c52cc4e16d --- /dev/null +++ b/scripts/globals/items/bottle_of_ascetics_tonic.lua @@ -0,0 +1,16 @@ +----------------------------------------- +-- ID: 5841 +-- Item: Bottle of Ascetic's Tonic +-- Item Effect: Temporarily increases magic atk power and acc +----------------------------------------- +require("scripts/globals/status") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:addStatusEffect(dsp.effect.MAGIC_ATK_BOOST, 25, 3, 300) + target:addStatusEffect(dsp.effect.INTENSION, 50, 3, 300) +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_catholicon.lua b/scripts/globals/items/bottle_of_catholicon.lua new file mode 100644 index 00000000000..7e04fa7461a --- /dev/null +++ b/scripts/globals/items/bottle_of_catholicon.lua @@ -0,0 +1,54 @@ +----------------------------------------- +-- ID: 4206 +-- Item: Catholicon +-- Item Effect: This elixir is known for its ability to cure most status ailments. +-- Removes up to three negative side effects. +-- Does not remove Curse, Doom, or Amnesia. +-- It can be used on any player, Even those not in your own Party. +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + local removedCount = 0 + local removable = + { + dsp.effect.PETRIFICATION, + dsp.effect.SILENCE, + dsp.effect.BIND, + dsp.effect.BANE, + dsp.effect.CURSE_II, + dsp.effect.CURSE, + dsp.effect.PARALYSIS, + dsp.effect.PLAGUE, + dsp.effect.POISON, + dsp.effect.DISEASE, + dsp.effect.BLINDNESS + } + for _, status in pairs(removable) do + if target:hasStatusEffect(status) then + target:delStatusEffect(status) + removedCount = removedCount + 1 + if removedCount == 3 then + break + end + end + end + if target:hasStatusEffectByFlag(dsp.effectFlag.ERASABLE) and removedCount < 3 then + for i=1, (3 - removedCount) do + target:eraseStatusEffect(dsp.effectFlag.ERASABLE) + removedCount = removedCount + 1 + if removedCount == 3 then + break + end + end + end + if removedCount == 0 then + target:messageBasic(dsp.msg.basic.NO_EFFECT) + end +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_catholicon_+1.lua b/scripts/globals/items/bottle_of_catholicon_+1.lua new file mode 100644 index 00000000000..b396c1ab601 --- /dev/null +++ b/scripts/globals/items/bottle_of_catholicon_+1.lua @@ -0,0 +1,51 @@ +----------------------------------------- +-- ID: 4208 +-- Item: Bottle of Catholicon +1 +-- Item Effect: Removes up to 7 negative status effects +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + local removedCount = 0 + local removable = + { + dsp.effect.PETRIFICATION, + dsp.effect.SILENCE, + dsp.effect.BIND, + dsp.effect.BANE, + dsp.effect.CURSE_II, + dsp.effect.CURSE, + dsp.effect.PARALYSIS, + dsp.effect.PLAGUE, + dsp.effect.POISON, + dsp.effect.DISEASE, + dsp.effect.BLINDNESS + } + for _, status in pairs(removable) do + if target:hasStatusEffect(status) then + target:delStatusEffect(status) + removedCount = removedCount + 1 + if removedCount == 7 then + break + end + end + end + if target:hasStatusEffectByFlag(dsp.effectFlag.ERASABLE) and removedCount < 7 then + for i=1, (7 - removedCount) do + target:eraseStatusEffect(dsp.effectFlag.ERASABLE) + removedCount = removedCount + 1 + if removedCount == 7 then + break + end + end + end + if removedCount == 0 then + target:messageBasic(dsp.msg.basic.NO_EFFECT) + end +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_champions_tonic.lua b/scripts/globals/items/bottle_of_champions_tonic.lua new file mode 100644 index 00000000000..adc7932e384 --- /dev/null +++ b/scripts/globals/items/bottle_of_champions_tonic.lua @@ -0,0 +1,16 @@ +----------------------------------------- +-- ID: 5843 +-- Item: Bottle of Champion's Tonic +-- Item Effect: Temporarily increases potency +-- Duration: 60 +----------------------------------------- +require("scripts/globals/status") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:addStatusEffect(dsp.effect.POTENCY, 25, 3, 60) +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_clerics_drink.lua b/scripts/globals/items/bottle_of_clerics_drink.lua new file mode 100644 index 00000000000..1b508e2783f --- /dev/null +++ b/scripts/globals/items/bottle_of_clerics_drink.lua @@ -0,0 +1,47 @@ +----------------------------------------- +-- ID: 5395 +-- Item: Bottle of Cleric's Drink +-- Item Effect: Removes most status ailments AoE +----------------------------------------- +require("scripts/globals/settings") +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:forMembersInRange(10, function(member) + local removedCount = 0 + local removable = + { + dsp.effect.PETRIFICATION, + dsp.effect.SILENCE, + dsp.effect.BIND, + dsp.effect.BANE, + dsp.effect.CURSE_II, + dsp.effect.CURSE, + dsp.effect.PARALYSIS, + dsp.effect.PLAGUE, + dsp.effect.POISON, + dsp.effect.DISEASE, + dsp.effect.BLINDNESS + } + for _, status in pairs(removable) do + if member:hasStatusEffect(status) then + member:delStatusEffect(status) + removedCount = removedCount + 1 + end + end + if member:hasStatusEffectByFlag(dsp.effectFlag.ERASABLE) then + member:eraseStatusEffect(dsp.effectFlag.ERASABLE) + else + if removedCount == 0 then + member:messageBasic(dsp.msg.basic.NO_EFFECT) + end + end + end) + +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_fanatics_tonic.lua b/scripts/globals/items/bottle_of_fanatics_tonic.lua new file mode 100644 index 00000000000..e2eb27fa4a1 --- /dev/null +++ b/scripts/globals/items/bottle_of_fanatics_tonic.lua @@ -0,0 +1,16 @@ +----------------------------------------- +-- ID: 5845 +-- Item: Bottle of Fanatic's Tonic +-- Item Effect: Temp nullifies 50% physical dmg +-- Duration: 60 secs +----------------------------------------- +require("scripts/globals/status") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:addStatusEffect(dsp.effect.PHYSICAL_SHIELD, 1, 3, 60) +end diff --git a/scripts/globals/items/bottle_of_gnostics_drink.lua b/scripts/globals/items/bottle_of_gnostics_drink.lua new file mode 100644 index 00000000000..e6fc30753c6 --- /dev/null +++ b/scripts/globals/items/bottle_of_gnostics_drink.lua @@ -0,0 +1,21 @@ +----------------------------------------- +-- ID: 5394 +-- Item: Bottle of Gnostic's Drink +-- Item Effect: Pax (Enmity Down) +-- Duration: 3 Mins +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + if not target:hasStatusEffect(dsp.effect.PAX) then + target:addStatusEffect(dsp.effect.PAX,-30,3,60) + else + target:messageBasic(dsp.msg.basic.NO_EFFECT) + end +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_monarchs_drink.lua b/scripts/globals/items/bottle_of_monarchs_drink.lua new file mode 100644 index 00000000000..ce6dbd4bd0f --- /dev/null +++ b/scripts/globals/items/bottle_of_monarchs_drink.lua @@ -0,0 +1,21 @@ +----------------------------------------- +-- ID: 5393 +-- Item: Bottle of Monarch's Drink +-- Item Effect: Regain 30TP/sec 180 +-- Duration 3 Mins +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + if not target:hasStatusEffect(dsp.effect.REGAIN) then + target:addStatusEffect(dsp.effect.REGAIN,3,3,180) + else + target:messageBasic(dsp.msg.basic.NO_EFFECT) + end +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_stalwarts_gambir.lua b/scripts/globals/items/bottle_of_stalwarts_gambir.lua new file mode 100644 index 00000000000..b5348b9f6d7 --- /dev/null +++ b/scripts/globals/items/bottle_of_stalwarts_gambir.lua @@ -0,0 +1,16 @@ +----------------------------------------- +-- ID: 5840 +-- Item: Bottle of Stalwart's Gambir +-- Item Effect: Temporarily increases atk power and acc +----------------------------------------- +require("scripts/globals/status") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:addStatusEffect(dsp.effect.ATTACK_BOOST, 50, 3, 300) + target:addStatusEffect(dsp.effect.ACCURACY_BOOST, 100, 3, 300) +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_stalwarts_tonic.lua b/scripts/globals/items/bottle_of_stalwarts_tonic.lua new file mode 100644 index 00000000000..0cdad4c39b4 --- /dev/null +++ b/scripts/globals/items/bottle_of_stalwarts_tonic.lua @@ -0,0 +1,18 @@ +----------------------------------------- +-- ID: 5839 +-- Item: Bottle of Stalwart's Tonic +-- Item Effect: Temporarily increases atk power and acc +----------------------------------------- +require("scripts/globals/status") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:addStatusEffect(dsp.effect.ATTACK_BOOST, 25, 3, 300) + --player:addStatusEffect(dsp.effect., 25, 3, 60) -- TODO: add a status effect that increases ranged attack + target:addStatusEffect(dsp.effect.ACCURACY_BOOST, 50, 3, 300) + target:addStatusEffect(dsp.effect.SHARPSHOT, 50, 3, 300) +end \ No newline at end of file diff --git a/scripts/globals/items/bottle_of_vicars_drink.lua b/scripts/globals/items/bottle_of_vicars_drink.lua new file mode 100644 index 00000000000..b54626f6039 --- /dev/null +++ b/scripts/globals/items/bottle_of_vicars_drink.lua @@ -0,0 +1,43 @@ +----------------------------------------- +-- ID: 5439 +-- Item: Bottle of Vicar's Drink +-- Item Effect: Removes most status ailments AoE +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + local removedCount = 0 + local removable = + { + dsp.effect.PETRIFICATION, + dsp.effect.SILENCE, + dsp.effect.BIND, + dsp.effect.BANE, + dsp.effect.CURSE_II, + dsp.effect.CURSE, + dsp.effect.PARALYSIS, + dsp.effect.PLAGUE, + dsp.effect.POISON, + dsp.effect.DISEASE, + dsp.effect.BLINDNESS + } + for _, status in pairs(removable) do + if target:hasStatusEffect(status) then + target:delStatusEffect(status) + removedCount = removedCount + 1 + end + end + if target:hasStatusEffectByFlag(dsp.effectFlag.ERASABLE) then + target:eraseStatusEffect(dsp.effectFlag.ERASABLE) + else + if removedCount == 0 then + target:messageBasic(dsp.msg.basic.NO_EFFECT) + end + end +end \ No newline at end of file diff --git a/scripts/globals/items/dusty_elixir.lua b/scripts/globals/items/dusty_elixir.lua new file mode 100644 index 00000000000..bc06ee2892b --- /dev/null +++ b/scripts/globals/items/dusty_elixir.lua @@ -0,0 +1,18 @@ +----------------------------------------- +-- ID: 5433 +-- Item: Dusty Elixir +-- Item Effect: Instantly restores 25% of HP and MP +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:addHP((target:getMaxHP()/100)*25) + target:addMP((target:getMaxMP()/100)*25) + target:messageBasic(dsp.msg.basic.RECOVERS_HP_AND_MP) +end \ No newline at end of file diff --git a/scripts/globals/items/dusty_wing.lua b/scripts/globals/items/dusty_wing.lua index 7b60720c7d4..8d1e92c06db 100644 --- a/scripts/globals/items/dusty_wing.lua +++ b/scripts/globals/items/dusty_wing.lua @@ -1,7 +1,7 @@ ----------------------------------------- -- ID: 5440 -- Dusty Wing --- Increases TP of the user by 300 +-- Increases TP of the user by 3000 ----------------------------------------- function onItemCheck(target) diff --git a/scripts/globals/items/flask_of_healing_mist.lua b/scripts/globals/items/flask_of_healing_mist.lua new file mode 100644 index 00000000000..02f453ef7bc --- /dev/null +++ b/scripts/globals/items/flask_of_healing_mist.lua @@ -0,0 +1,20 @@ +----------------------------------------- +-- ID: 5832 +-- Item: Flask of Healing Mist +-- Item Effect: Restores 600 HP AoE 10' radius +----------------------------------------- +require("scripts/globals/settings") +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +-- TODO: AOE animation effect. +function onItemUse(target) + target:forMembersInRange(10, function(member) + member:messageBasic(dsp.msg.basic.RECOVERS_HP,0,member:addHP(600*ITEM_POWER)) + end) +end \ No newline at end of file diff --git a/scripts/globals/items/flask_of_healing_powder.lua b/scripts/globals/items/flask_of_healing_powder.lua new file mode 100644 index 00000000000..bc5def4c115 --- /dev/null +++ b/scripts/globals/items/flask_of_healing_powder.lua @@ -0,0 +1,19 @@ +----------------------------------------- +-- ID: 5322 +-- Item: Flask of Healing Powder +-- Item Effect: Restores 25% HP AoE 10' radius +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +-- TODO: AOE animation effect. +function onItemUse(target) + target:forMembersInRange(10, function(member) + member:messageBasic(dsp.msg.basic.RECOVERS_HP,0,member:addHP((member:getMaxHP()/100)*25)) + end) +end \ No newline at end of file diff --git a/scripts/globals/items/flask_of_mana_mist.lua b/scripts/globals/items/flask_of_mana_mist.lua new file mode 100644 index 00000000000..519242d5db7 --- /dev/null +++ b/scripts/globals/items/flask_of_mana_mist.lua @@ -0,0 +1,20 @@ +----------------------------------------- +-- ID: 5833 +-- Item: Flask of Mana Mist +-- Item Effect: Restores 300 MP AoE 10' radius +----------------------------------------- +require("scripts/globals/settings") +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +-- TODO: AOE animation effect. +function onItemUse(target) + target:forMembersInRange(10, function(member) + member:messageBasic(dsp.msg.basic.RECOVERS_MP,0,target:addMP(300*ITEM_POWER)) + end) +end \ No newline at end of file diff --git a/scripts/globals/items/lucid_potion_i.lua b/scripts/globals/items/lucid_potion_i.lua new file mode 100644 index 00000000000..8d3a4238532 --- /dev/null +++ b/scripts/globals/items/lucid_potion_i.lua @@ -0,0 +1,17 @@ +----------------------------------------- +-- ID: 5824 +-- Item: Lucid Potion I +-- Item Effect: Restores 500 HP +----------------------------------------- +require("scripts/globals/settings") +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:messageBasic(dsp.msg.basic.RECOVERS_HP,0,target:addHP(500*ITEM_POWER)) +end \ No newline at end of file diff --git a/scripts/globals/items/lucid_potion_ii.lua b/scripts/globals/items/lucid_potion_ii.lua new file mode 100644 index 00000000000..12f768c5067 --- /dev/null +++ b/scripts/globals/items/lucid_potion_ii.lua @@ -0,0 +1,17 @@ +----------------------------------------- +-- ID: 5825 +-- Item: Lucid Potion II +-- Item Effect: Restores 1000 HP +----------------------------------------- +require("scripts/globals/settings") +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:messageBasic(dsp.msg.basic.RECOVERS_HP,0,target:addHP(1000*ITEM_POWER)) +end \ No newline at end of file diff --git a/scripts/globals/items/lucid_potion_iii.lua b/scripts/globals/items/lucid_potion_iii.lua new file mode 100644 index 00000000000..db80f69b7a4 --- /dev/null +++ b/scripts/globals/items/lucid_potion_iii.lua @@ -0,0 +1,17 @@ +----------------------------------------- +-- ID: 5826 +-- Item: Lucid Potion III +-- Item Effect: Restores 2000 HP +----------------------------------------- +require("scripts/globals/settings") +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +function onItemUse(target) + target:messageBasic(dsp.msg.basic.RECOVERS_HP,0,target:addHP(2000*ITEM_POWER)) +end \ No newline at end of file diff --git a/scripts/globals/items/pair_of_lucid_wings_i.lua b/scripts/globals/items/pair_of_lucid_wings_i.lua new file mode 100644 index 00000000000..1053a10ce91 --- /dev/null +++ b/scripts/globals/items/pair_of_lucid_wings_i.lua @@ -0,0 +1,18 @@ +----------------------------------------- +-- ID: 5834 +-- Pair of Lucid Wings I +-- Grants 500 TP to all party members in range +----------------------------------------- +require("scripts/globals/status") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +-- TODO: AOE animation effect. +function onItemUse(target) + target:forMembersInRange(10, function(member) + member:addTP(500) + end) +end \ No newline at end of file diff --git a/scripts/globals/items/pinch_of_mana_powder.lua b/scripts/globals/items/pinch_of_mana_powder.lua new file mode 100644 index 00000000000..b3c0e87e77c --- /dev/null +++ b/scripts/globals/items/pinch_of_mana_powder.lua @@ -0,0 +1,19 @@ +----------------------------------------- +-- ID: 4255 +-- Item: Pinch of Mana Powder +-- Item Effect: Restores 25% MP AoE 10' radius +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + return 0 +end + +-- TODO: AOE animation effect. +function onItemUse(target) + target:forMembersInRange(10, function(member) + member:messageBasic(dsp.msg.basic.RECOVERS_MP,0,member:addMP((member:getMaxMP()/100)*25)) + end) +end diff --git a/scripts/globals/items/tube_of_clear_salve_i.lua b/scripts/globals/items/tube_of_clear_salve_i.lua new file mode 100644 index 00000000000..7b5f6f08437 --- /dev/null +++ b/scripts/globals/items/tube_of_clear_salve_i.lua @@ -0,0 +1,59 @@ +----------------------------------------- +-- ID: 5837 +-- Item: Tube of Clear Salve I +-- Item Effect: Removes most status ailments from Pet +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + local result = 0 + if not target:hasPet() then + result = dsp.msg.basic.REQUIRES_A_PET + end + if target:hasStatusEffect(dsp.effect.MEDICINE) then + result = dsp.msg.basic.ITEM_NO_USE_MEDICATED + end + return result +end + +function onItemUse(target) + local pet = target:getPet() + local removedCount = 0 + local removable = + { + dsp.effect.PETRIFICATION, + dsp.effect.SILENCE, + dsp.effect.BIND, + dsp.effect.BANE, + dsp.effect.CURSE_II, + dsp.effect.CURSE, + dsp.effect.PARALYSIS, + dsp.effect.PLAGUE, + dsp.effect.POISON, + dsp.effect.DISEASE, + dsp.effect.BLINDNESS + } + for _, status in pairs(removable) do + if pet:hasStatusEffect(status) then + pet:delStatusEffect(status) + removedCount = removedCount + 1 + if removedCount == 2 then + break + end + end + end + if pet:hasStatusEffectByFlag(dsp.effectFlag.ERASABLE) and removedCount < 2 then + for i=1, (2 - removedCount) do + pet:eraseStatusEffect(dsp.effectFlag.ERASABLE) + removedCount = removedCount + 1 + if removedCount == 2 then + break + end + end + end + if removedCount == 0 then + pet:messageBasic(dsp.msg.basic.NO_EFFECT) + end +end \ No newline at end of file diff --git a/scripts/globals/items/tube_of_clear_salve_ii.lua b/scripts/globals/items/tube_of_clear_salve_ii.lua new file mode 100644 index 00000000000..8de4052598d --- /dev/null +++ b/scripts/globals/items/tube_of_clear_salve_ii.lua @@ -0,0 +1,48 @@ +----------------------------------------- +-- ID: 5838 +-- Item: Tube of Clear Salve II +-- Item Effect: Removes most status ailments from Pet +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + local result = 0 + if not target:hasPet() then + result = dsp.msg.basic.REQUIRES_A_PET + end + return result +end + +function onItemUse(target) + local pet = target:getPet() + local removedCount = 0 + local removable = + { + dsp.effect.PETRIFICATION, + dsp.effect.SILENCE, + dsp.effect.BIND, + dsp.effect.BANE, + dsp.effect.CURSE_II, + dsp.effect.CURSE, + dsp.effect.PARALYSIS, + dsp.effect.PLAGUE, + dsp.effect.POISON, + dsp.effect.DISEASE, + dsp.effect.BLINDNESS + } + for _, status in pairs(removable) do + if pet:hasStatusEffect(status) then + pet:delStatusEffect(status) + removedCount = removedCount + 1 + end + end + if pet:hasStatusEffectByFlag(dsp.effectFlag.ERASABLE) then + pet:eraseStatusEffect(dsp.effectFlag.ERASABLE) + else + if removedCount == 0 then + pet:messageBasic(dsp.msg.basic.NO_EFFECT) + end + end +end \ No newline at end of file diff --git a/scripts/globals/items/tube_of_healing_salve_i.lua b/scripts/globals/items/tube_of_healing_salve_i.lua new file mode 100644 index 00000000000..d1431e7d710 --- /dev/null +++ b/scripts/globals/items/tube_of_healing_salve_i.lua @@ -0,0 +1,21 @@ +----------------------------------------- +-- ID: 5835 +-- Item: Tube of Healing Salve I +-- Item Effect: Restores 50% HP to Pet +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + local result = 0 + if not target:hasPet() then + result = dsp.msg.basic.REQUIRES_A_PET + end + return result +end + +function onItemUse(target) + local pet = target:getPet() + pet:messageBasic(dsp.msg.basic.RECOVERS_HP,0,pet:addHP((pet:getMaxHP()/100)*50)) +end \ No newline at end of file diff --git a/scripts/globals/items/tube_of_healing_salve_ii.lua b/scripts/globals/items/tube_of_healing_salve_ii.lua new file mode 100644 index 00000000000..b20fbe95a1f --- /dev/null +++ b/scripts/globals/items/tube_of_healing_salve_ii.lua @@ -0,0 +1,21 @@ +----------------------------------------- +-- ID: 5836 +-- Item: Tube of Healing Salve II +-- Item Effect: Restores 100% HP to Pet +----------------------------------------- +require("scripts/globals/status") +require("scripts/globals/msg") +----------------------------------------- + +function onItemCheck(target) + local result = 0 + if not target:hasPet() then + result = dsp.msg.basic.REQUIRES_A_PET + end + return result +end + +function onItemUse(target) + local pet = target:getPet() + pet:messageBasic(dsp.msg.basic.RECOVERS_HP,0,pet:addHP(pet:getMaxHP())) +end \ No newline at end of file diff --git a/scripts/globals/regimes.lua b/scripts/globals/regimes.lua index b643284ab57..c2a3895ac8e 100644 --- a/scripts/globals/regimes.lua +++ b/scripts/globals/regimes.lua @@ -1268,7 +1268,9 @@ dsp.regime.checkRegime = function(player, mob, regimeId, index, regimeType) if player:hasStatusEffect(prowess) then -- stack up to 11 times - if prowess == dsp.effect.PROWESS_TH then + if prowess == dsp.effect.PROWESS_CASKET_RATE then + power = utils.clamp(player:getStatusEffect(prowess):getPower() + 1, 0, 11) + elseif prowess == dsp.effect.PROWESS_TH then power = utils.clamp(player:getStatusEffect(prowess):getPower() + 1, 0, 11) elseif prowess == dsp.effect.PROWESS_ATTACK_SPEED then power = 400 @@ -1289,7 +1291,9 @@ dsp.regime.checkRegime = function(player, mob, regimeId, index, regimeType) -- new buff else - if prowess == dsp.effect.PROWESS_TH then + if prowess == dsp.effect.PROWESS_CASKET_RATE then + power = 1 + elseif prowess == dsp.effect.PROWESS_TH then power = 1 elseif prowess == dsp.effect.PROWESS_ATTACK_SPEED then power = 400 diff --git a/scripts/globals/settings.lua b/scripts/globals/settings.lua index 1bef03e5435..7d5dd22e7d2 100644 --- a/scripts/globals/settings.lua +++ b/scripts/globals/settings.lua @@ -32,12 +32,6 @@ ENABLE_FIELD_MANUALS = 1; -- Enables Fields of Valor ENABLE_GROUNDS_TOMES = 1; -- Enables Grounds of Valor REGIME_WAIT = 1; -- Make people wait till 00:00 game time as in retail. If it's 0, there is no wait time. --- TREASURE CASKETS --- Retail droprate = 0.1 (10%) with no other effects active --- Set to 0 to disable caskets. --- max is clamped to 1.0 (100%) -CASKET_DROP_RATE = 0.1; - -- Setting to lock content more accurately to the content you have defined above -- This generally results in a more accurate presentation of your selected expansions -- as well as a less confusing player experience for things that are disabled (things that are disabled are not loaded) diff --git a/scripts/mixins/spawn_casket.lua b/scripts/mixins/spawn_casket.lua index 2f754b46da8..27066746b7c 100644 --- a/scripts/mixins/spawn_casket.lua +++ b/scripts/mixins/spawn_casket.lua @@ -12,14 +12,13 @@ g_mixins = g_mixins or {} g_mixins.spawn_casket = function(mob) mob:addListener("DEATH", "DEATH_SPAWN_CASKET", function(mob, player, isKiller) local mobPos = mob:getPos() - if mob:getMaster() ~= nil then local master = mob:getMaster() if master:isMob() then -- sanity check, ensuring the mob killed is not a player's pet. - dsp.caskets.spawnCasket(player, mob, mobPos.x, mobPos.y, mobPos.z, mobPos.rot) + dsp.caskets.spawnCasket(mob, player, mobPos.x, mobPos.y, mobPos.z, mobPos.rot) end else - dsp.caskets.spawnCasket(player, mob, mobPos.x, mobPos.y, mobPos.z, mobPos.rot) + dsp.caskets.spawnCasket(mob, player, mobPos.x, mobPos.y, mobPos.z, mobPos.rot) end end); end diff --git a/scripts/mixins/zones/Batallia_Downs.lua b/scripts/mixins/zones/Batallia_Downs.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Batallia_Downs.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Beaucedine_Glacier.lua b/scripts/mixins/zones/Beaucedine_Glacier.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Beaucedine_Glacier.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Behemoths_Dominion.lua b/scripts/mixins/zones/Behemoths_Dominion.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Behemoths_Dominion.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Bostaunieux_Oubliette.lua b/scripts/mixins/zones/Bostaunieux_Oubliette.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Bostaunieux_Oubliette.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Buburimu_Peninsula.lua b/scripts/mixins/zones/Buburimu_Peninsula.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Buburimu_Peninsula.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Cape_Teriggan.lua b/scripts/mixins/zones/Cape_Teriggan.lua new file mode 100644 index 00000000000..39e7655329a --- /dev/null +++ b/scripts/mixins/zones/Cape_Teriggan.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} \ No newline at end of file diff --git a/scripts/mixins/zones/Crawlers_Nest.lua b/scripts/mixins/zones/Crawlers_Nest.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Crawlers_Nest.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Dangruf_Wadi.lua b/scripts/mixins/zones/Dangruf_Wadi.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Dangruf_Wadi.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Den_of_Rancor.lua b/scripts/mixins/zones/Den_of_Rancor.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Den_of_Rancor.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/East_Sarutabaruta.lua b/scripts/mixins/zones/East_Sarutabaruta.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/East_Sarutabaruta.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Eastern_Altepa_Desert.lua b/scripts/mixins/zones/Eastern_Altepa_Desert.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Eastern_Altepa_Desert.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/FeiYin.lua b/scripts/mixins/zones/FeiYin.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/FeiYin.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Garlaige_Citadel.lua b/scripts/mixins/zones/Garlaige_Citadel.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Garlaige_Citadel.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Gusgen_Mines.lua b/scripts/mixins/zones/Gusgen_Mines.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Gusgen_Mines.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Gustav_Tunnel.lua b/scripts/mixins/zones/Gustav_Tunnel.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Gustav_Tunnel.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Ifrits_Cauldron.lua b/scripts/mixins/zones/Ifrits_Cauldron.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Ifrits_Cauldron.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Inner_Horutoto_Ruins.lua b/scripts/mixins/zones/Inner_Horutoto_Ruins.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Inner_Horutoto_Ruins.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Jugner_Forest.lua b/scripts/mixins/zones/Jugner_Forest.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Jugner_Forest.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/King_Ranperres_Tomb.lua b/scripts/mixins/zones/King_Ranperres_Tomb.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/King_Ranperres_Tomb.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Konschtat_Highlands.lua b/scripts/mixins/zones/Konschtat_Highlands.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Konschtat_Highlands.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Korroloka_Tunnel.lua b/scripts/mixins/zones/Korroloka_Tunnel.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Korroloka_Tunnel.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Kuftal_Tunnel.lua b/scripts/mixins/zones/Kuftal_Tunnel.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Kuftal_Tunnel.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/La_Theine_Plateau.lua b/scripts/mixins/zones/La_Theine_Plateau.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/La_Theine_Plateau.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Labyrinth_of_Onzozo.lua b/scripts/mixins/zones/Labyrinth_of_Onzozo.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Labyrinth_of_Onzozo.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Lower_Delkfutts_Tower.lua b/scripts/mixins/zones/Lower_Delkfutts_Tower.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Lower_Delkfutts_Tower.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Maze_of_Shakhrami.lua b/scripts/mixins/zones/Maze_of_Shakhrami.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Maze_of_Shakhrami.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Meriphataud_Mountains.lua b/scripts/mixins/zones/Meriphataud_Mountains.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Meriphataud_Mountains.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Middle_Delkfutts_Tower.lua b/scripts/mixins/zones/Middle_Delkfutts_Tower.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Middle_Delkfutts_Tower.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/North_Gustaberg.lua b/scripts/mixins/zones/North_Gustaberg.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/North_Gustaberg.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Ordelles_Caves.lua b/scripts/mixins/zones/Ordelles_Caves.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Ordelles_Caves.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Outer_Horutoto_Ruins.lua b/scripts/mixins/zones/Outer_Horutoto_Ruins.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Outer_Horutoto_Ruins.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Pashhow_Marshlands.lua b/scripts/mixins/zones/Pashhow_Marshlands.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Pashhow_Marshlands.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Qufim_Island.lua b/scripts/mixins/zones/Qufim_Island.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Qufim_Island.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Ranguemont_Pass.lua b/scripts/mixins/zones/Ranguemont_Pass.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Ranguemont_Pass.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/RoMaeve.lua b/scripts/mixins/zones/RoMaeve.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/RoMaeve.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Rolanberry_Fields.lua b/scripts/mixins/zones/Rolanberry_Fields.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Rolanberry_Fields.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/RuAun_Gardens.lua b/scripts/mixins/zones/RuAun_Gardens.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/RuAun_Gardens.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Sauromugue_Champaign.lua b/scripts/mixins/zones/Sauromugue_Champaign.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Sauromugue_Champaign.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Sea_Serpent_Grotto.lua b/scripts/mixins/zones/Sea_Serpent_Grotto.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Sea_Serpent_Grotto.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/South_Gustaberg.lua b/scripts/mixins/zones/South_Gustaberg.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/South_Gustaberg.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Tahrongi_Canyon.lua b/scripts/mixins/zones/Tahrongi_Canyon.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Tahrongi_Canyon.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Temple_of_Uggalepih.lua b/scripts/mixins/zones/Temple_of_Uggalepih.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Temple_of_Uggalepih.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/The_Boyahda_Tree.lua b/scripts/mixins/zones/The_Boyahda_Tree.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/The_Boyahda_Tree.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/The_Eldieme_Necropolis.lua b/scripts/mixins/zones/The_Eldieme_Necropolis.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/The_Eldieme_Necropolis.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/The_Sanctuary_of_ZiTah.lua b/scripts/mixins/zones/The_Sanctuary_of_ZiTah.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/The_Sanctuary_of_ZiTah.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/The_Shrine_of_RuAvitau.lua b/scripts/mixins/zones/The_Shrine_of_RuAvitau.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/The_Shrine_of_RuAvitau.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Toraimarai_Canal.lua b/scripts/mixins/zones/Toraimarai_Canal.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Toraimarai_Canal.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Upper_Delkfutts_Tower.lua b/scripts/mixins/zones/Upper_Delkfutts_Tower.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Upper_Delkfutts_Tower.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Valkurm_Dunes.lua b/scripts/mixins/zones/Valkurm_Dunes.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Valkurm_Dunes.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Valley_of_Sorrows.lua b/scripts/mixins/zones/Valley_of_Sorrows.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Valley_of_Sorrows.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/VeLugannon_Palace.lua b/scripts/mixins/zones/VeLugannon_Palace.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/VeLugannon_Palace.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/West_Sarutabaruta.lua b/scripts/mixins/zones/West_Sarutabaruta.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/West_Sarutabaruta.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Western_Altepa_Desert.lua b/scripts/mixins/zones/Western_Altepa_Desert.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Western_Altepa_Desert.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Xarcabard.lua b/scripts/mixins/zones/Xarcabard.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Xarcabard.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Yhoator_Jungle.lua b/scripts/mixins/zones/Yhoator_Jungle.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Yhoator_Jungle.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Yuhtunga_Jungle.lua b/scripts/mixins/zones/Yuhtunga_Jungle.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Yuhtunga_Jungle.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/mixins/zones/Zeruhn_Mines.lua b/scripts/mixins/zones/Zeruhn_Mines.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Zeruhn_Mines.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/zones/Batallia_Downs/npcs/Treasure_Casket.lua b/scripts/zones/Batallia_Downs/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Batallia_Downs/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Beaucedine_Glacier/npcs/Treasure_Casket.lua b/scripts/zones/Beaucedine_Glacier/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Beaucedine_Glacier/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Behemoths_Dominion/npcs/Treasure_Casket.lua b/scripts/zones/Behemoths_Dominion/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Behemoths_Dominion/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Bostaunieux_Oubliette/npcs/Treasure_Casket.lua b/scripts/zones/Bostaunieux_Oubliette/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Bostaunieux_Oubliette/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Buburimu_Peninsula/npcs/Treasure_Casket.lua b/scripts/zones/Buburimu_Peninsula/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Buburimu_Peninsula/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Cape_Teriggan/npcs/Treasure_Casket.lua b/scripts/zones/Cape_Teriggan/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Cape_Teriggan/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Crawlers_Nest/npcs/Treasure_Casket.lua b/scripts/zones/Crawlers_Nest/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Crawlers_Nest/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Dangruf_Wadi/npcs/Treasure_Casket.lua b/scripts/zones/Dangruf_Wadi/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Dangruf_Wadi/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Den_of_Rancor/npcs/Treasure_Casket.lua b/scripts/zones/Den_of_Rancor/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Den_of_Rancor/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/East_Sarutabaruta/npcs/Treasure_Casket.lua b/scripts/zones/East_Sarutabaruta/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/East_Sarutabaruta/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Eastern_Altepa_Desert/npcs/Treasure_Casket.lua b/scripts/zones/Eastern_Altepa_Desert/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Eastern_Altepa_Desert/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/FeiYin/npcs/Treasure_Casket.lua b/scripts/zones/FeiYin/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/FeiYin/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Garlaige_Citadel/npcs/Treasure_Casket.lua b/scripts/zones/Garlaige_Citadel/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Garlaige_Citadel/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Gusgen_Mines/npcs/Treasure_Casket.lua b/scripts/zones/Gusgen_Mines/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Gusgen_Mines/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Gustav_Tunnel/npcs/Treasure_Casket.lua b/scripts/zones/Gustav_Tunnel/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Gustav_Tunnel/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Ifrits_Cauldron/npcs/Treasure_Casket.lua b/scripts/zones/Ifrits_Cauldron/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Ifrits_Cauldron/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Jugner_Forest/npcs/Treasure_Casket.lua b/scripts/zones/Jugner_Forest/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Jugner_Forest/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Casket.lua b/scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Konschtat_Highlands/npcs/Treasure_Casket.lua b/scripts/zones/Konschtat_Highlands/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Konschtat_Highlands/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Korroloka_Tunnel/npcs/Treasure_Casket.lua b/scripts/zones/Korroloka_Tunnel/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Korroloka_Tunnel/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Kuftal_Tunnel/npcs/Treasure_Casket.lua b/scripts/zones/Kuftal_Tunnel/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Kuftal_Tunnel/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/La_Theine_Plateau/npcs/Treasure_Casket.lua b/scripts/zones/La_Theine_Plateau/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/La_Theine_Plateau/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Casket.lua b/scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Lower_Delkfutts_Tower/npcs/Treasure_Casket.lua b/scripts/zones/Lower_Delkfutts_Tower/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Lower_Delkfutts_Tower/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Casket.lua b/scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Meriphataud_Mountains/npcs/Treasure_Casket.lua b/scripts/zones/Meriphataud_Mountains/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Meriphataud_Mountains/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Middle_Delkfutts_Tower/npcs/Treasure_Casket.lua b/scripts/zones/Middle_Delkfutts_Tower/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Middle_Delkfutts_Tower/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/North_Gustaberg/npcs/Treasure_Casket.lua b/scripts/zones/North_Gustaberg/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/North_Gustaberg/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Ordelles_Caves/npcs/Treasure_Casket.lua b/scripts/zones/Ordelles_Caves/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Ordelles_Caves/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Outer_Horutoto_Ruins/npcs/Treasure_Casket.lua b/scripts/zones/Outer_Horutoto_Ruins/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Outer_Horutoto_Ruins/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Pashhow_Marshlands/npcs/Treasure_Casket.lua b/scripts/zones/Pashhow_Marshlands/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Pashhow_Marshlands/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Qufim_Island/npcs/Treasure_Casket.lua b/scripts/zones/Qufim_Island/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Qufim_Island/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Ranguemont_Pass/npcs/Treasure_Casket.lua b/scripts/zones/Ranguemont_Pass/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Ranguemont_Pass/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/RoMaeve/npcs/Treasure_Casket.lua b/scripts/zones/RoMaeve/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/RoMaeve/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Rolanberry_Fields/npcs/Treasure_Casket.lua b/scripts/zones/Rolanberry_Fields/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Rolanberry_Fields/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/RuAun_Gardens/npcs/Treasure_Casket.lua b/scripts/zones/RuAun_Gardens/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/RuAun_Gardens/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Sauromugue_Champaign/npcs/Treasure_Casket.lua b/scripts/zones/Sauromugue_Champaign/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Sauromugue_Champaign/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Casket.lua b/scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/South_Gustaberg/npcs/Treasure_Casket.lua b/scripts/zones/South_Gustaberg/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/South_Gustaberg/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Tahrongi_Canyon/IDs.lua b/scripts/zones/Tahrongi_Canyon/IDs.lua index c500ad5a97a..4bee46c0357 100644 --- a/scripts/zones/Tahrongi_Canyon/IDs.lua +++ b/scripts/zones/Tahrongi_Canyon/IDs.lua @@ -35,11 +35,11 @@ zones[dsp.zone.TAHRONGI_CANYON] = SPROUT_DOES_NOT_NEED_WATER = 7556, -- The sprout does not need any more water now. NOTHING_HAPPENS = 7557, -- Nothing happens. SPROUT_LOOKING_BETTER = 7558, -- The sprout is looking better. - PLAYER_OBTAINS_ITEM = 7563, -- obtains ! - UNABLE_TO_OBTAIN_ITEM = 7564, -- You were unable to obtain the item. - PLAYER_OBTAINS_TEMP_ITEM = 7565, -- obtains the temporary item: ! - ALREADY_POSSESS_TEMP = 7566, -- You already possess that temporary item. - NO_COMBINATION = 7571, -- You were unable to enter a combination. + PLAYER_OBTAINS_ITEM = 7558, -- obtains ! + UNABLE_TO_OBTAIN_ITEM = 7559, -- You were unable to obtain the item. + PLAYER_OBTAINS_TEMP_ITEM = 7560, -- obtains the temporary item: ! + ALREADY_POSSESS_TEMP = 7561, -- You already possess that temporary item. + NO_COMBINATION = 7566, -- You were unable to enter a combination. REGIME_REGISTERED = 9823, -- New training regime registered! COMMON_SENSE_SURVIVAL = 11937, -- It appears that you have arrived at a new survival guide provided by the Adventurers' Mutual Aid Network. Common sense dictates that you should now be able to teleport here from similar tomes throughout the world. }, diff --git a/scripts/zones/Tahrongi_Canyon/npcs/Treasure_Casket.lua b/scripts/zones/Tahrongi_Canyon/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Tahrongi_Canyon/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Temple_of_Uggalepih/npcs/Treasure_Casket.lua b/scripts/zones/Temple_of_Uggalepih/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Temple_of_Uggalepih/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/The_Boyahda_Tree/npcs/Treasure_Casket.lua b/scripts/zones/The_Boyahda_Tree/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/The_Boyahda_Tree/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Casket.lua b/scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/The_Sanctuary_of_ZiTah/npcs/Treasure_Casket.lua b/scripts/zones/The_Sanctuary_of_ZiTah/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/The_Sanctuary_of_ZiTah/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/The_Shrine_of_RuAvitau/npcs/Treasure_Casket.lua b/scripts/zones/The_Shrine_of_RuAvitau/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/The_Shrine_of_RuAvitau/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Toraimarai_Canal/npcs/Treasure_Casket.lua b/scripts/zones/Toraimarai_Canal/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Toraimarai_Canal/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Upper_Delkfutts_Tower/npcs/Treasure_Casket.lua b/scripts/zones/Upper_Delkfutts_Tower/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Upper_Delkfutts_Tower/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Valkurm_Dunes/npcs/Treasure_Casket.lua b/scripts/zones/Valkurm_Dunes/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Valkurm_Dunes/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Valley_of_Sorrows/npcs/Treasure_Casket.lua b/scripts/zones/Valley_of_Sorrows/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Valley_of_Sorrows/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/VeLugannon_Palace/npcs/Treasure_Casket.lua b/scripts/zones/VeLugannon_Palace/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/VeLugannon_Palace/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/West_Sarutabaruta/npcs/Treasure_Casket.lua b/scripts/zones/West_Sarutabaruta/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/West_Sarutabaruta/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Western_Altepa_Desert/npcs/Treasure_Casket.lua b/scripts/zones/Western_Altepa_Desert/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Western_Altepa_Desert/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Xarcabard/npcs/Treasure_Casket.lua b/scripts/zones/Xarcabard/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Xarcabard/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Yhoator_Jungle/npcs/Treasure_Casket.lua b/scripts/zones/Yhoator_Jungle/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Yhoator_Jungle/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Yuhtunga_Jungle/npcs/Treasure_Casket.lua b/scripts/zones/Yuhtunga_Jungle/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Yuhtunga_Jungle/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/Zeruhn_Mines/npcs/Treasure_Casket.lua b/scripts/zones/Zeruhn_Mines/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Zeruhn_Mines/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file From bcbf826da53269da1a0d973ab11f0e3403cce932 Mon Sep 17 00:00:00 2001 From: TeoTwawki Date: Wed, 15 Jan 2020 17:50:05 -0500 Subject: [PATCH 2/5] - Change casket rate to a whole integer value so that 10 equals 10% - Make notes concerning retail accuracy of Prowess buffs. --- scripts/globals/caskets.lua | 20 +++++++++++--------- scripts/globals/regimes.lua | 6 ++++++ 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/scripts/globals/caskets.lua b/scripts/globals/caskets.lua index d4faace37aa..adbacaeb2e1 100644 --- a/scripts/globals/caskets.lua +++ b/scripts/globals/caskets.lua @@ -4542,25 +4542,27 @@ local function dropChance(player) ----------------------------------------------------------------------------------------- -- NOTES: 10% base drop rate. -- Super Kupowers(Myriad Mystery Boxes) adds 10% drop rate to the base rate. - -- GoV Prowess Increased Treasure Casket Discovery adds 5% per level (max 5 levels) - -- for a total of 25% increase. -- NOTE this needs to be confirmed! + -- GoV Prowess Increased Treasure Casket Discovery adds 1% per level (max 5 levels) + -- This should be max 5 levels but its 11 right now - Teo says the regimes global needs fixing ----------------------------------------------------------------------------------------- - --local kupowerMMBEffect = player:getStatusEffect(dsp.effect.KUPOWERS_MYRIAD_MYSTERY_BOXES) -- Super Kupowers Myriad Mystery Boxes not implimented yet. + local baseCasketRate = 10 -- 1 power = 1% local casketProwessEffect = player:getStatusEffect(dsp.effect.PROWESS_CASKET_RATE) local kupowersMMBPower = 0 local prowessCasketsPower = 0 - --if player:hasStatusEffect(dsp.effect.KUPOWERS_MYRIAD_MYSTERY_BOXES) then -- Super Kupowers Myriad Mystery Boxes not implimented yet. - -- kupowersMMBPower = kupowerMMBEffect:getPower() - --end + --[[ Super Kupowers Myriad Mystery Boxes not implimented yet. + if player:hasStatusEffect(dsp.effect.KUPOWERS_MYRIAD_MYSTERY_BOXES) then + local kupowerMMBEffect = player:getStatusEffect(dsp.effect.KUPOWERS_MYRIAD_MYSTERY_BOXES) + kupowersMMBPower = kupowerMMBEffect:getPower() + end + ]] if player:hasStatusEffect(dsp.effect.PROWESS_CASKET_RATE) then prowessCasketsPower = casketProwessEffect:getPower() end - local rand = math.random() - - if rand < utils.clamp(CASKET_DROP_RATE + kupowersMMBPower + prowessCasketsPower, 0, 1) then + local rand = math.random(100) + if rand < (baseCasketRate + kupowersMMBPower + prowessCasketsPower) then return true end diff --git a/scripts/globals/regimes.lua b/scripts/globals/regimes.lua index c2a3895ac8e..46c0f7bb4b5 100644 --- a/scripts/globals/regimes.lua +++ b/scripts/globals/regimes.lua @@ -1259,6 +1259,12 @@ dsp.regime.checkRegime = function(player, mob, regimeId, index, regimeType) reward = math.floor(reward * avgCapLevel / avgMobLevel) end + --[[ + This whole thing needs to die and be redone. The prowess effects do not all have the samestack cap of 11. + The one for casket rate caps at 5 stacks for example. see https://ffxiclopedia.fandom.com/wiki/Grounds_of_Valor#Prowesses + Additionaly forget this if/elseif crap this needs a table. + It was ok back when it was only 3 effects but to get all of them this needs changed. + ]] -- prowess buffs from completing Grounds regimes if regimeType == dsp.regime.type.GROUNDS then local prowess = math.random(dsp.effect.PROWESS_CASKET_RATE, dsp.effect.PROWESS_KILLER) From 70060848b98e841403ddf86dc764588471f85a30 Mon Sep 17 00:00:00 2001 From: Omnione <10185476+Omnione@users.noreply.github.com> Date: Wed, 15 Jan 2020 23:49:06 +0000 Subject: [PATCH 3/5] Changed a function name to better reflect its use. removed a left over print statement. --- scripts/globals/caskets.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/globals/caskets.lua b/scripts/globals/caskets.lua index adbacaeb2e1..b4acdc4f760 100644 --- a/scripts/globals/caskets.lua +++ b/scripts/globals/caskets.lua @@ -4538,7 +4538,7 @@ end --------------------------------------------------------------------------------------------- -- Desc: Drop rate check, calculates all drop rate modifiers. --------------------------------------------------------------------------------------------- -local function dropChance(player) +local function canDropCasket(player) ----------------------------------------------------------------------------------------- -- NOTES: 10% base drop rate. -- Super Kupowers(Myriad Mystery Boxes) adds 10% drop rate to the base rate. @@ -4633,7 +4633,6 @@ local function setCasketData(player, x, y, z, r, npc, partyID, mobLvl) if chestStyle == 966 then npc:setLocalVar("[caskets]ATTEMPTS", attempts) npc:setLocalVar("[caskets]CORRECT_NUM", correctNum) - printf("Correct Number: %s", correctNum) npc:setLocalVar("[caskets]FAILED_ATEMPTS", 0) npc:setLocalVar("[caskets]LOCKED", 1) npc:setLocalVar("[caskets]LOOT_TYPE", 2) @@ -5040,7 +5039,7 @@ dsp.caskets.spawnCasket = function (mob, player, x, y, z, r) return end - if dropChance(player) then + if canDropCasket(player) then setCasketData(player, x, y, z, r, npc, chestOwner, mob:getMainLvl()) end end From 0cc9dbea9bdd01a32e973876e6d864cdeb9ef945 Mon Sep 17 00:00:00 2001 From: Omnione <10185476+Omnione@users.noreply.github.com> Date: Sun, 2 Feb 2020 18:48:32 +0000 Subject: [PATCH 4/5] Added the missing Quick Sands Caves, fixed a few zone text id's --- scripts/globals/caskets.lua | 76 ++++++++++++++++--- scripts/mixins/zones/Quicksand_Caves.lua | 4 + scripts/zones/Quicksand_Caves/IDs.lua | 40 +++++----- .../Quicksand_Caves/npcs/Treasure_Casket.lua | 20 +++++ scripts/zones/The_Sanctuary_of_ZiTah/IDs.lua | 10 +-- src/map/lua/lua_baseentity.cpp | 51 +++++++++++++ src/map/lua/lua_baseentity.h | 2 + 7 files changed, 172 insertions(+), 31 deletions(-) create mode 100644 scripts/mixins/zones/Quicksand_Caves.lua create mode 100644 scripts/zones/Quicksand_Caves/npcs/Treasure_Casket.lua diff --git a/scripts/globals/caskets.lua b/scripts/globals/caskets.lua index b4acdc4f760..bbb1a938c92 100644 --- a/scripts/globals/caskets.lua +++ b/scripts/globals/caskets.lua @@ -55,7 +55,7 @@ local casketInfo = 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 130, 153, 157, 158, 159, 160, 166, 167, 169, 172, 173, 174, 176, 177, 178, 184, 190, 191, 192, - 193, 194, 195, 196, 197, 198, 204, 205, 207, 212, 213 + 193, 194, 195, 196, 197, 198, 204, 205, 208, 212, 213 }, cs = { @@ -4340,6 +4340,64 @@ local casketItems = { 725, 16265}, -- Wivre Gorget } }, + [dsp.zone.QUICKSAND_CAVES] = + { + regionalItems = {10949}, -- Smithy's Torque + temps = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + {1060, 4117}, -- Hi-Potion +1 + { 700, 4118}, -- Hi-Potion +2 + { 230, 4119}, -- Hi-Potion +3 + {1020, 4133}, -- Hi-Ether +1 + { 800, 4134}, -- Hi-Ether +2 + { 240, 4135}, -- Hi-Ether +3 + { 900, 4145}, -- Elixir + { 820, 4148}, -- Antidote + { 730, 4150}, -- Eye Drops + { 850, 4151}, -- Echo Drops + { 650, 4155}, -- Remedy + {1020, 4164}, -- Prism Powder + { 940, 4165}, -- Silent Oil + { 420, 4202}, -- Daedalus Wing + { 220, 4206}, -- Catholicon + { 430, 4302}, -- Pamama au Lait + { 620, 4424}, -- Melon Juice + }, + items = + { + ---------------------------------- + --| Weight | Item ID | Name |-- + ---------------------------------- + { 230, 645}, -- Darksteel Ore + { 850, 702}, -- Ebony Log + { 560, 737}, -- Gold Ore + { 520, 823}, -- Gold Thread + { 840, 843}, -- G. Bird Plume + {1250, 844}, -- Phoenix Feather + {2900, 888}, -- Sea Shell + {2500, 1155}, -- Iron Sand + {1900, 1213}, -- Dst. Bolt Heads + {2100, 1443}, -- Dried Mugwort + { 240, 3309}, -- Barrage Turbine + {1700, 3434}, -- Cobalt Cell + { 650, 3435}, -- Rubicund Cell + {1230, 3437}, -- Jade Cell + {5000, 4117}, -- Hi-Potion +1 + {4400, 4120}, -- X-Potion + { 600, 4121}, -- X-Potion +1 + {4800, 4133}, -- Hi-Ether +1 + { 790, 4141}, -- Pro-Ether +1 + { 310, 4449}, -- Reishi Mushroom + { 430, 5164}, -- Ground Wasabi + { 625, 12829}, -- Beak Trousers + { 365, 12683}, -- Darksteel Mufflers + { 295, 12811}, -- Dst. Breeches + { 680, 12740}, -- Silk Mitts + } + }, [dsp.zone.GUSTAV_TUNNEL] = { regionalItems = {10955, 11041}, -- Culinarian's Torque | Liminus Earring @@ -4590,9 +4648,8 @@ end -- Desc: Despawn a chest and reset its local var's ---------------------------------------------------------------------------------- local function removeChest(npc) - npc:AnimationSub(0) - npc:setStatus(dsp.status.DISAPPEAR) - npc:setLocalVar("[caskets]SPAWNSTATUS", casketInfo.spawnStatus.DESPAWNED) + npc:despawnNPC() + npc:releaseAllFromNPC() end --------------------------------------------------------------------------------------------- @@ -4646,12 +4703,13 @@ local function setCasketData(player, x, y, z, r, npc, partyID, mobLvl) npc:setLocalVar("[caskets]SPAWNTIME", os.time()) npc:setPos(x, y, z, r) npc:setStatus(dsp.status.NORMAL) - npc:entityAnimationPacket("deru") + --npc:entityAnimationPacket("deru") npc:setModelId(chestStyle) sendChestDropMessage(player) ------------------------------------------------------- -- Despawn chest after 3 Mins ------------------------------------------------------- + -- npc:showNPC(180) npc:timer(180000, function(npc) removeChest(npc) end) @@ -5255,11 +5313,11 @@ dsp.caskets.onEventFinish = function(player, csid, option, npc) splitNumbers[1], splitNumbers[1] +1, splitNumbers[1] +2, 0) - elseif tonumber(splitNumbers[2]) == 9 then + elseif tonumber(splitNumbers[1]) == 9 then player:messageSpecial(baseMessage + casketInfo.messageOffset.FIRST_DIGIT_IS, - splitNumbers[2] -2, - splitNumbers[2] -1, - splitNumbers[2], 0) + splitNumbers[1] -2, + splitNumbers[1] -1, + splitNumbers[1], 0) else player:messageSpecial(baseMessage + casketInfo.messageOffset.FIRST_DIGIT_IS, splitNumbers[1] -1, diff --git a/scripts/mixins/zones/Quicksand_Caves.lua b/scripts/mixins/zones/Quicksand_Caves.lua new file mode 100644 index 00000000000..379b85c794e --- /dev/null +++ b/scripts/mixins/zones/Quicksand_Caves.lua @@ -0,0 +1,4 @@ +--------------------------------------------------------- +-- Caskets +--------------------------------------------------------- +mixins = {require("scripts/mixins/spawn_casket")} diff --git a/scripts/zones/Quicksand_Caves/IDs.lua b/scripts/zones/Quicksand_Caves/IDs.lua index 3b1771c750d..e9182d3c767 100644 --- a/scripts/zones/Quicksand_Caves/IDs.lua +++ b/scripts/zones/Quicksand_Caves/IDs.lua @@ -10,23 +10,28 @@ zones[dsp.zone.QUICKSAND_CAVES] = { text = { - ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the . Come back after sorting your inventory. - ITEM_OBTAINED = 6388, -- Obtained: . - GIL_OBTAINED = 6389, -- Obtained gil. - KEYITEM_OBTAINED = 6391, -- Obtained key item: . - NOTHING_OUT_OF_ORDINARY = 6402, -- There is nothing out of the ordinary here. - SENSE_OF_FOREBODING = 6403, -- You are suddenly overcome with a sense of foreboding... - NOW_IS_NOT_THE_TIME = 6404, -- Now is not the time for that! - CONQUEST_BASE = 7049, -- Tallying conquest results... - FISHING_MESSAGE_OFFSET = 7208, -- You can't fish here. - CHEST_UNLOCKED = 7316, -- You unlock the chest! - DOOR_FIRMLY_SHUT = 7324, -- The door is firmly shut. - POOL_OF_WATER = 7356, -- It is a pool of water. - YOU_FIND_NOTHING = 7359, -- You find nothing. - SOMETHING_IS_BURIED = 7364, -- Something is buried in this fallen pillar. - SENSE_OMINOUS_PRESENCE = 7368, -- You sense an ominous presence... - REGIME_REGISTERED = 10362, -- New training regime registered! - HOMEPOINT_SET = 11424, -- Home point set! + ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the . Come back after sorting your inventory. + ITEM_OBTAINED = 6388, -- Obtained: . + GIL_OBTAINED = 6389, -- Obtained gil. + KEYITEM_OBTAINED = 6391, -- Obtained key item: . + NOTHING_OUT_OF_ORDINARY = 6402, -- There is nothing out of the ordinary here. + SENSE_OF_FOREBODING = 6403, -- You are suddenly overcome with a sense of foreboding... + NOW_IS_NOT_THE_TIME = 6404, -- Now is not the time for that! + CONQUEST_BASE = 7049, -- Tallying conquest results... + FISHING_MESSAGE_OFFSET = 7208, -- You can't fish here. + CHEST_UNLOCKED = 7316, -- You unlock the chest! + DOOR_FIRMLY_SHUT = 7324, -- The door is firmly shut. + POOL_OF_WATER = 7356, -- It is a pool of water. + YOU_FIND_NOTHING = 7359, -- You find nothing. + SOMETHING_IS_BURIED = 7364, -- Something is buried in this fallen pillar. + SENSE_OMINOUS_PRESENCE = 7368, -- You sense an ominous presence... + PLAYER_OBTAINS_ITEM = 8276, -- obtains ! + UNABLE_TO_OBTAIN_ITEM = 8277, -- You were unable to obtain the item. + PLAYER_OBTAINS_TEMP_ITEM = 8278, -- obtains the temporary item: ! + ALREADY_POSSESS_TEMP = 8279, -- You already possess that temporary item. + NO_COMBINATION = 8284, -- You were unable to enter a combination. + REGIME_REGISTERED = 10362, -- New training regime registered! + HOMEPOINT_SET = 11424, -- Home point set! }, mob = { @@ -90,6 +95,7 @@ zones[dsp.zone.QUICKSAND_CAVES] = [3] = {479.000, -14.000, -815.000}, [4] = {814.000, -14.000, -761.000} }, + CASKET_BASE = 17629663, ORNATE_DOOR_OFFSET = 17629685, CHAINS_THAT_BIND_US_QM = 17629738, TREASURE_COFFER = 17629739, diff --git a/scripts/zones/Quicksand_Caves/npcs/Treasure_Casket.lua b/scripts/zones/Quicksand_Caves/npcs/Treasure_Casket.lua new file mode 100644 index 00000000000..5836ceaf744 --- /dev/null +++ b/scripts/zones/Quicksand_Caves/npcs/Treasure_Casket.lua @@ -0,0 +1,20 @@ +----------------------------------- +-- NPC: Treasure Casket +----------------------------------- +require("scripts/globals/caskets") +----------------------------------- + +function onTrigger(player, npc) + dsp.caskets.onTrigger(player, npc) +end + +function onTrade(player, npc, trade) + dsp.caskets.onTrade(player, npc, trade) +end + +function onEventUpdate(player, csid, option) +end + +function onEventFinish(player, csid, option) + dsp.caskets.onEventFinish(player, csid, option) +end \ No newline at end of file diff --git a/scripts/zones/The_Sanctuary_of_ZiTah/IDs.lua b/scripts/zones/The_Sanctuary_of_ZiTah/IDs.lua index e06acf625dd..db5f1363fdc 100644 --- a/scripts/zones/The_Sanctuary_of_ZiTah/IDs.lua +++ b/scripts/zones/The_Sanctuary_of_ZiTah/IDs.lua @@ -32,11 +32,11 @@ zones[dsp.zone.THE_SANCTUARY_OF_ZITAH] = ZILART_MONUMENT = 7740, -- It is an ancient Zilart monument. STURDY_BRANCH = 7763, -- It is a beautiful, sturdy branch. SENSE_OMINOUS_PRESENCE = 7848, -- You sense an ominous presence... - PLAYER_OBTAINS_ITEM = 8082, -- obtains ! - UNABLE_TO_OBTAIN_ITEM = 8083, -- You were unable to obtain the item. - PLAYER_OBTAINS_TEMP_ITEM = 8084, -- obtains the temporary item: ! - ALREADY_POSSESS_TEMP = 8085, -- You already possess that temporary item. - NO_COMBINATION = 8090, -- You were unable to enter a combination. + PLAYER_OBTAINS_ITEM = 8077, -- obtains ! + UNABLE_TO_OBTAIN_ITEM = 8078, -- You were unable to obtain the item. + PLAYER_OBTAINS_TEMP_ITEM = 8079, -- obtains the temporary item: ! + ALREADY_POSSESS_TEMP = 8080, -- You already possess that temporary item. + NO_COMBINATION = 8085, -- You were unable to enter a combination. REGIME_REGISTERED = 10268, -- New training regime registered! COMMON_SENSE_SURVIVAL = 12257, -- It appears that you have arrived at a new survival guide provided by the Adventurers' Mutual Aid Network. Common sense dictates that you should now be able to teleport here from similar tomes throughout the world. }, diff --git a/src/map/lua/lua_baseentity.cpp b/src/map/lua/lua_baseentity.cpp index 70ca8133d5a..346bfdf7d53 100644 --- a/src/map/lua/lua_baseentity.cpp +++ b/src/map/lua/lua_baseentity.cpp @@ -2142,6 +2142,55 @@ inline int32 CLuaBaseEntity::hideNPC(lua_State *L) return 0; } +/************************************************************************ +* Function: despawnNPC() +* Purpose : despawns an npc right away and removes any queued actions. +* Example : npc:despawnNPC() +* Notes : Currently only used to force despawn caskets. +************************************************************************/ + +inline int32 CLuaBaseEntity::despawnNPC(lua_State* L) +{ + DSP_DEBUG_BREAK_IF(m_PBaseEntity == nullptr); + DSP_DEBUG_BREAK_IF(m_PBaseEntity->objtype != TYPE_NPC); + + if (m_PBaseEntity->status == STATUS_NORMAL) + { + m_PBaseEntity->status = STATUS_DISAPPEAR; + m_PBaseEntity->loc.zone->PushPacket(m_PBaseEntity, CHAR_INRANGE, new CEntityUpdatePacket(m_PBaseEntity, ENTITY_DESPAWN, UPDATE_COMBAT)); + m_PBaseEntity->PAI->QueueEmpty(); + } + return 0; +} + +/************************************************************************ +* Function: releaseAllFromNPC() +* Purpose : releases any players currently interacting with the npc +* Example : npc:releaseAllFromNPC() +* Notes : Currently only used to force release for caskets. +************************************************************************/ + +inline int32 CLuaBaseEntity::releaseAllFromNPC(lua_State* L) +{ + DSP_DEBUG_BREAK_IF(m_PBaseEntity == nullptr); + DSP_DEBUG_BREAK_IF(m_PBaseEntity->objtype != TYPE_NPC); + + CBaseEntity* PTarget = (CBaseEntity*)m_PBaseEntity; + + m_PBaseEntity->loc.zone->ForEachChar([&PTarget](CCharEntity* PChar) + { + if (PChar != nullptr && PChar->m_event.Target != nullptr) + { + if (PChar->m_event.Target == PTarget && PChar->m_event.EventID != -1) + { + PChar->pushPacket(new CReleasePacket(PChar, RELEASE_SKIPPING)); + PChar->pushPacket(new CReleasePacket(PChar, RELEASE_EVENT)); + } + } + }); + return 0; +} + /************************************************************************ * Function: updateNPCHideTime() * Purpose : Adds more time to an NPC being hidden @@ -13995,6 +14044,8 @@ Lunar::Register_t CLuaBaseEntity::methods[] = LUNAR_DECLARE_METHOD(CLuaBaseEntity,addPeriodicTrigger), LUNAR_DECLARE_METHOD(CLuaBaseEntity,showNPC), LUNAR_DECLARE_METHOD(CLuaBaseEntity,hideNPC), + LUNAR_DECLARE_METHOD(CLuaBaseEntity,releaseAllFromNPC), + LUNAR_DECLARE_METHOD(CLuaBaseEntity,despawnNPC), LUNAR_DECLARE_METHOD(CLuaBaseEntity,updateNPCHideTime), LUNAR_DECLARE_METHOD(CLuaBaseEntity,getWeather), diff --git a/src/map/lua/lua_baseentity.h b/src/map/lua/lua_baseentity.h index eeede9eee4b..5acd86127f9 100644 --- a/src/map/lua/lua_baseentity.h +++ b/src/map/lua/lua_baseentity.h @@ -128,6 +128,8 @@ class CLuaBaseEntity int32 addPeriodicTrigger(lua_State* L); // Adds a periodic trigger to the NPC that allows time based scripting int32 showNPC(lua_State*); // Show an NPC int32 hideNPC(lua_State*); // hide an NPC + int32 despawnNPC(lua_State* L); + int32 releaseAllFromNPC(lua_State* L); int32 updateNPCHideTime(lua_State*); // Updates the length of time a NPC remains hidden, if shorter than the original hide time. int32 getWeather(lua_State*); // Get Weather condition From f589118b0354a5d7f44478504734ce42efe8293c Mon Sep 17 00:00:00 2001 From: Omnione <10185476+Omnione@users.noreply.github.com> Date: Wed, 5 Feb 2020 22:21:48 +0000 Subject: [PATCH 5/5] Removed the use of releaseAllFromNPC when despawning a casket. --- scripts/globals/caskets.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/globals/caskets.lua b/scripts/globals/caskets.lua index bbb1a938c92..4cf67f60d7e 100644 --- a/scripts/globals/caskets.lua +++ b/scripts/globals/caskets.lua @@ -4649,7 +4649,6 @@ end ---------------------------------------------------------------------------------- local function removeChest(npc) npc:despawnNPC() - npc:releaseAllFromNPC() end ---------------------------------------------------------------------------------------------