1
0
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:
tenplus1 2024-09-07 08:09:35 +01:00
parent 8dc7d4188e
commit 2f1a233441

View File

@ -607,6 +607,7 @@ farming.register_plant = function(name, def)
end
minetest.register_node(node_name, {
description = pname:gsub("^%l", string.upper) .. " Crop",
drawtype = "plantlike",
waving = 1,
tiles = {mname .. "_" .. pname .. "_" .. i .. ".png"},