mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-24 23:30:57 +00:00
18 lines
No EOL
464 B
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,
|
|
}
|
|
} |