Ignore items in group 'not_in_craft_guide'
This commit is contained in:
parent
83ab26fe4d
commit
c7868a2952
3
api.lua
3
api.lua
@ -54,7 +54,8 @@ cg.build_item_list = function()
|
||||
|
||||
for item, def in pairs(minetest.registered_items) do
|
||||
if def.description and def.description ~= "" and
|
||||
minetest.get_item_group(item, "not_in_creative_inventory") == 0 then
|
||||
minetest.get_item_group(item, "not_in_creative_inventory") == 0 and
|
||||
minetest.get_item_group(item, "not_in_craft_guide") == 0 then
|
||||
table.insert(cg.items_all.list, item)
|
||||
cg.crafts[item] = minetest.get_all_craft_recipes(item) or {}
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user