-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
CatsEyeXI
authored
Jul 21, 2022
1 parent
ab990eb
commit a12722a
Showing
57 changed files
with
806 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
26 changes: 26 additions & 0 deletions
26
scripts/zones/Beaucedine_Glacier/npcs/Geomantic_Reservoir_2.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
scripts/zones/Behemoths_Dominion/npcs/Geomantic_Reservoir.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
scripts/zones/Bostaunieux_Oubliette/npcs/Geomantic_Reservoir.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
scripts/zones/Ceizak_Battlegrounds/npcs/Geomantic_Reservoir.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.