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.get_translated_string("", def.description)
8 local idx = t:find("\n")
10 t = minetest.strip_colors(t)
16 if t ~= "" and not set[t] then
25 local f = io.open(minetest.get_worldpath() .. "/items.txt", "w")
26 f:write(table.concat(list, "\n") .. "\n")
29 minetest.request_shutdown()