furnaces
This commit is contained in:
parent
81bb3de449
commit
9e3041fb9b
1 changed files with 10 additions and 1 deletions
|
|
@ -12,11 +12,20 @@ if mods.modmashsplinterelectronics then
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods["space-age"] then
|
if mods["space-age"] then
|
||||||
-- If furnaces are treated as furnaces, we need 2 outputs
|
|
||||||
for i, entity in pairs(data.raw.furnace) do
|
for i, entity in pairs(data.raw.furnace) do
|
||||||
if entity.result_inventory_size ~= nil and entity.result_inventory_size < 2 and util.contains(entity.crafting_categories, "smelting") then
|
if entity.result_inventory_size ~= nil and entity.result_inventory_size < 2 and util.contains(entity.crafting_categories, "smelting") then
|
||||||
entity.result_inventory_size = 2
|
entity.result_inventory_size = 2
|
||||||
end
|
end
|
||||||
|
if util.contains(entity.crafting_categories, "smelting") then
|
||||||
|
if entity.energy_source and entity.energy_source.fuel_categories then
|
||||||
|
for i, cat in pairs(entity.energy_source.fuel_categories) do
|
||||||
|
if cat == "chemical" and not entity.energy_source.burnt_inventory_size then
|
||||||
|
entity.energy_source.burnt_inventory_size = 1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue