mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 23:01:00 +02:00
tidy code
This commit is contained in:
@ -9,7 +9,7 @@ minetest.register_craftitem("farming:pea_pod", {
|
||||
description = S("Pea Pod"),
|
||||
inventory_image = "farming_pea_pod.png",
|
||||
groups = {
|
||||
compostability = 48, seed = 2, food_peas = 1, food_pea_pod = 1, flammable = 2
|
||||
compostability = 48, seed = 2, food_peas = 1, food_pea_pod = 1
|
||||
},
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:pea_1")
|
||||
@ -26,7 +26,7 @@ minetest.register_alias("farming:peas", "farming:pea_pod")
|
||||
minetest.register_craftitem("farming:pea_soup", {
|
||||
description = S("Pea Soup"),
|
||||
inventory_image = "farming_pea_soup.png",
|
||||
groups = {flammable = 2, compostability = 65},
|
||||
groups = {compostability = 65},
|
||||
on_use = minetest.item_eat(4, a.bowl)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user