Merge upstream fix for bones from https://notabug.org/TenPlus1/bonemeal

* bones must be cooked, add mising craft and stuff for
This commit is contained in:
mckaygerhard 2023-06-10 08:31:09 -04:00
commit f7cc131799
2 changed files with 5 additions and 3 deletions

View File

@ -20,7 +20,7 @@ Support for ethereal saplings/crops, farming redo crops and moretrees saplings a
This mod is named `bonemeal` and must be installed with such name.
This mod adds four new items into the game, bones which can be dug from normal
dirt which can be made into bonemeal, mulch which is is crafted using a tree
dirt which can be cooked into bonemeal, mulch which is is crafted using a tree
and 8x leaves, and fertiliser which is a mixture of them both.
Each item can be used on saplings and crops for a chance to grow them quicker

View File

@ -670,15 +670,17 @@ minetest.register_craft({
-- bonemeal (from bone)
minetest.register_craft({
type = "cooking",
output = "bonemeal:bonemeal 2",
recipe = {{"group:bone"}}
recipe = "group:bone",
cooktime = 4
})
-- bonemeal (from player bones)
if minetest.settings:get_bool("bonemeal.disable_deathbones_recipe") ~= true then
minetest.register_craft({
output = "bonemeal:bonemeal 4",
output = "bonemeal:bone 2",
recipe = {{"bones:bones"}}
})
end