30 lines
No EOL
1.2 KiB
Lua
30 lines
No EOL
1.2 KiB
Lua
require("prototypes.recipe-updates")
|
|
require("prototypes.technology-updates")
|
|
require("prototypes.productivity-limitations")
|
|
|
|
data.raw.recipe["copper-cable"].category = "electronics"
|
|
data.raw.recipe["rocket-control-unit"].category = "electronics"
|
|
|
|
if data.raw["recipe-category"]["chemical-furnace"] then
|
|
if data.raw.recipe["carbon"] then
|
|
data.raw.recipe["carbon"].category = "chemical-furnace"
|
|
end
|
|
end
|
|
|
|
if data.raw["recipe-category"]["mixing-furnace"] then
|
|
if data.raw.recipe["solder-alloy"] then
|
|
data.raw.recipe["solder-alloy"].category = "mixing-furnace"
|
|
end
|
|
if data.raw.recipe["solder-alloy-lead"] then
|
|
data.raw.recipe["solder-alloy-lead"].category = "mixing-furnace"
|
|
end
|
|
end
|
|
|
|
-- add Assembling Machine catagory.
|
|
bobmods.lib.machine.type_if_add_category("assembling-machine", "crafting", "crafting-machine")
|
|
|
|
-- add new electronics crafting categories
|
|
bobmods.lib.machine.type_if_add_category("character", "crafting", "electronics")
|
|
bobmods.lib.machine.type_if_add_category("god-controller", "crafting", "electronics")
|
|
bobmods.lib.machine.type_if_add_category("assembling-machine", "crafting", "electronics")
|
|
bobmods.lib.machine.type_if_add_category("assembling-machine", "crafting", "electronics-machine") |