Update 'mods/farming/init.lua'

This commit is contained in:
thunderdog1138 2020-07-28 14:42:05 +00:00
parent b5157d08fe
commit c91d1fd36d
1 changed files with 2 additions and 2 deletions

View File

@ -528,7 +528,7 @@ farming.register_plant = function(name, def)
-- Register harvest
minetest.register_craftitem(":" .. mname .. ":" .. pname, {
description = pname:gsub("^%l", string.upper),
inventory_image = mname .. "_" .. pname .. ".png",
inventory_image = pname .. ".png",
groups = def.groups or {flammable = 2},
})
@ -569,7 +569,7 @@ farming.register_plant = function(name, def)
minetest.register_node(node_name, {
drawtype = "plantlike",
waving = 1,
tiles = {mname .. "_" .. pname .. "_" .. i .. ".png"},
tiles = {pname .. "_" .. i .. ".png"},
paramtype = "light",
paramtype2 = def.paramtype2,
place_param2 = def.place_param2,