forked from thunderdog1138/star_wars
Update 'mods/farming/init.lua'
This commit is contained in:
parent
b5157d08fe
commit
c91d1fd36d
|
@ -528,7 +528,7 @@ farming.register_plant = function(name, def)
|
||||||
-- Register harvest
|
-- Register harvest
|
||||||
minetest.register_craftitem(":" .. mname .. ":" .. pname, {
|
minetest.register_craftitem(":" .. mname .. ":" .. pname, {
|
||||||
description = pname:gsub("^%l", string.upper),
|
description = pname:gsub("^%l", string.upper),
|
||||||
inventory_image = mname .. "_" .. pname .. ".png",
|
inventory_image = pname .. ".png",
|
||||||
groups = def.groups or {flammable = 2},
|
groups = def.groups or {flammable = 2},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -569,7 +569,7 @@ farming.register_plant = function(name, def)
|
||||||
minetest.register_node(node_name, {
|
minetest.register_node(node_name, {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
tiles = {mname .. "_" .. pname .. "_" .. i .. ".png"},
|
tiles = {pname .. "_" .. i .. ".png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = def.paramtype2,
|
paramtype2 = def.paramtype2,
|
||||||
place_param2 = def.place_param2,
|
place_param2 = def.place_param2,
|
||||||
|
|
Loading…
Reference in New Issue