Remove dual furnace recipes from basic crafts book
parent
08009fc027
commit
8b89ca252c
|
@ -57,10 +57,16 @@ function lottinventory.add_craft(input, output, needed_groups, forbidden_groups,
|
|||
end
|
||||
end
|
||||
end
|
||||
if not not_groups or not has_groups
|
||||
or (not_type and not_type == input.type) then
|
||||
if not not_groups or not has_groups then
|
||||
return
|
||||
end
|
||||
if not_type then
|
||||
for _, not_types in pairs(not_type) do
|
||||
if not_types == input.type then
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
if not groups then groups = {} end
|
||||
local c = {}
|
||||
c.width = input.width
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
local guides = {
|
||||
craft = {
|
||||
-- needed_groups, forbidden_groups, type, not_type, master
|
||||
{}, {"cook_crafts", "armor_use", "armor_crafts", "forbidden"}, nil, "cooking"
|
||||
{}, {"cook_crafts", "armor_use", "armor_crafts", "forbidden"}, nil, {"cooking", "dualfurn"}
|
||||
},
|
||||
cooking = {
|
||||
{"cook_crafts"}, {"forbidden", "armor_use", "armor_crafts"}, {"cooking", "dualfurn"}
|
||||
|
|
Loading…
Reference in New Issue