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

added seed=2 group to plantable food items

This commit is contained in:
TenPlus1
2019-12-02 10:23:20 +00:00
parent cc0fc2c763
commit 02d10c376e
23 changed files with 27 additions and 23 deletions

View File

@ -7,7 +7,7 @@ local S = farming.intllib
minetest.register_craftitem("farming:pea_pod", {
description = S("Pea Pod"),
inventory_image = "farming_pea_pod.png",
groups = {food_pea_pod = 1, flammable = 2},
groups = {seed = 2, food_pea_pod = 1, flammable = 2},
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "farming:pea_1")
end