mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-27 06:26:37 +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,
 | |
|     },
 | |
| }
 |