1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00
kawari/resources/scripts/common/GenericAetheryte.lua
2025-06-21 12:01:11 -04:00

14 lines
459 B
Lua

-- 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