forked from mtcontrib/bonemeal
add 'bonemeal.disable_deathbones_recipe' setting
This commit is contained in:
parent
8ccf4a591a
commit
1935d348c1
13
init.lua
13
init.lua
@ -677,10 +677,13 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- bonemeal (from player bones)
|
-- bonemeal (from player bones)
|
||||||
minetest.register_craft({
|
if minetest.settings:get_bool("bonemeal.disable_deathbones_recipe") ~= true then
|
||||||
output = "bonemeal:bonemeal 4",
|
|
||||||
recipe = {{"bones:bones"}}
|
minetest.register_craft({
|
||||||
})
|
output = "bonemeal:bonemeal 4",
|
||||||
|
recipe = {{"bones:bones"}}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
-- bonemeal (from coral skeleton)
|
-- bonemeal (from coral skeleton)
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -740,4 +743,4 @@ if minetest.get_modpath("lucky_block") then
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
print ("[MOD] bonemeal loaded")
|
print ("[MOD] Bonemeal loaded")
|
||||||
|
2
settingtypes.txt
Normal file
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
|
Loading…
Reference in New Issue
Block a user