forked from mtcontrib/bitchange
		
	Add backwards-compatiblity, tidy config.default.txt
This commit is contained in:
		| @@ -1,5 +1,6 @@ | ||||
| -- General configuration - BitChange | ||||
| -- Do NOT change your settings in "config.default.txt" | ||||
| -- General configuration for the BitChange mod | ||||
| -- Do NOT modify "config.default.txt"! Instead, edit "bitchange_config.txt" | ||||
| -- inside your world's directory. Start the world once to generate the file. | ||||
|  | ||||
| bitchange.initial_give        = 10 | ||||
| -- Enable/Disable whole nodes | ||||
| @@ -10,7 +11,7 @@ bitchange.enable_toolrepair		= true | ||||
| bitchange.enable_donationbox  = true | ||||
|  | ||||
| -- Converting other ores to MineCoins | ||||
| -- Tin		moreores | ||||
| -- Tin		default | ||||
| -- Zinc		technic_worldgen | ||||
| -- Quartz	quartz | ||||
| bitchange.use_technic_zinc = false | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| default | ||||
| moreores? | ||||
| pipeworks? | ||||
| quartz? | ||||
| technic_worldgen? | ||||
|   | ||||
| @@ -23,6 +23,11 @@ if bitchange.use_quartz and minetest.get_modpath("quartz") then | ||||
| 	}) | ||||
| end | ||||
|  | ||||
| if bitchange.use_moreores_tin then | ||||
| 	bitchange.use_default_tin = true | ||||
| 	minetest.log("warning", "[bitchange] Loaded deprecated setting 'use_default_tin'") | ||||
| end | ||||
|  | ||||
| if bitchange.use_default_tin then | ||||
| 	minetest.register_craft({ | ||||
| 		output = "bitchange:mineninth 18", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user