1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 14:50:52 +02:00

tidy code

This commit is contained in:
tenplus1
2024-07-27 08:23:46 +01:00
parent 75e3f9fb42
commit b61998217d
39 changed files with 59 additions and 62 deletions

View File

@ -90,7 +90,7 @@ minetest.register_craftitem("farming:tofu", {
description = S("Tofu"),
inventory_image = "farming_tofu.png",
groups = {
food_tofu = 1, food_meat_raw = 1, flammable = 2, compostability = 65,
food_tofu = 1, food_meat_raw = 1, compostability = 65,
},
on_use = minetest.item_eat(3)
})
@ -110,7 +110,7 @@ minetest.register_craft({
minetest.register_craftitem("farming:tofu_cooked", {
description = S("Cooked Tofu"),
inventory_image = "farming_tofu_cooked.png",
groups = {food_meat = 1, flammable = 2, compostability = 65},
groups = {food_meat = 1, compostability = 65},
on_use = minetest.item_eat(6)
})