1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-12 14:47:46 +00:00
kawari/resources/scripts/warp/WarpInnLimsaLominsa.lua
Joshua Goins fec6665d8d Make Limsa Inn warp functional
This was surprisingly easy, so now this works. You can't exit the inn
yet, though!
2025-05-05 22:04:39 -04:00

17 lines
395 B
Lua

--- TODO: find a way to hardcode it this way
EVENT_ID = 131079
function onTalk(target, player)
-- has inn access
player:play_scene(target, EVENT_ID, 00001, 8192, 0)
-- doesn't have inn access
--player:play_scene(actorId, EVENT_ID, 00002, 8192, 0)
end
function onReturn(results, player)
if results[1] == 1 then
-- get warp
player:warp(EVENT_ID)
end
end