1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-24 23:30:57 +00:00
openmw/files/data/scripts/map_extractor/player.lua

18 lines
No EOL
464 B
Lua

local self = require("openmw.self")
local core = require("openmw.core")
local types = require("openmw.types")
return {
engineHandlers = {
onTeleported = function ()
core.sendGlobalEvent("builtin:map_extractor:teleport", self)
end
},
eventHandlers = {
["builtin:map_extractor:updateMenu"] = function (data)
types.Player.sendMenuEvent(self, "builtin:map_extractor:updateMenu", data)
end,
}
}