mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2025-07-12 05:10:29 +02:00
Code tweak and tidy
This commit is contained in:
12
mods.lua
12
mods.lua
@ -1,4 +1,16 @@
|
||||
|
||||
|
||||
-- craft bones from animalmaterials into bonemeal
|
||||
if minetest.get_modpath("animalmaterials") then
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "bonemeal:bonemeal 2",
|
||||
recipe = {"animalmaterials:bone"},
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
if farming and farming.mod and farming.mod == "redo" then
|
||||
|
||||
bonemeal:add_crop({
|
||||
|
Reference in New Issue
Block a user