Update to 2.0

This commit is contained in:
Simon Brodtmann 2025-10-05 10:19:11 +02:00
parent bed4d01744
commit ff675ca8d2
49 changed files with 1522 additions and 0 deletions

30
data-updates.lua Normal file
View file

@ -0,0 +1,30 @@
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")