From 754b14cd0016f2e0c7b0082b9817cb88e118b120 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 5 Oct 2025 14:21:33 +0200 Subject: [PATCH 01/17] Fix file paths --- MDbobelectronics2/prototypes/category.lua | 2 +- MDbobelectronics2/prototypes/chemicals.lua | 4 +-- MDbobelectronics2/prototypes/electronics.lua | 36 +++++++++---------- MDbobelectronics2/prototypes/resource.lua | 8 ++--- .../prototypes/technology-updates.lua | 6 ++-- MDbobelectronics2/prototypes/technology.lua | 2 +- 6 files changed, 29 insertions(+), 29 deletions(-) diff --git a/MDbobelectronics2/prototypes/category.lua b/MDbobelectronics2/prototypes/category.lua index f6559f6..55f99ac 100644 --- a/MDbobelectronics2/prototypes/category.lua +++ b/MDbobelectronics2/prototypes/category.lua @@ -17,7 +17,7 @@ data:extend( name = "bob-intermediate-products", order = "c-i", inventory_order = "a-c", - icon = "__MDbobelectronics__/graphics/icons/technology/intermediates.png", + icon = "__MDbobelectronics2__/graphics/icons/technology/intermediates.png", icon_size = 64, }, diff --git a/MDbobelectronics2/prototypes/chemicals.lua b/MDbobelectronics2/prototypes/chemicals.lua index 89aa677..141385b 100644 --- a/MDbobelectronics2/prototypes/chemicals.lua +++ b/MDbobelectronics2/prototypes/chemicals.lua @@ -3,7 +3,7 @@ data:extend( { type = "fluid", name = "ferric-chloride-solution", - icon = "__MDbobelectronics__/graphics/icons/ferric-chloride-solution.png", + icon = "__MDbobelectronics2__/graphics/icons/ferric-chloride-solution.png", icon_size = 32, default_temperature = 25, heat_capacity = "1kJ", @@ -18,7 +18,7 @@ data:extend( { type = "recipe", name = "ferric-chloride-solution", - icon = "__MDbobelectronics__/graphics/icons/ferric-chloride-solution.png", + icon = "__MDbobelectronics2__/graphics/icons/ferric-chloride-solution.png", icon_size = 32, subgroup = "bob-resource-chemical", order = "x[fluid-chemistry]-a[ferric-chloride-solution]", diff --git a/MDbobelectronics2/prototypes/electronics.lua b/MDbobelectronics2/prototypes/electronics.lua index e469dba..4cc6323 100644 --- a/MDbobelectronics2/prototypes/electronics.lua +++ b/MDbobelectronics2/prototypes/electronics.lua @@ -4,7 +4,7 @@ if data.raw.item["tin-plate"] then { type = "item", name = "tinned-copper-cable", - icon = "__MDbobelectronics__/graphics/icons/tinned-copper-cable.png", + icon = "__MDbobelectronics2__/graphics/icons/tinned-copper-cable.png", icon_size = 32, subgroup = "bob-electronic-components", order = "0-a1[tinned-copper-cable]", @@ -34,7 +34,7 @@ data:extend( { type = "item", name = "insulated-cable", - icon = "__MDbobelectronics__/graphics/icons/insulated-cable.png", + icon = "__MDbobelectronics2__/graphics/icons/insulated-cable.png", icon_size = 32, subgroup = "bob-electronic-components", order = "0-a2[insulated-cable]", @@ -64,7 +64,7 @@ if data.raw.item["gold-plate"] then { type = "item", name = "gilded-copper-cable", - icon = "__MDbobelectronics__/graphics/icons/gilded-copper-cable.png", + icon = "__MDbobelectronics2__/graphics/icons/gilded-copper-cable.png", icon_size = 32, subgroup = "bob-electronic-components", order = "0-a3[gilded-copper-cable]", @@ -95,7 +95,7 @@ if data.raw.item["solder-alloy"] then { type = "item", name = "solder", - icon = "__MDbobelectronics__/graphics/icons/solder.png", + icon = "__MDbobelectronics2__/graphics/icons/solder.png", icon_size = 32, subgroup = "bob-electronic-components", order = "0-a4[solder]", @@ -127,7 +127,7 @@ data:extend( { type = "item", name = "basic-electronic-components", - icon = "__MDbobelectronics__/graphics/icons/basic-electronic-components.png", + icon = "__MDbobelectronics2__/graphics/icons/basic-electronic-components.png", icon_size = 128, subgroup = "bob-electronic-components", order = "0-b1[basic-electronic-components]", @@ -157,7 +157,7 @@ data:extend( { type = "item", name = "BOBMD-electronic-components", - icon = "__MDbobelectronics__/graphics/icons/electronic-components.png", + icon = "__MDbobelectronics2__/graphics/icons/electronic-components.png", icon_size = 128, subgroup = "bob-electronic-components", order = "0-b2[electronic-components]", @@ -187,7 +187,7 @@ data:extend( { type = "item", name = "intergrated-electronics", - icon = "__MDbobelectronics__/graphics/icons/integrated-electronics.png", + icon = "__MDbobelectronics2__/graphics/icons/integrated-electronics.png", icon_size = 128, subgroup = "bob-electronic-components", order = "0-b3[integrated-electronics]", @@ -218,7 +218,7 @@ data:extend( { type = "item", name = "processing-electronics", - icon = "__MDbobelectronics__/graphics/icons/cpu.png", + icon = "__MDbobelectronics2__/graphics/icons/cpu.png", icon_size = 128, subgroup = "bob-electronic-components", order = "0-b4[cpu]", @@ -248,7 +248,7 @@ data:extend( { type = "item", name = "phenolic-board", - icon = "__MDbobelectronics__/graphics/icons/phenolic-board.png", + icon = "__MDbobelectronics2__/graphics/icons/phenolic-board.png", icon_size = 128, subgroup = "bob-boards", order = "c-a2[phenolic-board]", @@ -276,7 +276,7 @@ data:extend( { type = "item", name = "fibreglass-board", - icon = "__MDbobelectronics__/graphics/icons/fibreglass-board.png", + icon = "__MDbobelectronics2__/graphics/icons/fibreglass-board.png", icon_size = 128, subgroup = "bob-boards", order = "c-a3[fibreglass-board]", @@ -304,7 +304,7 @@ data:extend( { type = "item", name = "basic-circuit-board", - icon = "__MDbobelectronics__/graphics/icons/basic-circuit-board.png", + icon = "__MDbobelectronics2__/graphics/icons/basic-circuit-board.png", icon_size = 128, subgroup = "bob-boards", order = "c-b1[basic-circuit-board]", @@ -333,7 +333,7 @@ data:extend( { type = "item", name = "circuit-board", - icon = "__MDbobelectronics__/graphics/icons/circuit-board.png", + icon = "__MDbobelectronics2__/graphics/icons/circuit-board.png", icon_size = 128, subgroup = "bob-boards", order = "c-b2[circuit-board]", @@ -364,7 +364,7 @@ data:extend( { type = "item", name = "superior-circuit-board", - icon = "__MDbobelectronics__/graphics/icons/superior-circuit-board.png", + icon = "__MDbobelectronics2__/graphics/icons/superior-circuit-board.png", icon_size = 128, subgroup = "bob-boards", order = "c-b2[superior-circuit-board]", @@ -395,7 +395,7 @@ data:extend( { type = "item", name = "multi-layer-circuit-board", - icon = "__MDbobelectronics__/graphics/icons/multi-layer-circuit-board.png", + icon = "__MDbobelectronics2__/graphics/icons/multi-layer-circuit-board.png", icon_size = 128, subgroup = "bob-boards", order = "c-b3[multi-layer-circuit-board]", @@ -427,7 +427,7 @@ data:extend( { type = "item", name = "electronic-circuit", - icon = "__MDbobelectronics__/graphics/icons/basic-electronic-circuit-board.png", + icon = "__MDbobelectronics2__/graphics/icons/basic-electronic-circuit-board.png", icon_size = 128, subgroup = "bob-electronic-boards", order = "c-c1[basic-electronic-circuit-board]", @@ -457,7 +457,7 @@ data:extend( { type = "item", name = "advanced-circuit", - icon = "__MDbobelectronics__/graphics/icons/electronic-circuit-board.png", + icon = "__MDbobelectronics2__/graphics/icons/electronic-circuit-board.png", icon_size = 128, subgroup = "bob-electronic-boards", order = "c-c2[electronic-circuit-board]", @@ -488,7 +488,7 @@ data:extend( { type = "item", name = "processing-unit", - icon = "__MDbobelectronics__/graphics/icons/electronic-logic-board.png", + icon = "__MDbobelectronics2__/graphics/icons/electronic-logic-board.png", icon_size = 128, subgroup = "bob-electronic-boards", order = "c-c3[electronic-logic-board]", @@ -520,7 +520,7 @@ data:extend( { type = "item", name = "advanced-processing-unit", - icon = "__MDbobelectronics__/graphics/icons/electronic-processing-board.png", + icon = "__MDbobelectronics2__/graphics/icons/electronic-processing-board.png", icon_size = 128, subgroup = "bob-electronic-boards", order = "c-c4[electronic-processing-board]", diff --git a/MDbobelectronics2/prototypes/resource.lua b/MDbobelectronics2/prototypes/resource.lua index a9d375d..5666982 100644 --- a/MDbobelectronics2/prototypes/resource.lua +++ b/MDbobelectronics2/prototypes/resource.lua @@ -3,7 +3,7 @@ data:extend( { type = "item", name = "resin", - icon = "__MDbobelectronics__/graphics/icons/resin.png", + icon = "__MDbobelectronics2__/graphics/icons/resin.png", icon_size = 32, subgroup = "bob-resource-chemical", order = "f[resin]", @@ -53,7 +53,7 @@ data:extend( { type = "item", name = "rubber", - icon = "__MDbobelectronics__/graphics/icons/rubber.png", + icon = "__MDbobelectronics2__/graphics/icons/rubber.png", icon_size = 32, subgroup = "bob-resource-chemical", order = "f[rubber]", @@ -84,7 +84,7 @@ if not data.raw.item["silicon-wafer"] then { type = "item", name = "silicon-wafer", - icon = "__MDbobelectronics__/graphics/icons/silicon-wafer.png", + icon = "__MDbobelectronics2__/graphics/icons/silicon-wafer.png", icon_size = 32, subgroup = "bob-resource-chemical", order = "f[silicon-wafer]", @@ -121,7 +121,7 @@ if data.raw.item["tin-plate"] then { type = "item", name = "solder-alloy", - icon = "__MDbobelectronics__/graphics/icons/solder-plate.png", + icon = "__MDbobelectronics2__/graphics/icons/solder-plate.png", icon_size = 32, subgroup = "bob-alloy", order = "c-b-h[solder]", diff --git a/MDbobelectronics2/prototypes/technology-updates.lua b/MDbobelectronics2/prototypes/technology-updates.lua index 7229347..f68e0a7 100644 --- a/MDbobelectronics2/prototypes/technology-updates.lua +++ b/MDbobelectronics2/prototypes/technology-updates.lua @@ -94,9 +94,9 @@ if data.raw.technology["ceramics"] then end -data.raw.technology["electronics"].icon = "__MDbobelectronics__/graphics/icons/technology/electronics.png" -data.raw.technology["advanced-circuit"].icon = "__MDbobelectronics__/graphics/icons/technology/advanced-electronics.png" -data.raw.technology["processing-unit"].icon = "__MDbobelectronics__/graphics/icons/technology/advanced-electronics-2.png" +data.raw.technology["electronics"].icon = "__MDbobelectronics2__/graphics/icons/technology/electronics.png" +data.raw.technology["advanced-circuit"].icon = "__MDbobelectronics2__/graphics/icons/technology/advanced-electronics.png" +data.raw.technology["processing-unit"].icon = "__MDbobelectronics2__/graphics/icons/technology/advanced-electronics-2.png" data.raw.technology["electronics"].icon_size = 128 data.raw.technology["advanced-circuit"].icon_size = 128 diff --git a/MDbobelectronics2/prototypes/technology.lua b/MDbobelectronics2/prototypes/technology.lua index e75f796..6bbb68a 100644 --- a/MDbobelectronics2/prototypes/technology.lua +++ b/MDbobelectronics2/prototypes/technology.lua @@ -3,7 +3,7 @@ data:extend( { type = "technology", name = "advanced-electronics-3", - icon = "__MDbobelectronics__/graphics/icons/technology/advanced-electronics-3.png", + icon = "__MDbobelectronics2__/graphics/icons/technology/advanced-electronics-3.png", icon_size = 128, prerequisites = { From d43b11c40e562eb832af78a66e099d9cd6ac6ac9 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 5 Oct 2025 14:22:35 +0200 Subject: [PATCH 02/17] 4.0.1 --- MDbobelectronics2/changelog.txt | 50 ++++----------------------------- MDbobelectronics2/info.json | 2 +- 2 files changed, 7 insertions(+), 45 deletions(-) diff --git a/MDbobelectronics2/changelog.txt b/MDbobelectronics2/changelog.txt index e4b63b7..52ce0d6 100644 --- a/MDbobelectronics2/changelog.txt +++ b/MDbobelectronics2/changelog.txt @@ -1,48 +1,10 @@ --------------------------------------------------------------------------------------------------- +Version: 4.0.1 +Date: 05.10.2025 + Bug Fixes: + - Fix file paths after renaming mod +--------------------------------------------------------------------------------------------------- Version: 4.0.0 Date: 05.10.2025 Changes: - Update to Factorio 2.0 ---------------------------------------------------------------------------------------------------- -Version: 3.6.0 -Date: 07.07.2022 - Changes: - - Updated to space-exploration 0.6.65 - - Updated to space-exploration-postprocess 0.6.13 - - Updated to Krastorio2 1.3.2 - - Technology prerequisites of advanced-electronics-3 changed to fit in the new progression - - silicon-wafer stacksize from 500 to 200, matching new SE requirement - - moved back circuit recipes in the GUI where they should be, in their own tab - - se-processing-unit-holmium recipe ingredients from electronic-circuit 20 into 10 (same as vanilla SE) ---------------------------------------------------------------------------------------------------- -Version: 3.1.0 -Date: 20.11.2021 - Changes: - - small fix ---------------------------------------------------------------------------------------------------- -Version: 3.0.0 -Date: 12.11.2021 - Changes: - - code restructuring - - recipe ingredient/result amount now alligned to installed mods (Krastorio/Space Exploration) - - recipes have same ingredients, no need to rebuild ---------------------------------------------------------------------------------------------------- -Version: 2.5.0 -Date: 17.06.2021 - Changes: - - more compatibility - - Deadlocks stacking initial support - - full stacking support and stacked recipes with (soon) to be released mod ---------------------------------------------------------------------------------------------------- -Version: 2.1.1 -Date: 02.02.2021 - Changes: - - mod now works with Space exploration and or krastorio - - additional support for titanium, silicon, lead mods - - every recipe added by mod in 1 sorted tab - - optional setting (default ON) making circuit's recipe use previous tier ---------------------------------------------------------------------------------------------------- -Version: 1.1.3 -Date: 26.01.2021 - Bugfixes: - - Minor changes to data-updates to avoid a crash. + - Update to Factorio 2.0 diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index 763840d..d555c02 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -1,6 +1,6 @@ { "name": "MDbobelectronics2", - "version": "4.0.0", + "version": "4.0.1", "factorio_version": "2.0", "title": "Bob's Electronics SE KR for 2.0", "author": "Bobingabout, MdRuz, cackling fiend", From 7a0a71f583cc93a177e2d1cecc497e8f39ba9ceb Mon Sep 17 00:00:00 2001 From: Kejser Kagespiser Date: Sun, 5 Oct 2025 12:55:37 +0200 Subject: [PATCH 03/17] Changed Rocket Control Unit to be conditional --- MDbobelectronics2/data-updates.lua | 4 +++- MDbobelectronics2/info.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MDbobelectronics2/data-updates.lua b/MDbobelectronics2/data-updates.lua index 04ab1b7..309567c 100644 --- a/MDbobelectronics2/data-updates.lua +++ b/MDbobelectronics2/data-updates.lua @@ -3,7 +3,9 @@ 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.technology["rocket-control-unit"] then + data.raw.recipe["rocket-control-unit"].category = "electronics" +end if data.raw["recipe-category"]["chemical-furnace"] then if data.raw.recipe["carbon"] then diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index d555c02..4134797 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -3,7 +3,7 @@ "version": "4.0.1", "factorio_version": "2.0", "title": "Bob's Electronics SE KR for 2.0", - "author": "Bobingabout, MdRuz, cackling fiend", + "author": "Bobingabout, MdRuz, cackling fiend, Kejser Kagespiser", "contact": "", "homepage": "https://forums.factorio.com/viewtopic.php?f=190&t=95748", "dependencies": [ From f1a100b15455d9527f29b4b5ec96892e001055c0 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Mon, 6 Oct 2025 20:27:23 +0200 Subject: [PATCH 04/17] Fix ingredient of bob-resin-wood --- MDbobelectronics2/prototypes/resource.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MDbobelectronics2/prototypes/resource.lua b/MDbobelectronics2/prototypes/resource.lua index 5666982..29592a5 100644 --- a/MDbobelectronics2/prototypes/resource.lua +++ b/MDbobelectronics2/prototypes/resource.lua @@ -18,7 +18,7 @@ data:extend( energy_required = 1, ingredients = { - { "wood", 1}, + { type = "item", name = "wood", amount = 1}, }, results = {{type="item", name="resin", amount=1}}, allow_decomposition = false @@ -68,7 +68,7 @@ data:extend( energy_required = 3.5, ingredients = { - { "resin", 1}, + { type = "item", name = "resin", amount = 1 }, }, results = {{type="item", name="rubber", amount=1}}, allow_decomposition = false From 5378517c4127539d27d7e89d1463a39539556850 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 7 Oct 2025 17:27:21 +0200 Subject: [PATCH 05/17] 4.0.2 --- MDbobelectronics2/changelog.txt | 7 +++++++ MDbobelectronics2/info.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/MDbobelectronics2/changelog.txt b/MDbobelectronics2/changelog.txt index 52ce0d6..a1864b9 100644 --- a/MDbobelectronics2/changelog.txt +++ b/MDbobelectronics2/changelog.txt @@ -1,4 +1,11 @@ --------------------------------------------------------------------------------------------------- +Version: 4.0.2 +Date: 07.10.2025 + Changes: + - Changed Rocket Control Unit to be conditional (by Kejser Kagespiser) + Bug Fixes: + - Fix ingredient of bob-resin-wood +--------------------------------------------------------------------------------------------------- Version: 4.0.1 Date: 05.10.2025 Bug Fixes: diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index 4134797..81e0de1 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -1,6 +1,6 @@ { "name": "MDbobelectronics2", - "version": "4.0.1", + "version": "4.0.2", "factorio_version": "2.0", "title": "Bob's Electronics SE KR for 2.0", "author": "Bobingabout, MdRuz, cackling fiend, Kejser Kagespiser", From 0ca86d181cf9e374d871dfe929431cf8f43702ed Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 8 Oct 2025 23:56:22 +0200 Subject: [PATCH 06/17] Fix K2 compatibility --- MDbobelectronics2/prototypes/MDrecipes.lua | 14 +++++++------- MDbobelectronics2/prototypes/recipe-updates.lua | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/MDbobelectronics2/prototypes/MDrecipes.lua b/MDbobelectronics2/prototypes/MDrecipes.lua index 020fa30..6ebc09e 100644 --- a/MDbobelectronics2/prototypes/MDrecipes.lua +++ b/MDbobelectronics2/prototypes/MDrecipes.lua @@ -7,7 +7,7 @@ if mods["space-exploration"] then if mods["Krastorio2"] then bobmods.lib.recipe.remove_result("se-recycle-radar", "electronic-circuit") - bobmods.lib.recipe.add_result("se-recycle-radar", "automation-core") + bobmods.lib.recipe.add_result("se-recycle-radar", "kr-automation-core") else @@ -105,10 +105,10 @@ end if mods["Krastorio2"] then -bobmods.lib.recipe.add_ingredient("advanced-circuit", {type="item", name="electronic-components", amount=2}) -bobmods.lib.recipe.add_ingredient("advanced-processing-unit", {type="item", name="rare-metals", amount=5}) +bobmods.lib.recipe.add_ingredient("advanced-circuit", {type="item", name="kr-electronic-components", amount=2}) +bobmods.lib.recipe.add_ingredient("advanced-processing-unit", {type="item", name="kr-rare-metals", amount=5}) bobmods.lib.recipe.add_ingredient("advanced-processing-unit", {type="item", name="processing-electronics", amount=2}) -bobmods.lib.recipe.add_ingredient("advanced-processing-unit", {type="fluid", name="nitric-acid", amount=10}) +bobmods.lib.recipe.add_ingredient("advanced-processing-unit", {type="fluid", name="kr-nitric-acid", amount=10}) bobmods.lib.recipe.add_ingredient("kr-advanced-assembling-machine", {"advanced-processing-unit", amount=2}) bobmods.lib.recipe.add_ingredient("kr-advanced-furnace", {"advanced-processing-unit", amount=5}) @@ -161,10 +161,10 @@ if data.raw.item["se-processing-unit-holmium"] then data.raw.item["se-processing end --progression fix for krastorio: -if data.raw.fluid["hydrogen-chloride"] then +if data.raw.fluid["kr-hydrogen-chloride"] then -bobmods.lib.tech.add_recipe_unlock("kr-fluids-chemistry", "hydrogen-chloride") -bobmods.lib.tech.remove_recipe_unlock("kr-advanced-chemistry", "hydrogen-chloride") +bobmods.lib.tech.add_recipe_unlock("kr-fluids-chemistry", "kr-hydrogen-chloride") +bobmods.lib.tech.remove_recipe_unlock("kr-advanced-chemistry", "kr-hydrogen-chloride") end diff --git a/MDbobelectronics2/prototypes/recipe-updates.lua b/MDbobelectronics2/prototypes/recipe-updates.lua index ce3c06a..ff32493 100644 --- a/MDbobelectronics2/prototypes/recipe-updates.lua +++ b/MDbobelectronics2/prototypes/recipe-updates.lua @@ -16,8 +16,8 @@ for i, recipe in pairs(data.raw.recipe) do end -if data.raw.fluid["hydrogen-chloride"] then - bobmods.lib.recipe.replace_ingredient("ferric-chloride-solution", "water", "hydrogen-chloride") +if data.raw.fluid["kr-hydrogen-chloride"] then + bobmods.lib.recipe.replace_ingredient("ferric-chloride-solution", "water", "kr-hydrogen-chloride") end if data.raw.item["tinned-copper-cable"] then From 95e0570f4d312ebe5c0cf6c9cb3d575b1867415c Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Fri, 10 Oct 2025 16:13:06 +0200 Subject: [PATCH 07/17] Mark Space Age as incompatible --- MDbobelectronics2/info.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index 81e0de1..33fb121 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -17,7 +17,8 @@ "? bzlead >= 2.0.28", "? bztitanium >= 2.0.26", "? Krastorio2 >= 2.0.8", - "! bobelectronics" + "! bobelectronics", + "! space-age" ], "description": "(Space Exploration and Krastorio edition) Requires Bob's functions library mod.\n\nThis mod changes the way you build electronics, making the process more realistic.\nFirst you have to assemble electronic components, then combine them into circuit boards.\nOptional setting for the following: 'unlike in the base game, each tier of circuit board does NOT require the previous tier.'\nIt also adds a 4th tier of electronics used for high end machinery.\n\nAlthough it can work by itself, it is designed to function best with krastorio and space exploration." } From 13b23b6523fb8523c50c467640b797be41c92277 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sat, 11 Oct 2025 18:08:38 +0200 Subject: [PATCH 08/17] Mod compatibility fixes --- MDbobelectronics2/prototypes/MDrecipes.lua | 4 +--- MDbobelectronics2/prototypes/recipe-updates.lua | 8 ++++---- MDbobelectronics2/prototypes/resource.lua | 6 ++++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/MDbobelectronics2/prototypes/MDrecipes.lua b/MDbobelectronics2/prototypes/MDrecipes.lua index 6ebc09e..64703c8 100644 --- a/MDbobelectronics2/prototypes/MDrecipes.lua +++ b/MDbobelectronics2/prototypes/MDrecipes.lua @@ -24,9 +24,7 @@ if mods["bzsilicon"] then bobmods.lib.recipe.add_ingredient("optical-fiber", {type="item", name="insulated-cable", amount=1}) --seems that new version of bzsilicon adds this ingredient which interfears - if data.raw.item["silicon"] then - bobmods.lib.recipe.remove_ingredient("processing-unit", "silicon") - end + bobmods.lib.recipe.remove_ingredient("processing-unit", mods["Krastorio2"] and "kr-silicon" or "silicon") end ------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/MDbobelectronics2/prototypes/recipe-updates.lua b/MDbobelectronics2/prototypes/recipe-updates.lua index ff32493..31c8983 100644 --- a/MDbobelectronics2/prototypes/recipe-updates.lua +++ b/MDbobelectronics2/prototypes/recipe-updates.lua @@ -39,10 +39,10 @@ if data.raw.item["silicon-wafer"] then bobmods.lib.recipe.add_ingredient("intergrated-electronics", {type="item", name="silicon-wafer", amount=4}) bobmods.lib.recipe.add_ingredient("processing-electronics", {type="item", name="silicon-wafer", amount=6}) else - if data.raw.item["silicon"] then - bobmods.lib.recipe.add_ingredient("BOBMD-electronic-components", {type="item", name="silicon", amount=1}) - bobmods.lib.recipe.add_ingredient("intergrated-electronics", {type="item", name="silicon", amount=2}) - bobmods.lib.recipe.add_ingredient("processing-electronics", {type="item", name="silicon", amount=3}) + if data.raw.item[mods["Krastorio2"] and "kr-silicon" or "silicon"] then + bobmods.lib.recipe.add_ingredient("BOBMD-electronic-components", {type="item", name=mods["Krastorio2"] and "kr-silicon" or "silicon", amount=1}) + bobmods.lib.recipe.add_ingredient("intergrated-electronics", {type="item", name=mods["Krastorio2"] and "kr-silicon" or "silicon", amount=2}) + bobmods.lib.recipe.add_ingredient("processing-electronics", {type="item", name=mods["Krastorio2"] and "kr-silicon" or "silicon", amount=3}) else bobmods.lib.recipe.add_ingredient("BOBMD-electronic-components", {type="item", name="copper-plate", amount=1}) bobmods.lib.recipe.add_ingredient("intergrated-electronics", {type="item", name="copper-plate", amount=2}) diff --git a/MDbobelectronics2/prototypes/resource.lua b/MDbobelectronics2/prototypes/resource.lua index 29592a5..3bdf22c 100644 --- a/MDbobelectronics2/prototypes/resource.lua +++ b/MDbobelectronics2/prototypes/resource.lua @@ -78,7 +78,7 @@ data:extend( if not data.raw.item["silicon-wafer"] then - if data.raw.item["silicon"] or data.raw.item["silicon-plate"] then + if data.raw.item["kr-silicon"] or data.raw.item["silicon"] or data.raw.item["silicon-plate"] then data:extend( { { @@ -106,7 +106,9 @@ if not data.raw.item["silicon-wafer"] then } ) - if data.raw.item["silicon"] then + if data.raw.item["kr-silicon"] then + table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="kr-silicon", amount=1}) + elseif data.raw.item["silicon"] then table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="silicon", amount=1}) else table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="silicon-plate", amount=1}) From 37161038a473c070822850d49e394dd9d598f3ba Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sat, 11 Oct 2025 18:09:44 +0200 Subject: [PATCH 09/17] 4.0.3 --- MDbobelectronics2/changelog.txt | 7 +++++++ MDbobelectronics2/info.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/MDbobelectronics2/changelog.txt b/MDbobelectronics2/changelog.txt index a1864b9..1595ac0 100644 --- a/MDbobelectronics2/changelog.txt +++ b/MDbobelectronics2/changelog.txt @@ -1,4 +1,11 @@ --------------------------------------------------------------------------------------------------- +Version: 4.0.3 +Date: 11.10.2025 + Changes: + - Mark Space Age as incompatible + Bug Fixes: + - Increase mod compatibility +--------------------------------------------------------------------------------------------------- Version: 4.0.2 Date: 07.10.2025 Changes: diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index 33fb121..52a6ecf 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -1,6 +1,6 @@ { "name": "MDbobelectronics2", - "version": "4.0.2", + "version": "4.0.3", "factorio_version": "2.0", "title": "Bob's Electronics SE KR for 2.0", "author": "Bobingabout, MdRuz, cackling fiend, Kejser Kagespiser", From da5e870ce9f428e6ac3153d55984dcbd883f1efa Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Mon, 13 Oct 2025 16:04:32 +0200 Subject: [PATCH 10/17] Compatibility fixes --- MDbobelectronics2/prototypes/recipe-updates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MDbobelectronics2/prototypes/recipe-updates.lua b/MDbobelectronics2/prototypes/recipe-updates.lua index 31c8983..1ef2f43 100644 --- a/MDbobelectronics2/prototypes/recipe-updates.lua +++ b/MDbobelectronics2/prototypes/recipe-updates.lua @@ -66,8 +66,8 @@ if data.raw.item["silicon-nitride"] then bobmods.lib.recipe.replace_ingredient("processing-electronics", "plastic-bar", "silicon-nitride") end -if data.raw.item["glass"] then - bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name="glass", amount=1}) +if data.raw.item[mods["Krastorio2"] and "kr-glass" or "glass"] then + bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name=mods["Krastorio2"] and "kr-glass" or "glass", amount=1}) else bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name="plastic-bar", amount=1}) end From 6bbb2beb8e58ae935fe8cab7aa7a4e9c2b6e3716 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Mon, 13 Oct 2025 18:01:17 +0200 Subject: [PATCH 11/17] 4.0.4 --- MDbobelectronics2/changelog.txt | 5 +++++ MDbobelectronics2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MDbobelectronics2/changelog.txt b/MDbobelectronics2/changelog.txt index 1595ac0..a647132 100644 --- a/MDbobelectronics2/changelog.txt +++ b/MDbobelectronics2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 4.0.4 +Date: 13.10.2025 + Bug Fixes: + - Increase mod compatibility +--------------------------------------------------------------------------------------------------- Version: 4.0.3 Date: 11.10.2025 Changes: diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index 52a6ecf..c34c8da 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -1,6 +1,6 @@ { "name": "MDbobelectronics2", - "version": "4.0.3", + "version": "4.0.4", "factorio_version": "2.0", "title": "Bob's Electronics SE KR for 2.0", "author": "Bobingabout, MdRuz, cackling fiend, Kejser Kagespiser", From 8739f2c2e69290c9a25f897afbd1c6779624c196 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Thu, 16 Oct 2025 00:41:15 +0200 Subject: [PATCH 12/17] Fix K2 compatibility --- MDbobelectronics2/prototypes/recipe-updates.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MDbobelectronics2/prototypes/recipe-updates.lua b/MDbobelectronics2/prototypes/recipe-updates.lua index 1ef2f43..63a7db1 100644 --- a/MDbobelectronics2/prototypes/recipe-updates.lua +++ b/MDbobelectronics2/prototypes/recipe-updates.lua @@ -28,10 +28,9 @@ if data.raw.item["tinned-copper-cable"] then end if data.raw.item["carbon"] then - bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", "carbon") -elseif data.raw.item["coke"] then - bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", "coke") +elseif data.raw.item[mods["Krastorio2"] and "kr-coke" or "coke"] then + bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", mods["Krastorio2"] and "kr-coke" or "coke") end if data.raw.item["silicon-wafer"] then From c8727f5e563b8e495d0c8517fc44df7e6406cd67 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Thu, 16 Oct 2025 00:41:56 +0200 Subject: [PATCH 13/17] 4.0.5 --- MDbobelectronics2/changelog.txt | 5 +++++ MDbobelectronics2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MDbobelectronics2/changelog.txt b/MDbobelectronics2/changelog.txt index a647132..7aced8e 100644 --- a/MDbobelectronics2/changelog.txt +++ b/MDbobelectronics2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 4.0.5 +Date: 16.10.2025 + Bug Fixes: + - Increase mod compatibility +--------------------------------------------------------------------------------------------------- Version: 4.0.4 Date: 13.10.2025 Bug Fixes: diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index c34c8da..9bcf01c 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -1,6 +1,6 @@ { "name": "MDbobelectronics2", - "version": "4.0.4", + "version": "4.0.5", "factorio_version": "2.0", "title": "Bob's Electronics SE KR for 2.0", "author": "Bobingabout, MdRuz, cackling fiend, Kejser Kagespiser", From c61ada2486736f2d8aa1743993859d406877e337 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 15:03:31 +0200 Subject: [PATCH 14/17] Update to bz mods version 2 --- MDbobelectronics2/info.json | 6 +++--- MDbobelectronics2/prototypes/MDrecipes.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index 9bcf01c..5f51b74 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -13,9 +13,9 @@ "? space-exploration >= 0.7.34", "? space-exploration-postprocess >= 0.7.4", "? aai-industry >= 0.6.13", - "? bzsilicon >= 2.0.18", - "? bzlead >= 2.0.28", - "? bztitanium >= 2.0.26", + "? bzsilicon2 >= 2.0.19", + "? bzlead2 >= 2.0.29", + "? bztitanium2 >= 2.0.27", "? Krastorio2 >= 2.0.8", "! bobelectronics", "! space-age" diff --git a/MDbobelectronics2/prototypes/MDrecipes.lua b/MDbobelectronics2/prototypes/MDrecipes.lua index 64703c8..211d69c 100644 --- a/MDbobelectronics2/prototypes/MDrecipes.lua +++ b/MDbobelectronics2/prototypes/MDrecipes.lua @@ -20,7 +20,7 @@ end --insulated-cable -if mods["bzsilicon"] then +if mods["bzsilicon2"] then bobmods.lib.recipe.add_ingredient("optical-fiber", {type="item", name="insulated-cable", amount=1}) --seems that new version of bzsilicon adds this ingredient which interfears From 09a964cd55eb6a55502876ed70ef3a74222bbda2 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 15:27:40 +0200 Subject: [PATCH 15/17] 4.0.6 --- MDbobelectronics2/changelog.txt | 5 +++++ MDbobelectronics2/info.json | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/MDbobelectronics2/changelog.txt b/MDbobelectronics2/changelog.txt index 7aced8e..00ba125 100644 --- a/MDbobelectronics2/changelog.txt +++ b/MDbobelectronics2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 4.0.6 +Date: 21.10.2025 + Changes: + - Switch to bz mods forks +--------------------------------------------------------------------------------------------------- Version: 4.0.5 Date: 16.10.2025 Bug Fixes: diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index 5f51b74..9852337 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -1,11 +1,11 @@ { "name": "MDbobelectronics2", - "version": "4.0.5", + "version": "4.0.6", "factorio_version": "2.0", "title": "Bob's Electronics SE KR for 2.0", + "description": "(Space Exploration and Krastorio edition) Requires Bob's functions library mod.\n\nThis mod changes the way you build electronics, making the process more realistic.\nFirst you have to assemble electronic components, then combine them into circuit boards.\nOptional setting for the following: 'unlike in the base game, each tier of circuit board does NOT require the previous tier.'\nIt also adds a 4th tier of electronics used for high end machinery.\n\nAlthough it can work by itself, it is designed to function best with krastorio and space exploration.", "author": "Bobingabout, MdRuz, cackling fiend, Kejser Kagespiser", - "contact": "", - "homepage": "https://forums.factorio.com/viewtopic.php?f=190&t=95748", + "homepage": "https://discord.gg/ufvFUJtVwk", "dependencies": [ "base >= 2.0.0", "boblibrary >= 2.0.1", @@ -19,6 +19,5 @@ "? Krastorio2 >= 2.0.8", "! bobelectronics", "! space-age" - ], - "description": "(Space Exploration and Krastorio edition) Requires Bob's functions library mod.\n\nThis mod changes the way you build electronics, making the process more realistic.\nFirst you have to assemble electronic components, then combine them into circuit boards.\nOptional setting for the following: 'unlike in the base game, each tier of circuit board does NOT require the previous tier.'\nIt also adds a 4th tier of electronics used for high end machinery.\n\nAlthough it can work by itself, it is designed to function best with krastorio and space exploration." -} + ] +} \ No newline at end of file From 351c9d7aee2aad2d95b68ba69bb1836534cd2fdd Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 21:19:07 +0200 Subject: [PATCH 16/17] Fix crash due to result_count --- MDbobelectronics2/prototypes/resource.lua | 99 +++++++++-------------- 1 file changed, 37 insertions(+), 62 deletions(-) diff --git a/MDbobelectronics2/prototypes/resource.lua b/MDbobelectronics2/prototypes/resource.lua index 3bdf22c..b7ed173 100644 --- a/MDbobelectronics2/prototypes/resource.lua +++ b/MDbobelectronics2/prototypes/resource.lua @@ -1,5 +1,4 @@ -data:extend( -{ +data:extend({ { type = "item", name = "resin", @@ -9,21 +8,18 @@ data:extend( order = "f[resin]", stack_size = 100 }, - { type = "recipe", name = "bob-resin-wood", category = "crafting-machine", subgroup = "bob-resource-chemical", energy_required = 1, - ingredients = - { - { type = "item", name = "wood", amount = 1}, + ingredients = { + { type = "item", name = "wood", amount = 1 }, }, - results = {{type="item", name="resin", amount=1}}, + results = { { type = "item", name = "resin", amount = 1 } }, allow_decomposition = false }, - { type = "recipe", name = "bob-resin-oil", @@ -31,25 +27,21 @@ data:extend( subgroup = "bob-resource-chemical", energy_required = 1, enabled = false, - ingredients = - { - {type="fluid", name="heavy-oil", amount=10}, + ingredients = { + { type = "fluid", name = "heavy-oil", amount = 10 }, }, - results = {{type="item", name="resin", amount=1}}, - crafting_machine_tint = - { - primary = {r = 0.5, g = 0.04, b = 0.0, a = 0.000}, - secondary = {r = 0.85, g = 0.6, b = 0.3, a = 0.000}, - tertiary = {r = 1, g = 0.6, b = 0.0, a = 0.000}, + results = { { type = "item", name = "resin", amount = 1 } }, + crafting_machine_tint = { + primary = { r = 0.5, g = 0.04, b = 0.0, a = 0.000 }, + secondary = { r = 0.85, g = 0.6, b = 0.3, a = 0.000 }, + tertiary = { r = 1, g = 0.6, b = 0.0, a = 0.000 }, }, allow_decomposition = false }, -} -) +}) -data:extend( -{ +data:extend({ { type = "item", name = "rubber", @@ -59,28 +51,24 @@ data:extend( order = "f[rubber]", stack_size = 100 }, - { type = "recipe", name = "bob-rubber", subgroup = "bob-resource-chemical", category = "smelting", energy_required = 3.5, - ingredients = - { + ingredients = { { type = "item", name = "resin", amount = 1 }, }, - results = {{type="item", name="rubber", amount=1}}, + results = { { type = "item", name = "rubber", amount = 1 } }, allow_decomposition = false }, -} -) +}) if not data.raw.item["silicon-wafer"] then if data.raw.item["kr-silicon"] or data.raw.item["silicon"] or data.raw.item["silicon-plate"] then - data:extend( - { + data:extend({ { type = "item", name = "silicon-wafer", @@ -90,36 +78,30 @@ if not data.raw.item["silicon-wafer"] then order = "f[silicon-wafer]", stack_size = 200 }, - { type = "recipe", name = "silicon-wafer", category = "crafting-machine", enabled = false, energy_required = 5, - ingredients = - { - }, - results = {{type="item", name="silicon-wafer", amount=1}}, - result_count = 8 - }, - } - ) + ingredients = {}, + results = { { type = "item", name = "silicon-wafer", amount = 8 } }, + } + }) if data.raw.item["kr-silicon"] then - table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="kr-silicon", amount=1}) + table.insert(data.raw.recipe["silicon-wafer"].ingredients, { type = "item", name = "kr-silicon", amount = 1 }) elseif data.raw.item["silicon"] then - table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="silicon", amount=1}) + table.insert(data.raw.recipe["silicon-wafer"].ingredients, { type = "item", name = "silicon", amount = 1 }) else - table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="silicon-plate", amount=1}) + table.insert(data.raw.recipe["silicon-wafer"].ingredients, { type = "item", name = "silicon-plate", amount = 1 }) end end end if data.raw.item["tin-plate"] then - data:extend( - { + data:extend({ { type = "item", name = "solder-alloy", @@ -129,46 +111,39 @@ if data.raw.item["tin-plate"] then order = "c-b-h[solder]", stack_size = 200 }, - { type = "recipe", name = "solder-alloy", energy_required = 7, enabled = false, category = "crafting-machine", - ingredients = - { - {type="item", name="tin-plate", amount=9}, - {type="item", name="copper-plate", amount=1}, + ingredients = { + { type = "item", name = "tin-plate", amount = 9 }, + { type = "item", name = "copper-plate", amount = 1 }, }, - results = {{type="item", name="solder-alloy", amount=11}}, + results = { { type = "item", name = "solder-alloy", amount = 11 } }, allow_decomposition = false }, - } - ) + }) if data.raw.item["silver-plate"] then - table.insert(data.raw.recipe["solder-alloy"].ingredients,{type="item", name="silver-plate", amount=1}) + table.insert(data.raw.recipe["solder-alloy"].ingredients, { type = "item", name = "silver-plate", amount = 1 }) end if data.raw.item["lead-plate"] then - data:extend( - { + data:extend({ { type = "recipe", name = "solder-alloy-lead", energy_required = 7, enabled = false, category = "crafting-machine", - ingredients = - { - {type="item", name="tin-plate", amount=4}, - {type="item", name="lead-plate", amount=7}, + ingredients = { + { type = "item", name = "tin-plate", amount = 4 }, + { type = "item", name = "lead-plate", amount = 7 }, }, - results = {{type="item", name="solder-alloy", amount=11}}, + results = { { type = "item", name = "solder-alloy", amount = 11 } }, allow_decomposition = false }, - } - ) + }) end end - From ce91e2406c512cf5a8c601350028f773be3e7abd Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 21:21:26 +0200 Subject: [PATCH 17/17] 4.0.7 --- MDbobelectronics2/changelog.txt | 5 +++++ MDbobelectronics2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MDbobelectronics2/changelog.txt b/MDbobelectronics2/changelog.txt index 00ba125..8b0d1ae 100644 --- a/MDbobelectronics2/changelog.txt +++ b/MDbobelectronics2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 4.0.7 +Date: 21.10.2025 + Bug Fixes: + - Fix crash due to result_count +--------------------------------------------------------------------------------------------------- Version: 4.0.6 Date: 21.10.2025 Changes: diff --git a/MDbobelectronics2/info.json b/MDbobelectronics2/info.json index 9852337..9f5c926 100644 --- a/MDbobelectronics2/info.json +++ b/MDbobelectronics2/info.json @@ -1,6 +1,6 @@ { "name": "MDbobelectronics2", - "version": "4.0.6", + "version": "4.0.7", "factorio_version": "2.0", "title": "Bob's Electronics SE KR for 2.0", "description": "(Space Exploration and Krastorio edition) Requires Bob's functions library mod.\n\nThis mod changes the way you build electronics, making the process more realistic.\nFirst you have to assemble electronic components, then combine them into circuit boards.\nOptional setting for the following: 'unlike in the base game, each tier of circuit board does NOT require the previous tier.'\nIt also adds a 4th tier of electronics used for high end machinery.\n\nAlthough it can work by itself, it is designed to function best with krastorio and space exploration.",