From a12722a8f2cd972ea0066cc723c5b6e60fc82fe6 Mon Sep 17 00:00:00 2001 From: CatsEyeXI <65316697+CatsEyeXI@users.noreply.github.com> Date: Thu, 21 Jul 2022 05:28:59 -0400 Subject: [PATCH] [Lua] Implement remaining Geomantic Reservoirs (#2305) * Add remaining Geomantic Reservoirs * Fix ordering * Remove trailing whitespaces * add zoneid to !pos in comments of each npc * More out of order ID's... * Fix incorrect description --- scripts/globals/geomantic_reservoir.lua | 1 + scripts/zones/Batallia_Downs/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Beadeaux/IDs.lua | 2 ++ .../Beadeaux/npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Beaucedine_Glacier/IDs.lua | 3 ++- .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ .../npcs/Geomantic_Reservoir_2.lua | 26 +++++++++++++++++++ scripts/zones/Behemoths_Dominion/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Bostaunieux_Oubliette/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Castle_Oztroja/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Ceizak_Battlegrounds/IDs.lua | 1 + .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Crawlers_Nest/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Davoi/IDs.lua | 2 ++ .../zones/Davoi/npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ .../npcs/Geomantic_Reservoir.lua | 2 +- scripts/zones/FeiYin/IDs.lua | 2 ++ .../zones/FeiYin/npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Foret_de_Hennetiel/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Garlaige_Citadel/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Gusgen_Mines/IDs.lua | 2 ++ .../Gusgen_Mines/npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Konschtat_Highlands/IDs.lua | 3 ++- .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/La_Theine_Plateau/IDs.lua | 3 ++- .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ .../npcs/Geomantic_Reservoir_2.lua | 26 +++++++++++++++++++ scripts/zones/Lower_Delkfutts_Tower/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Marjami_Ravine/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Morimar_Basalt_Fields/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ .../npcs/Geomantic_Reservoir_2.lua | 26 +++++++++++++++++++ scripts/zones/Qufim_Island/IDs.lua | 2 ++ .../Qufim_Island/npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Rolanberry_Fields/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Sauromugue_Champaign/IDs.lua | 3 ++- .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Tahrongi_Canyon/IDs.lua | 3 ++- .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/The_Eldieme_Necropolis/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Upper_Delkfutts_Tower/IDs.lua | 2 ++ .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Xarcabard/IDs.lua | 2 ++ .../Xarcabard/npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ scripts/zones/Yahse_Hunting_Grounds/IDs.lua | 1 + .../npcs/Geomantic_Reservoir.lua | 26 +++++++++++++++++++ 57 files changed, 806 insertions(+), 6 deletions(-) create mode 100644 scripts/zones/Batallia_Downs/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Beadeaux/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir_2.lua create mode 100644 scripts/zones/Behemoths_Dominion/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Bostaunieux_Oubliette/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Castle_Oztroja/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Ceizak_Battlegrounds/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Crawlers_Nest/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Davoi/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/FeiYin/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Foret_de_Hennetiel/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Garlaige_Citadel/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Gusgen_Mines/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Konschtat_Highlands/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/La_Theine_Plateau/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/La_Theine_Plateau/npcs/Geomantic_Reservoir_2.lua create mode 100644 scripts/zones/Lower_Delkfutts_Tower/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Marjami_Ravine/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Morimar_Basalt_Fields/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Morimar_Basalt_Fields/npcs/Geomantic_Reservoir_2.lua create mode 100644 scripts/zones/Qufim_Island/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Rolanberry_Fields/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Sauromugue_Champaign/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Tahrongi_Canyon/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/The_Eldieme_Necropolis/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Upper_Delkfutts_Tower/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Xarcabard/npcs/Geomantic_Reservoir.lua create mode 100644 scripts/zones/Yahse_Hunting_Grounds/npcs/Geomantic_Reservoir.lua diff --git a/scripts/globals/geomantic_reservoir.lua b/scripts/globals/geomantic_reservoir.lua index 2f620db21c1..ac440a9ef44 100644 --- a/scripts/globals/geomantic_reservoir.lua +++ b/scripts/globals/geomantic_reservoir.lua @@ -24,6 +24,7 @@ local geoSpellTable = [xi.magic.spell.GEO_MND ] = { xi.items.GEO_MND }, [xi.magic.spell.GEO_FURY ] = { xi.items.GEO_FURY }, [xi.magic.spell.GEO_INT ] = { xi.items.GEO_INT }, + [xi.magic.spell.GEO_AGI ] = { xi.items.GEO_AGI }, [xi.magic.spell.GEO_POISON ] = { xi.items.GEO_POISON }, [xi.magic.spell.GEO_FEND ] = { xi.items.GEO_FEND }, [xi.magic.spell.GEO_VIT ] = { xi.items.GEO_VIT }, diff --git a/scripts/zones/Batallia_Downs/IDs.lua b/scripts/zones/Batallia_Downs/IDs.lua index 656350a90f7..5c71b579b59 100644 --- a/scripts/zones/Batallia_Downs/IDs.lua +++ b/scripts/zones/Batallia_Downs/IDs.lua @@ -42,6 +42,8 @@ zones[xi.zone.BATALLIA_DOWNS] = VOIDWALKER_UPGRADE_KI_2 = 11342, -- The takes on a deeper, richer hue and becomes ! VOIDWALKER_BREAK_KI = 11343, -- The shatters into tiny fragments. VOIDWALKER_OBTAIN_KI = 11344, -- Obtained key item: ! + LEARNS_SPELL = 12842, -- learns ! + UNCANNY_SENSATION = 12844, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 12851, -- 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. RAPTOR_OVERCOME_MUNCHIES = 13004, -- The raptor has overcome the munchies! (/) RAPTOR_SECOND_WIND = 13005, -- The raptor has gained a second wind! diff --git a/scripts/zones/Batallia_Downs/npcs/Geomantic_Reservoir.lua b/scripts/zones/Batallia_Downs/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..2f5c94bd674 --- /dev/null +++ b/scripts/zones/Batallia_Downs/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Batallia Downs +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Barrier +-- !pos -677.645 -32.000 157.981 105 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_BARRIER) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_BARRIER) +end + +return entity diff --git a/scripts/zones/Beadeaux/IDs.lua b/scripts/zones/Beadeaux/IDs.lua index 46b3a27e162..f4ea769018d 100644 --- a/scripts/zones/Beadeaux/IDs.lua +++ b/scripts/zones/Beadeaux/IDs.lua @@ -31,6 +31,8 @@ zones[xi.zone.BEADEAUX] = YOU_CAN_NOW_BECOME_A_DARK_KNIGHT = 7357, -- You can now become a dark knight! FOUL_SMELLING_SOIL_IS_SPILLING_OUT = 7358, -- Foul-smelling soil is spilling out. CHEST_UNLOCKED = 7368, -- You unlock the chest! + LEARNS_SPELL = 7786, -- learns ! + UNCANNY_SENSATION = 7788, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 7795, -- 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. }, mob = diff --git a/scripts/zones/Beadeaux/npcs/Geomantic_Reservoir.lua b/scripts/zones/Beadeaux/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..6a66d687d43 --- /dev/null +++ b/scripts/zones/Beadeaux/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Beadeaux +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Slow +-- !pos 162.194 -3.250 38.661 147 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_SLOW) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_SLOW) +end + +return entity diff --git a/scripts/zones/Beaucedine_Glacier/IDs.lua b/scripts/zones/Beaucedine_Glacier/IDs.lua index ab884e70fd7..12d068f5736 100644 --- a/scripts/zones/Beaucedine_Glacier/IDs.lua +++ b/scripts/zones/Beaucedine_Glacier/IDs.lua @@ -44,9 +44,10 @@ zones[xi.zone.BEAUCEDINE_GLACIER] = VOIDWALKER_UPGRADE_KI_2 = 11888, -- The takes on a deeper, richer hue and becomes ! VOIDWALKER_BREAK_KI = 11889, -- The shatters into tiny fragments. VOIDWALKER_OBTAIN_KI = 11890, -- Obtained key item: ! + LEARNS_SPELL = 12780, -- learns ! + UNCANNY_SENSATION = 12782, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 12789, -- 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. }, - mob = { GARGANTUA_PH = diff --git a/scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir.lua b/scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..3bc9ad1ac21 --- /dev/null +++ b/scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Beaucedine Glacier +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-INT +-- !pos 8.527 -59.729 -104.909 111 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_INT) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_INT) +end + +return entity diff --git a/scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir_2.lua b/scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir_2.lua new file mode 100644 index 00000000000..acedcdb0640 --- /dev/null +++ b/scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir_2.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Beaucedine Glacier +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Acumen +-- !pos 275.620 -0.137 247.116 111 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_ACUMEN) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_ACUMEN) +end + +return entity diff --git a/scripts/zones/Behemoths_Dominion/IDs.lua b/scripts/zones/Behemoths_Dominion/IDs.lua index 00b36f1d463..7bf30bcd13c 100644 --- a/scripts/zones/Behemoths_Dominion/IDs.lua +++ b/scripts/zones/Behemoths_Dominion/IDs.lua @@ -33,6 +33,8 @@ zones[xi.zone.BEHEMOTHS_DOMINION] = ALREADY_POSSESS_TEMP = 7354, -- You already possess that temporary item. NO_COMBINATION = 7359, -- You were unable to enter a combination. REGIME_REGISTERED = 9537, -- New training regime registered! + LEARNS_SPELL = 11526, -- learns ! + UNCANNY_SENSATION = 11528, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11535, -- 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. }, mob = diff --git a/scripts/zones/Behemoths_Dominion/npcs/Geomantic_Reservoir.lua b/scripts/zones/Behemoths_Dominion/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..3a986dc28c4 --- /dev/null +++ b/scripts/zones/Behemoths_Dominion/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Behemoth's Dominion +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-DEX +-- !pos -232.162 -20.199 4.927 127 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_DEX) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_DEX) +end + +return entity diff --git a/scripts/zones/Bostaunieux_Oubliette/IDs.lua b/scripts/zones/Bostaunieux_Oubliette/IDs.lua index 8bea8822901..fbfd926133c 100644 --- a/scripts/zones/Bostaunieux_Oubliette/IDs.lua +++ b/scripts/zones/Bostaunieux_Oubliette/IDs.lua @@ -33,6 +33,8 @@ zones[xi.zone.BOSTAUNIEUX_OUBLIETTE] = PLAYER_OBTAINS_TEMP_ITEM = 10594, -- obtains the temporary item: ! ALREADY_POSSESS_TEMP = 10595, -- You already possess that temporary item. NO_COMBINATION = 10600, -- You were unable to enter a combination. + LEARNS_SPELL = 10624, -- learns ! + UNCANNY_SENSATION = 10626, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 10633, -- 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. }, mob = diff --git a/scripts/zones/Bostaunieux_Oubliette/npcs/Geomantic_Reservoir.lua b/scripts/zones/Bostaunieux_Oubliette/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..bfd0bbfb6d6 --- /dev/null +++ b/scripts/zones/Bostaunieux_Oubliette/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Bostaunieux Oubliette +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Languor +-- !pos -13.337 0.009 -333.022 167 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_LANGUOR) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_LANGUOR) +end + +return entity diff --git a/scripts/zones/Castle_Oztroja/IDs.lua b/scripts/zones/Castle_Oztroja/IDs.lua index 030597c5c2d..39fc7cd9bb4 100644 --- a/scripts/zones/Castle_Oztroja/IDs.lua +++ b/scripts/zones/Castle_Oztroja/IDs.lua @@ -38,6 +38,8 @@ zones[xi.zone.CASTLE_OZTROJA] = YAGUDO_AVATAR_DEATH = 7454, -- Our lord, Tzee Xicu the Manifest! Even should our bodies be crushed and broken, may our souls endure into eternity... YAGUDO_KING_ENGAGE = 7455, -- You are not here as sacrifices, are you? Could you possibly be committing this affront in the face of a deity? Very well, I will personally mete out your divine punishment, kyah! YAGUDO_KING_DEATH = 7456, -- You have...bested me... However, I...am...a god... I will never die...never rot...never fade...never... + LEARNS_SPELL = 8295, -- learns ! + UNCANNY_SENSATION = 8297, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 8304, -- 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. }, mob = diff --git a/scripts/zones/Castle_Oztroja/npcs/Geomantic_Reservoir.lua b/scripts/zones/Castle_Oztroja/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..63376b07e3f --- /dev/null +++ b/scripts/zones/Castle_Oztroja/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Castle Oztroja +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-AGI +-- !pos -210.032 -16.000 95.255 151 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_AGI) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_AGI) +end + +return entity diff --git a/scripts/zones/Ceizak_Battlegrounds/IDs.lua b/scripts/zones/Ceizak_Battlegrounds/IDs.lua index 4a46a11e460..dadac1d393c 100644 --- a/scripts/zones/Ceizak_Battlegrounds/IDs.lua +++ b/scripts/zones/Ceizak_Battlegrounds/IDs.lua @@ -27,6 +27,7 @@ zones[xi.zone.CEIZAK_BATTLEGROUNDS] = ARTIFACT_TERMINAL_VOLUME = 7608, -- Your artifact has been charged to its terminal volume of kinetic units. SURPLUS_LOST_TO_AETHER = 7609, -- A surplus of kinetic unit[/s] has been lost to the aether. HOMEPOINT_SET = 7791, -- Home point set! + LEARNS_SPELL = 8031, -- learns ! UNCANNY_SENSATION = 8033, -- You are assaulted by an uncanny sensation. ENERGIES_COURSE = 8034, -- The arcane energies begin to course within your veins. MYSTICAL_WARMTH = 8035, -- You feel a mystical warmth welling up inside you! diff --git a/scripts/zones/Ceizak_Battlegrounds/npcs/Geomantic_Reservoir.lua b/scripts/zones/Ceizak_Battlegrounds/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..44b3f176f38 --- /dev/null +++ b/scripts/zones/Ceizak_Battlegrounds/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Ceizak Battlegrounds +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Frailty +-- !pos -450.391 0.001 -0.491 261 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_FRAILTY) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_FRAILTY) +end + +return entity diff --git a/scripts/zones/Crawlers_Nest/IDs.lua b/scripts/zones/Crawlers_Nest/IDs.lua index 92822a8227a..0a8af832b5c 100644 --- a/scripts/zones/Crawlers_Nest/IDs.lua +++ b/scripts/zones/Crawlers_Nest/IDs.lua @@ -37,6 +37,8 @@ zones[xi.zone.CRAWLERS_NEST] = ALREADY_POSSESS_TEMP = 7353, -- You already possess that temporary item. NO_COMBINATION = 7358, -- You were unable to enter a combination. REGIME_REGISTERED = 9436, -- New training regime registered! + LEARNS_SPELL = 11354, -- learns ! + UNCANNY_SENSATION = 11356, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11388, -- 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. }, mob = diff --git a/scripts/zones/Crawlers_Nest/npcs/Geomantic_Reservoir.lua b/scripts/zones/Crawlers_Nest/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..0a0281f1cf4 --- /dev/null +++ b/scripts/zones/Crawlers_Nest/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Crawler's Nest +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-STR +-- !pos -170.623 -1.376 347.089 197 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_STR) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_STR) +end + +return entity diff --git a/scripts/zones/Davoi/IDs.lua b/scripts/zones/Davoi/IDs.lua index d6da62c190b..ca454e7f358 100644 --- a/scripts/zones/Davoi/IDs.lua +++ b/scripts/zones/Davoi/IDs.lua @@ -36,6 +36,8 @@ zones[xi.zone.DAVOI] = WHERE_THE_TONBERRY_TOLD_YOU = 7928, -- This is where the Tonberry from Carpenters' Landing told you to bring the ... NOTHING_TO_DO = 7929, -- You have nothing left to do here. UNDER_ATTACK = 7931, -- You are under attack! + LEARNS_SPELL = 7971, -- learns ! + UNCANNY_SENSATION = 7973, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 7980, -- 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. }, mob = diff --git a/scripts/zones/Davoi/npcs/Geomantic_Reservoir.lua b/scripts/zones/Davoi/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..2a12ac824b0 --- /dev/null +++ b/scripts/zones/Davoi/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Davoi +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Fend +-- !pos 173.098 3.643 -386.962 149 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_FEND) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_FEND) +end + +return entity diff --git a/scripts/zones/East_Ronfaure/npcs/Geomantic_Reservoir.lua b/scripts/zones/East_Ronfaure/npcs/Geomantic_Reservoir.lua index 909bad1a0a2..18564f03837 100644 --- a/scripts/zones/East_Ronfaure/npcs/Geomantic_Reservoir.lua +++ b/scripts/zones/East_Ronfaure/npcs/Geomantic_Reservoir.lua @@ -2,7 +2,7 @@ -- Area: East Ronfaure -- NPC: Geomantic Reservoir -- Unlocks: Geo-Poison --- !pos 379.572 -39.057 57.502 +-- !pos 379.572 -39.057 57.502 101 ----------------------------------- require("scripts/globals/geomantic_reservoir") require("scripts/globals/spell_data") diff --git a/scripts/zones/FeiYin/IDs.lua b/scripts/zones/FeiYin/IDs.lua index fdae666d4b0..90e10f86dba 100644 --- a/scripts/zones/FeiYin/IDs.lua +++ b/scripts/zones/FeiYin/IDs.lua @@ -39,6 +39,8 @@ zones[xi.zone.FEIYIN] = ALREADY_POSSESS_TEMP = 7518, -- You already possess that temporary item. NO_COMBINATION = 7523, -- You were unable to enter a combination. REGIME_REGISTERED = 9601, -- New training regime registered! + LEARNS_SPELL = 10649, -- learns ! + UNCANNY_SENSATION = 10651, -- You are assaulted by an uncanny sensation. HOMEPOINT_SET = 10700, -- Home point set! }, mob = diff --git a/scripts/zones/FeiYin/npcs/Geomantic_Reservoir.lua b/scripts/zones/FeiYin/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..b2407d24122 --- /dev/null +++ b/scripts/zones/FeiYin/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Fei'Yin +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Paralysis +-- !pos 4.239 -0.009 255.206 204 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_PARALYSIS) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_PARALYSIS) +end + +return entity diff --git a/scripts/zones/Foret_de_Hennetiel/IDs.lua b/scripts/zones/Foret_de_Hennetiel/IDs.lua index 7e9d9ad4df7..5ce3f92a98e 100644 --- a/scripts/zones/Foret_de_Hennetiel/IDs.lua +++ b/scripts/zones/Foret_de_Hennetiel/IDs.lua @@ -29,6 +29,8 @@ zones[xi.zone.FORET_DE_HENNETIEL] = ARTIFACT_HAS_BEEN_CHARGED = 7692, -- Your artifact has been charged with kinetic unit[/s]. Your current stock of kinetic units totals . ARTIFACT_TERMINAL_VOLUME = 7693, -- Your artifact has been charged to its terminal volume of kinetic units. SURPLUS_LOST_TO_AETHER = 7694, -- A surplus of kinetic unit[/s] has been lost to the aether. + LEARNS_SPELL = 7928, -- learns ! + UNCANNY_SENSATION = 7930, -- You are assaulted by an uncanny sensation. HOMEPOINT_SET = 8002, -- Home point set! }, mob = diff --git a/scripts/zones/Foret_de_Hennetiel/npcs/Geomantic_Reservoir.lua b/scripts/zones/Foret_de_Hennetiel/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..9f725c15718 --- /dev/null +++ b/scripts/zones/Foret_de_Hennetiel/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Foret de Hennetiel +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Gravity +-- !pos 232.687 -0.500 152.658 262 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_GRAVITY) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_GRAVITY) +end + +return entity diff --git a/scripts/zones/Garlaige_Citadel/IDs.lua b/scripts/zones/Garlaige_Citadel/IDs.lua index a95e769dd35..bdd8e7e45d3 100644 --- a/scripts/zones/Garlaige_Citadel/IDs.lua +++ b/scripts/zones/Garlaige_Citadel/IDs.lua @@ -47,6 +47,8 @@ zones[xi.zone.GARLAIGE_CITADEL] = ALREADY_POSSESS_TEMP = 7530, -- You already possess that temporary item. NO_COMBINATION = 7535, -- You were unable to enter a combination. REGIME_REGISTERED = 9613, -- New training regime registered! + LEARNS_SPELL = 11531, -- learns ! + UNCANNY_SENSATION = 11533, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11564, -- 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. }, mob = diff --git a/scripts/zones/Garlaige_Citadel/npcs/Geomantic_Reservoir.lua b/scripts/zones/Garlaige_Citadel/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..c4d58974f6d --- /dev/null +++ b/scripts/zones/Garlaige_Citadel/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Garlaige Citadel +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-VIT +-- !pos -83.898 5.568 139.600 200 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_VIT) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_VIT) +end + +return entity diff --git a/scripts/zones/Gusgen_Mines/IDs.lua b/scripts/zones/Gusgen_Mines/IDs.lua index 07ed3ceb7a9..51ca8ffc32d 100644 --- a/scripts/zones/Gusgen_Mines/IDs.lua +++ b/scripts/zones/Gusgen_Mines/IDs.lua @@ -41,6 +41,8 @@ zones[xi.zone.GUSGEN_MINES] = ALREADY_POSSESS_TEMP = 8308, -- You already possess that temporary item. NO_COMBINATION = 8313, -- You were unable to enter a combination. REGIME_REGISTERED = 10391, -- New training regime registered! + LEARNS_SPELL = 11439, -- learns ! + UNCANNY_SENSATION = 11441, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11476, -- 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. }, mob = diff --git a/scripts/zones/Gusgen_Mines/npcs/Geomantic_Reservoir.lua b/scripts/zones/Gusgen_Mines/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..ee70f1299af --- /dev/null +++ b/scripts/zones/Gusgen_Mines/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Gusgen Mines +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Focus +-- !pos -20.869 -59.736 -180.233 196 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_FOCUS) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_FOCUS) +end + +return entity diff --git a/scripts/zones/Konschtat_Highlands/IDs.lua b/scripts/zones/Konschtat_Highlands/IDs.lua index 03f294c7ad9..e860bf1f8cd 100644 --- a/scripts/zones/Konschtat_Highlands/IDs.lua +++ b/scripts/zones/Konschtat_Highlands/IDs.lua @@ -53,9 +53,10 @@ zones[xi.zone.KONSCHTAT_HIGHLANDS] = VOIDWALKER_UPGRADE_KI_2 = 10978, -- The takes on a deeper, richer hue and becomes ! VOIDWALKER_BREAK_KI = 10979, -- The shatters into tiny fragments. VOIDWALKER_OBTAIN_KI = 10980, -- Obtained key item: ! + LEARNS_SPELL = 11916, -- learns ! + UNCANNY_SENSATION = 11918, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11925, -- 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. }, - mob = { STRAY_MARY_PH = diff --git a/scripts/zones/Konschtat_Highlands/npcs/Geomantic_Reservoir.lua b/scripts/zones/Konschtat_Highlands/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..d117ca3c1cd --- /dev/null +++ b/scripts/zones/Konschtat_Highlands/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Konschtat Highlands +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Precision +-- !pos -246.883 40.168 301.159 108 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_PRECISION) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_PRECISION) +end + +return entity diff --git a/scripts/zones/La_Theine_Plateau/IDs.lua b/scripts/zones/La_Theine_Plateau/IDs.lua index 882a3a1d14b..75cc75f3020 100644 --- a/scripts/zones/La_Theine_Plateau/IDs.lua +++ b/scripts/zones/La_Theine_Plateau/IDs.lua @@ -57,9 +57,10 @@ zones[xi.zone.LA_THEINE_PLATEAU] = VOIDWALKER_UPGRADE_KI_2 = 11316, -- The takes on a deeper, richer hue and becomes ! VOIDWALKER_BREAK_KI = 11317, -- The shatters into tiny fragments. VOIDWALKER_OBTAIN_KI = 11318, -- Obtained key item: ! + LEARNS_SPELL = 12336, -- learns ! + UNCANNY_SENSATION = 12338, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 12345, -- 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. }, - mob = { TUMBLING_TRUFFLE_PH = diff --git a/scripts/zones/La_Theine_Plateau/npcs/Geomantic_Reservoir.lua b/scripts/zones/La_Theine_Plateau/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..f6b08a631ed --- /dev/null +++ b/scripts/zones/La_Theine_Plateau/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: La Theine Plateau +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Refresh +-- !pos 400.026 70.700 365.002 102 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_REGEN) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_REGEN) +end + +return entity diff --git a/scripts/zones/La_Theine_Plateau/npcs/Geomantic_Reservoir_2.lua b/scripts/zones/La_Theine_Plateau/npcs/Geomantic_Reservoir_2.lua new file mode 100644 index 00000000000..da1737be538 --- /dev/null +++ b/scripts/zones/La_Theine_Plateau/npcs/Geomantic_Reservoir_2.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: La Theine Plateau +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Regen +-- !pos -5.052 54.625 -405.673 102 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_REFRESH) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_REFRESH) +end + +return entity diff --git a/scripts/zones/Lower_Delkfutts_Tower/IDs.lua b/scripts/zones/Lower_Delkfutts_Tower/IDs.lua index 0e94f4b5c66..05d48ceddc2 100644 --- a/scripts/zones/Lower_Delkfutts_Tower/IDs.lua +++ b/scripts/zones/Lower_Delkfutts_Tower/IDs.lua @@ -29,6 +29,8 @@ zones[xi.zone.LOWER_DELKFUTTS_TOWER] = ALREADY_POSSESS_TEMP = 8632, -- You already possess that temporary item. NO_COMBINATION = 8637, -- You were unable to enter a combination. REGIME_REGISTERED = 10715, -- New training regime registered! + LEARNS_SPELL = 11763, -- learns ! + UNCANNY_SENSATION = 11765, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11772, -- 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. }, mob = diff --git a/scripts/zones/Lower_Delkfutts_Tower/npcs/Geomantic_Reservoir.lua b/scripts/zones/Lower_Delkfutts_Tower/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..60f662be699 --- /dev/null +++ b/scripts/zones/Lower_Delkfutts_Tower/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Lower Delkfutt's Tower +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-CHR +-- !pos 340.285 -15.601 19.968 184 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_CHR) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_CHR) +end + +return entity diff --git a/scripts/zones/Marjami_Ravine/IDs.lua b/scripts/zones/Marjami_Ravine/IDs.lua index 054ccdee408..9183dd2ecb6 100644 --- a/scripts/zones/Marjami_Ravine/IDs.lua +++ b/scripts/zones/Marjami_Ravine/IDs.lua @@ -30,6 +30,8 @@ zones[xi.zone.MARJAMI_RAVINE] = SURPLUS_LOST_TO_AETHER = 7711, -- A surplus of kinetic unit[/s] has been lost to the aether. LEATHER_SCRAPS_STREWN = 7733, -- Leather scraps are strewn about the ground. HOMEPOINT_SET = 7876, -- Home point set! + LEARNS_SPELL = 8174, -- learns ! + UNCANNY_SENSATION = 8176, -- You are assaulted by an uncanny sensation. }, mob = { diff --git a/scripts/zones/Marjami_Ravine/npcs/Geomantic_Reservoir.lua b/scripts/zones/Marjami_Ravine/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..4b169e0b153 --- /dev/null +++ b/scripts/zones/Marjami_Ravine/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Marjami Ravine +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Haste +-- !pos 189.015 -40.000 241.025 266 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_HASTE) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_HASTE) +end + +return entity diff --git a/scripts/zones/Morimar_Basalt_Fields/IDs.lua b/scripts/zones/Morimar_Basalt_Fields/IDs.lua index 7b307dacd12..2a072d6887c 100644 --- a/scripts/zones/Morimar_Basalt_Fields/IDs.lua +++ b/scripts/zones/Morimar_Basalt_Fields/IDs.lua @@ -27,6 +27,8 @@ zones[xi.zone.MORIMAR_BASALT_FIELDS] = ARTIFACT_HAS_BEEN_CHARGED = 7608, -- Your artifact has been charged with kinetic unit[/s]. Your current stock of kinetic units totals . ARTIFACT_TERMINAL_VOLUME = 7609, -- Your artifact has been charged to its terminal volume of kinetic units. SURPLUS_LOST_TO_AETHER = 7610, -- A surplus of kinetic unit[/s] has been lost to the aether. + LEARNS_SPELL = 7855, -- learns ! + UNCANNY_SENSATION = 7857, -- You are assaulted by an uncanny sensation. HOMEPOINT_SET = 8171, -- Home point set! }, mob = diff --git a/scripts/zones/Morimar_Basalt_Fields/npcs/Geomantic_Reservoir.lua b/scripts/zones/Morimar_Basalt_Fields/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..09ceb838bea --- /dev/null +++ b/scripts/zones/Morimar_Basalt_Fields/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Morimar Basalt Fields +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Malaise +-- !pos -166.764 -1.377 -49.194 265 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_MALAISE) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_MALAISE) +end + +return entity diff --git a/scripts/zones/Morimar_Basalt_Fields/npcs/Geomantic_Reservoir_2.lua b/scripts/zones/Morimar_Basalt_Fields/npcs/Geomantic_Reservoir_2.lua new file mode 100644 index 00000000000..c306e6bdd34 --- /dev/null +++ b/scripts/zones/Morimar_Basalt_Fields/npcs/Geomantic_Reservoir_2.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Morimar Basalt Fields +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Fade +-- !pos 337.643 -16.745 305.544 265 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_FADE) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_FADE) +end + +return entity diff --git a/scripts/zones/Qufim_Island/IDs.lua b/scripts/zones/Qufim_Island/IDs.lua index 4a7f6f7ddaa..597e62ce135 100644 --- a/scripts/zones/Qufim_Island/IDs.lua +++ b/scripts/zones/Qufim_Island/IDs.lua @@ -40,6 +40,8 @@ zones[xi.zone.QUFIM_ISLAND] = ALREADY_POSSESS_TEMP = 8066, -- You already possess that temporary item. NO_COMBINATION = 8071, -- You were unable to enter a combination. REGIME_REGISTERED = 10347, -- New training regime registered! + LEARNS_SPELL = 12663, -- learns ! + UNCANNY_SENSATION = 12665, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 12672, -- 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. HOMEPOINT_SET = 12714, -- Home point set! }, diff --git a/scripts/zones/Qufim_Island/npcs/Geomantic_Reservoir.lua b/scripts/zones/Qufim_Island/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..710f57640e2 --- /dev/null +++ b/scripts/zones/Qufim_Island/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Qufim Island +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Attunement +-- !pos 185.136 20.528 -208.424 126 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_ATTUNEMENT) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_ATTUNEMENT) +end + +return entity diff --git a/scripts/zones/Rolanberry_Fields/IDs.lua b/scripts/zones/Rolanberry_Fields/IDs.lua index 935ea440dd7..b0697a92ee6 100644 --- a/scripts/zones/Rolanberry_Fields/IDs.lua +++ b/scripts/zones/Rolanberry_Fields/IDs.lua @@ -42,6 +42,8 @@ zones[xi.zone.ROLANBERRY_FIELDS] = VOIDWALKER_OBTAIN_KI = 10967, -- Obtained key item: ! AWAIT_YOUR_CHALLENGE = 12184, -- We await your challenge, traveler. LACK_LEGION_POINTS = 12221, -- It would seem that you lack the necessary amount of Legion points. + LEARNS_SPELL = 12269, -- learns ! + UNCANNY_SENSATION = 12271, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 12278, -- 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/Rolanberry_Fields/npcs/Geomantic_Reservoir.lua b/scripts/zones/Rolanberry_Fields/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..e6d25eb70b1 --- /dev/null +++ b/scripts/zones/Rolanberry_Fields/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Rolanberry Fields +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-MND +-- !pos 243.900 -31.194 -255.254 110 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_MND) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_MND) +end + +return entity diff --git a/scripts/zones/Sauromugue_Champaign/IDs.lua b/scripts/zones/Sauromugue_Champaign/IDs.lua index 5bf34a29a37..9e6bc173b39 100644 --- a/scripts/zones/Sauromugue_Champaign/IDs.lua +++ b/scripts/zones/Sauromugue_Champaign/IDs.lua @@ -44,9 +44,10 @@ zones[xi.zone.SAUROMUGUE_CHAMPAIGN] = VOIDWALKER_UPGRADE_KI_2 = 11004, -- The takes on a deeper, richer hue and becomes ! VOIDWALKER_BREAK_KI = 11005, -- The shatters into tiny fragments. VOIDWALKER_OBTAIN_KI = 11006, -- Obtained key item: ! + LEARNS_SPELL = 12504, -- learns ! + UNCANNY_SENSATION = 12506, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 12513, -- 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. }, - mob = { DEADLY_DODO_PH = diff --git a/scripts/zones/Sauromugue_Champaign/npcs/Geomantic_Reservoir.lua b/scripts/zones/Sauromugue_Champaign/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..59c3003624a --- /dev/null +++ b/scripts/zones/Sauromugue_Champaign/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Sauromugue Champaign +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Fury +-- !pos 384.047 45.466 384.224 120 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_FURY) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_FURY) +end + +return entity diff --git a/scripts/zones/Tahrongi_Canyon/IDs.lua b/scripts/zones/Tahrongi_Canyon/IDs.lua index 22566d4147a..bb75dd1bb74 100644 --- a/scripts/zones/Tahrongi_Canyon/IDs.lua +++ b/scripts/zones/Tahrongi_Canyon/IDs.lua @@ -56,9 +56,10 @@ zones[xi.zone.TAHRONGI_CANYON] = VOIDWALKER_UPGRADE_KI_2 = 11016, -- The takes on a deeper, richer hue and becomes ! VOIDWALKER_BREAK_KI = 11017, -- The shatters into tiny fragments. VOIDWALKER_OBTAIN_KI = 11018, -- Obtained key item: ! + LEARNS_SPELL = 11945, -- learns ! + UNCANNY_SENSATION = 11947, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11954, -- 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. }, - mob = { SERPOPARD_ISHTAR_PH = diff --git a/scripts/zones/Tahrongi_Canyon/npcs/Geomantic_Reservoir.lua b/scripts/zones/Tahrongi_Canyon/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..fad43895a29 --- /dev/null +++ b/scripts/zones/Tahrongi_Canyon/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Tahrongi Canyon +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Voidance +-- !pos 78.056 15.998 117.224 117 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_VOIDANCE) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_VOIDANCE) +end + +return entity diff --git a/scripts/zones/The_Eldieme_Necropolis/IDs.lua b/scripts/zones/The_Eldieme_Necropolis/IDs.lua index 8327ac24dda..f1f7e9f6135 100644 --- a/scripts/zones/The_Eldieme_Necropolis/IDs.lua +++ b/scripts/zones/The_Eldieme_Necropolis/IDs.lua @@ -57,6 +57,8 @@ zones[xi.zone.THE_ELDIEME_NECROPOLIS] = ALREADY_POSSESS_TEMP = 7599, -- You already possess that temporary item. NO_COMBINATION = 7604, -- You were unable to enter a combination. REGIME_REGISTERED = 9682, -- New training regime registered! + LEARNS_SPELL = 11600, -- learns ! + UNCANNY_SENSATION = 11602, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11636, -- 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. }, mob = diff --git a/scripts/zones/The_Eldieme_Necropolis/npcs/Geomantic_Reservoir.lua b/scripts/zones/The_Eldieme_Necropolis/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..526060ac049 --- /dev/null +++ b/scripts/zones/The_Eldieme_Necropolis/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: The Eldieme Necropolis +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Slip +-- !pos 10.804 -0.031 -18.927 195 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_SLIP) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_SLIP) +end + +return entity diff --git a/scripts/zones/Upper_Delkfutts_Tower/IDs.lua b/scripts/zones/Upper_Delkfutts_Tower/IDs.lua index a497dbd90eb..c391f4c7dc3 100644 --- a/scripts/zones/Upper_Delkfutts_Tower/IDs.lua +++ b/scripts/zones/Upper_Delkfutts_Tower/IDs.lua @@ -28,6 +28,8 @@ zones[xi.zone.UPPER_DELKFUTTS_TOWER] = ALREADY_POSSESS_TEMP = 7385, -- You already possess that temporary item. NO_COMBINATION = 7390, -- You were unable to enter a combination. REGIME_REGISTERED = 9468, -- New training regime registered! + LEARNS_SPELL = 10516, -- learns ! + UNCANNY_SENSATION = 10518, -- You are assaulted by an uncanny sensation. HOMEPOINT_SET = 10527, -- Home point set! }, mob = diff --git a/scripts/zones/Upper_Delkfutts_Tower/npcs/Geomantic_Reservoir.lua b/scripts/zones/Upper_Delkfutts_Tower/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..0ca46321605 --- /dev/null +++ b/scripts/zones/Upper_Delkfutts_Tower/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Upper Delkfutt's Tower +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Vex +-- !pos -358.799 -175.425 82.985 158 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_VEX) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_VEX) +end + +return entity diff --git a/scripts/zones/Xarcabard/IDs.lua b/scripts/zones/Xarcabard/IDs.lua index f353a2e3561..e782e3fcb0c 100644 --- a/scripts/zones/Xarcabard/IDs.lua +++ b/scripts/zones/Xarcabard/IDs.lua @@ -47,6 +47,8 @@ zones[xi.zone.XARCABARD] = VOIDWALKER_UPGRADE_KI_2 = 11490, -- The takes on a deeper, richer hue and becomes ! VOIDWALKER_BREAK_KI = 11491, -- The shatters into tiny fragments. VOIDWALKER_OBTAIN_KI = 11492, -- Obtained key item: ! + LEARNS_SPELL = 11541, -- learns ! + UNCANNY_SENSATION = 11543, -- You are assaulted by an uncanny sensation. COMMON_SENSE_SURVIVAL = 11550, -- 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. }, mob = diff --git a/scripts/zones/Xarcabard/npcs/Geomantic_Reservoir.lua b/scripts/zones/Xarcabard/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..b839828a2ef --- /dev/null +++ b/scripts/zones/Xarcabard/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Xarcabard +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Torpor +-- !pos -141.138 -34.642 127.197 112 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_TORPOR) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_TORPOR) +end + +return entity diff --git a/scripts/zones/Yahse_Hunting_Grounds/IDs.lua b/scripts/zones/Yahse_Hunting_Grounds/IDs.lua index 7bf66ff940c..8204e7dc7ec 100644 --- a/scripts/zones/Yahse_Hunting_Grounds/IDs.lua +++ b/scripts/zones/Yahse_Hunting_Grounds/IDs.lua @@ -25,6 +25,7 @@ zones[xi.zone.YAHSE_HUNTING_GROUNDS] = ARTIFACT_HAS_BEEN_CHARGED = 7627, -- Your artifact has been charged with kinetic unit[/s]. Your current stock of kinetic units totals . ARTIFACT_TERMINAL_VOLUME = 7628, -- Your artifact has been charged to its terminal volume of kinetic units. SURPLUS_LOST_TO_AETHER = 7629, -- A surplus of kinetic unit[/s] has been lost to the aether. + LEARNS_SPELL = 7864, -- learns ! UNCANNY_SENSATION = 7866, -- You are assaulted by an uncanny sensation. ENERGIES_COURSE = 7867, -- The arcane energies begin to course within your veins. MYSTICAL_WARMTH = 7868, -- You feel a mystical warmth welling up inside you! diff --git a/scripts/zones/Yahse_Hunting_Grounds/npcs/Geomantic_Reservoir.lua b/scripts/zones/Yahse_Hunting_Grounds/npcs/Geomantic_Reservoir.lua new file mode 100644 index 00000000000..8df1e156067 --- /dev/null +++ b/scripts/zones/Yahse_Hunting_Grounds/npcs/Geomantic_Reservoir.lua @@ -0,0 +1,26 @@ +----------------------------------- +-- Area: Yahse Hunting Grounds +-- NPC: Geomantic Reservoir +-- Unlocks: Geo-Wilt +-- !pos 412.263 4.161 111.199 260 +----------------------------------- +require("scripts/globals/geomantic_reservoir") +require("scripts/globals/spell_data") +----------------------------------- +local entity = {} + +entity.onTrade = function(player, npc, trade) +end + +entity.onTrigger = function(player, npc) + xi.geomanticReservoir.onTrigger(player, npc, xi.magic.spell.GEO_WILT) +end + +entity.onEventUpdate = function(player, csid, option) +end + +entity.onEventFinish = function(player, csid, option) + xi.geomanticReservoir.onEventFinish(player, csid, xi.magic.spell.GEO_WILT) +end + +return entity