mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-12-27 03:00:20 +01:00
add desc to crop stages (api only)
This commit is contained in:
parent
8dc7d4188e
commit
2f1a233441
1
init.lua
1
init.lua
@ -607,6 +607,7 @@ farming.register_plant = function(name, def)
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node(node_name, {
|
minetest.register_node(node_name, {
|
||||||
|
description = pname:gsub("^%l", string.upper) .. " Crop",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
tiles = {mname .. "_" .. pname .. "_" .. i .. ".png"},
|
tiles = {mname .. "_" .. pname .. "_" .. i .. ".png"},
|
||||||
|
Loading…
Reference in New Issue
Block a user