james oil processing

This commit is contained in:
Brevven 2023-04-02 00:20:43 -07:00
parent 9ecb1b93b3
commit f61c5ec5c2
3 changed files with 18 additions and 4 deletions

View file

@ -10,10 +10,17 @@ local util = require("__bztungsten__.data-util");
-- Only burners can make tungsten carbide in vanilla
for i, entity in pairs(data.raw.furnace) do
if entity.energy_source.type == "burner" then
if entity.name == "double-steel-furnace" then
table.insert(entity.crafting_categories,"double-smelting-carbon")
else
table.insert(entity.crafting_categories,"smelting-carbon")
if entity.name == "advanced-carbon-furnace" then
table.insert(entity.crafting_categories, "smelting-carbon")
end
for j, category in pairs(entity.crafting_categories) do
if category == "smelting" then
if entity.name == "double-steel-furnace" then
table.insert(entity.crafting_categories, "double-smelting-carbon")
else
table.insert(entity.crafting_categories, "smelting-carbon")
end
end
end
end
end