diff --git a/init.lua b/init.lua index a4052d9..3bd5c80 100644 --- a/init.lua +++ b/init.lua @@ -677,10 +677,13 @@ minetest.register_craft({ }) -- bonemeal (from player bones) -minetest.register_craft({ - output = "bonemeal:bonemeal 4", - recipe = {{"bones:bones"}} -}) +if minetest.settings:get_bool("bonemeal.disable_deathbones_recipe") ~= true then + + minetest.register_craft({ + output = "bonemeal:bonemeal 4", + recipe = {{"bones:bones"}} + }) +end -- bonemeal (from coral skeleton) minetest.register_craft({ @@ -740,4 +743,4 @@ if minetest.get_modpath("lucky_block") then end -print ("[MOD] bonemeal loaded") +print ("[MOD] Bonemeal loaded") diff --git a/settingtypes.txt b/settingtypes.txt new file mode 100644 index 0000000..816776f --- /dev/null +++ b/settingtypes.txt @@ -0,0 +1,2 @@ +# Disable recipe for bones:bones to craft into bonemeal +bonemeal.disable_deathbones_recipe (Disable recipe for death bones into bonemeal) bool false