forked from mtcontrib/tsm_mines
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			nalc-1.2.0
			...
			e696e08de3
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e696e08de3 | |||
| 1ddf3c5ed3 | 
							
								
								
									
										18
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								init.lua
									
									
									
									
									
								
							| @@ -1,16 +1,10 @@ | ||||
| local MINE_DEEP_MIN = tonumber(minetest.setting_get("mines_deep_min")) | ||||
| local MINE_DEEP_MAX = tonumber(minetest.setting_get("mines_deep_max")) | ||||
| local MINE_FACTOR = tonumber(minetest.setting_get("mines_spawnfactor")) | ||||
| local MINE_DEEP_MIN = tonumber(minetest.settings:get("mines_deep_min")) or -64 | ||||
| local MINE_DEEP_MAX = tonumber(minetest.settings:get("mines_deep_max")) or -380 | ||||
| local MINE_FACTOR = tonumber(minetest.settings:get("mines_spawnfactor")) or 1.5 | ||||
|  | ||||
| if not MINE_DEEP_MIN then | ||||
| 	MINE_DEEP_MIN = -64 | ||||
| end | ||||
| if not MINE_DEEP_MAX then | ||||
| 	MINE_DEEP_MAX = -13800 | ||||
| end | ||||
| if not MINE_FACTOR then | ||||
| 	MINE_FACTOR = 1.5 | ||||
| end | ||||
| minetest.log("info", "Mod \"tsm_mines\" set MINE_DEEP_MIN to "..MINE_DEEP_MIN) | ||||
| minetest.log("info", "Mod \"tsm_mines\" set MINE_DEEP_MAX to "..MINE_DEEP_MAX) | ||||
| minetest.log("info", "Mod \"tsm_mines\" set MINE_FACTOR to "..MINE_FACTOR) | ||||
|  | ||||
| minetest.register_node("tsm_mines:dummy", { | ||||
| 	description = "tsm_mines dummy node", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user