1 minetest.after(3, function()
5 for name, def in pairs(minetest.registered_items) do
6 if def.description and not def.groups.not_in_creative_inventory then
7 local t = minetest.strip_colors(minetest.get_translated_string("", def.description))
8 local idx = t:find("\n")
13 if t ~= "" and not set[t] then
22 local f = io.open(minetest.get_worldpath() .. "/items.txt", "w")
23 f:write(table.concat(list, "\n") .. "\n")
26 minetest.request_shutdown()