qa_block-cd2025/checks/no_item_description.lua
2016-11-05 04:33:08 +01:00

12 lines
333 B
Lua

-- Lists all items without description.
-- Setting the description is optional, but recommended.
for name, def in pairs(minetest.registered_items) do
-- Hand gets a free pass
if name ~= "" then
if (def.description == "" or def.description == nil) and def.groups.not_in_creative_inventory ~= 1 then
print(name)
end
end
end