From 754b14cd0016f2e0c7b0082b9817cb88e118b120 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 5 Oct 2025 14:21:33 +0200 Subject: [PATCH 1/3] 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 2/3] 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 2fc1382609adedfeef3e7ef11691a3b6d0237863 Mon Sep 17 00:00:00 2001 From: Kejser Kagespiser Date: Sun, 5 Oct 2025 12:55:37 +0200 Subject: [PATCH 3/3] Fixed file path for graphics refences for new mod name. 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": [