Craftguide: Show recipes hidden in creative inv.
parent
90298821a3
commit
1fc2ba6879
|
@ -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 New Issue