Add food_* groups to default edibles (#2089)
This commit is contained in:
parent
b0e55c52c8
commit
11b3407671
4 changed files with 6 additions and 6 deletions
|
@ -330,7 +330,7 @@ farming.register_plant = function(name, def)
|
|||
minetest.register_craftitem(":" .. mname .. ":" .. pname, {
|
||||
description = pname:gsub("^%l", string.upper),
|
||||
inventory_image = mname .. "_" .. pname .. ".png",
|
||||
groups = {flammable = 2},
|
||||
groups = def.groups or {flammable = 2},
|
||||
})
|
||||
|
||||
-- Register growing steps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue