1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 23:01:00 +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

@ -48,7 +48,7 @@ minetest.register_craftitem("farming:sunflower_seeds_toasted", {
description = S("Toasted Sunflower Seeds"),
inventory_image = "farming_sunflower_seeds_toasted.png",
groups = {
food_sunflower_seeds_toasted = 1, flammable = 2, compostability = 65
food_sunflower_seeds_toasted = 1, compostability = 65
},
on_use = minetest.item_eat(1)
})
@ -104,7 +104,7 @@ minetest.register_craftitem("farming:sunflower_bread", {
description = S("Sunflower Seed Bread"),
inventory_image = "farming_sunflower_bread.png",
on_use = minetest.item_eat(8),
groups = {food_bread = 1, flammable = 2}
groups = {food_bread = 1}
})
farming.add_eatable("farming:sunflower_bread", 8)