mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
12 lines
451 B
Lua
12 lines
451 B
Lua
local world = require('openmw.world')
|
|
|
|
return {
|
|
eventHandlers = {
|
|
Pause = function(tag) world.pause(tag) end,
|
|
Unpause = function(tag) world.unpause(tag) end,
|
|
SetGameTimeScale = function(scale) world.setGameTimeScale(scale) end,
|
|
SetSimulationTimeScale = function(scale) world.setSimulationTimeScale(scale) end,
|
|
SpawnVfx = function(data) world.vfx.spawn(data.model, data.position, data.options) end,
|
|
},
|
|
}
|