1
0
mirror of https://codeberg.org/tenplus1/bonemeal.git synced 2024-11-13 19:50:16 +01:00

added {bone=1} group to item and recipes

This commit is contained in:
tenplus1 2020-05-03 20:48:12 +01:00
parent 9c335b0029
commit 48718b60f7

View File

@ -569,7 +569,8 @@ minetest.register_craftitem("bonemeal:fertiliser", {
-- bone
minetest.register_craftitem("bonemeal:bone", {
description = S("Bone"),
inventory_image = "bonemeal_bone.png"
inventory_image = "bonemeal_bone.png",
groups = {bone = 1}
})
-- gelatin powder
@ -589,7 +590,7 @@ minetest.register_craftitem("bonemeal:gelatin_powder", {
minetest.register_craft({
output = "bonemeal:gelatin_powder 4",
recipe = {
{"bonemeal:bone", "bonemeal:bone", "bonemeal:bone"},
{"group:bone", "group:bone", "group:bone"},
{"bucket:bucket_water", "bucket:bucket_water", "bucket:bucket_water"},
{"bucket:bucket_water", "default:torch", "bucket:bucket_water"},
},
@ -602,7 +603,7 @@ minetest.register_craft({
minetest.register_craft({
type = "shapeless",
output = "bonemeal:bonemeal 2",
recipe = {"bonemeal:bone"}
recipe = {"group:bone"}
})
-- bonemeal (from player bones)