1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-12 14:47:46 +00:00
kawari/resources/scripts/actions/Teleport.lua
Joshua Goins 94ed036431 Add script for the Teleport action
This makes the Teleport action functional now, although it looks pretty
rough as it warps you instantly instead of waiting for the action to
actually finish.
2025-05-11 10:12:02 -04:00

11 lines
221 B
Lua

function doAction(player)
effects = EffectsBuilder()
-- get the aetheryte they requested
local id = player.teleport_query.aetheryte_id
-- warp there
player:warp_aetheryte(id)
return effects
end