add 'bonemeal.disable_deathbones_recipe' setting

This commit is contained in:
tenplus1 2023-01-11 18:55:21 +00:00
parent 8ccf4a591a
commit 1935d348c1
2 changed files with 10 additions and 5 deletions

@ -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")

2
settingtypes.txt Normal file

@ -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