add 'bonemeal.disable_deathbones_recipe' setting
parent
8ccf4a591a
commit
1935d348c1
9
init.lua
9
init.lua
|
@ -677,10 +677,13 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
-- bonemeal (from player bones)
|
||||
minetest.register_craft({
|
||||
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")
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue