mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			451 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			11 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,
 | 
						|
    },
 | 
						|
}
 |