1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00

Add generic Aetheryte event script, document the interesting scenes

This also scripts the Central Meadows Aetheryte.
This commit is contained in:
Joshua Goins 2025-06-21 12:01:11 -04:00
parent 183555b858
commit 0c967f8a56
2 changed files with 15 additions and 0 deletions

View file

@ -65,6 +65,7 @@ registerEvent(131246, "common/GenericWarp.lua") -- Exit Bokairo Inn to Kugane
registerEvent(131312, "common/GenericWarp.lua") -- Exit The Pendants Personal Suite to Crystarium
registerEvent(131402, "common/GenericWarp.lua") -- Exit Andron to Old Sharlayan
registerEvent(131578, "common/GenericWarp.lua") -- Exit The For'ard Cabins to Tuliyollal
registerEvent(327683, "common/GenericAetheryte.lua") -- Bentbranch Meadows Aetheryte
registerEvent(720916, "custom/000/cmndefinnbed_00020.lua")
registerEvent(1179657, "tosort/Chocobokeep.lua") -- Chocobokeep in Central Shroud
registerEvent(1245185, "opening/OpeningLimsaLominsa.lua")

View file

@ -0,0 +1,14 @@
-- generic aetheryte, use this for all of the big aetherytes
--- scene 02 - aetheryte menu
--- scene 03 - "you have aethernet access" message and vfx
function onTalk(target, player)
--- param has to be 1 for the menu to even show up
player:play_scene(target, EVENT_ID, 00000, 8192, 1)
end
function onReturn(scene, results, player)
--- results [3] is 1 if the player requested to set it as their home point
player:finish_event(EVENT_ID)
end