mirror of
				https://github.com/mt-mods/xcompat.git
				synced 2025-10-31 00:05:39 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			376 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			376 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| 
 | |
| -- emerge a part of the world (basic smoketest)
 | |
| mtt.emerge_area({ x=0, y=0, z=0 }, { x=10, y=10, z=10 })
 | |
| 
 | |
| -- check nodelist
 | |
| local mtt_nodelist = minetest.settings:get("mtt_nodelist")
 | |
| if mtt_nodelist then
 | |
|     -- nodelist specified, check if all the required nodes are present
 | |
|     mtt.validate_nodenames(minetest.get_modpath("xcompat") .. "/test/nodelist/" .. mtt_nodelist)
 | |
| end |