diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-31 16:32:17 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-31 16:32:17 +0100 |
commit | c4e88fc332d107e050b8a3111b21e7f9fc04fad6 (patch) | |
tree | 7605f6aefbf442faa4609bf1078484d60506103d /init.lua | |
parent | abc54e9d5af1837dadc20714ec17f49826bb4314 (diff) |
added custom groups to register_plant food craftitem
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -513,6 +513,7 @@ farming.register_plant = function(name, def) minetest.register_craftitem(":" .. mname .. ":" .. pname, { description = pname:gsub("^%l", string.upper), inventory_image = mname .. "_" .. pname .. ".png", + groups = def.groups or {flammable = 2}, }) -- Register growing steps |