From 2f1a233441e45b85fb576c89b0b8d816401febd6 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sat, 7 Sep 2024 08:09:35 +0100 Subject: [PATCH] add desc to crop stages (api only) --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 7d17119..09720c9 100644 --- a/init.lua +++ b/init.lua @@ -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"},