mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Craftguide: Show recipes hidden in creative inv.
This commit is contained in:
parent
90298821a3
commit
1fc2ba6879
1 changed files with 1 additions and 2 deletions
|
@ -865,8 +865,7 @@ local function get_init_items()
|
||||||
local c = 0
|
local c = 0
|
||||||
for name, def in pairs(reg_items) do
|
for name, def in pairs(reg_items) do
|
||||||
local is_fuel = cache_fuel(name)
|
local is_fuel = cache_fuel(name)
|
||||||
if not (def.groups.not_in_craft_guide == 1 or
|
if not (def.groups.not_in_craft_guide == 1) and
|
||||||
def.groups.not_in_creative_inventory == 1) and
|
|
||||||
def.description and def.description ~= "" and
|
def.description and def.description ~= "" and
|
||||||
(cache_recipes(name) or is_fuel) then
|
(cache_recipes(name) or is_fuel) then
|
||||||
c = c + 1
|
c = c + 1
|
||||||
|
|
Loading…
Reference in a new issue