Skip to content

Commit 744f366

Browse files
committed
Advanced Processing Unit usage #559
1 parent ac85f01 commit 744f366

6 files changed

Lines changed: 76 additions & 0 deletions

File tree

bobelectronics/changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
---------------------------------------------------------------------------------------------------
2+
Version: 2.0.6
3+
Date: ???
4+
Changes:
5+
- Updated recipes for Rockets and T3 modules to require Advanced processing units instead of Advanced circuits #559
6+
---------------------------------------------------------------------------------------------------
27
Version: 2.0.5
38
Date: 15. 01. 2026
49
Changes:

bobelectronics/data-updates.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,13 @@ if mods["quality"] then
4545
"repair-pack",
4646
"electric-mining-drill",
4747
"radar",
48+
"cargo-landing-pad",
49+
"rocket-part",
50+
"rocket-silo",
51+
"satellite",
52+
"speed-module-3",
53+
"efficiency-module-3",
54+
"productivity-module-3",
55+
"quality-module-3",
4856
})
4957
end

bobelectronics/prototypes/recipe-updates.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,19 @@ end
138138
bobmods.lib.recipe.replace_ingredient("arithmetic-combinator", "copper-cable", "bob-insulated-cable")
139139
bobmods.lib.recipe.replace_ingredient("decider-combinator", "copper-cable", "bob-insulated-cable")
140140
bobmods.lib.recipe.replace_ingredient("constant-combinator", "copper-cable", "bob-insulated-cable")
141+
142+
-- Base game updates
143+
if not mods["space-age"] then
144+
bobmods.lib.recipe.replace_ingredient("rocket-silo", "processing-unit", "bob-advanced-processing-unit")
145+
bobmods.lib.recipe.replace_ingredient("rocket-part", "processing-unit", "bob-advanced-processing-unit")
146+
bobmods.lib.recipe.replace_ingredient("cargo-landing-pad", "processing-unit", "bob-advanced-processing-unit")
147+
bobmods.lib.recipe.replace_ingredient("satellite", "processing-unit", "bob-advanced-processing-unit")
148+
end
149+
150+
bobmods.lib.recipe.replace_ingredient("speed-module-3", "advanced-circuit", "bob-advanced-processing-unit")
151+
bobmods.lib.recipe.replace_ingredient("efficiency-module-3", "advanced-circuit", "bob-advanced-processing-unit")
152+
bobmods.lib.recipe.replace_ingredient("productivity-module-3", "advanced-circuit", "bob-advanced-processing-unit")
153+
154+
if mods["quality"] then
155+
bobmods.lib.recipe.replace_ingredient("quality-module-3", "advanced-circuit", "bob-advanced-processing-unit")
156+
end

bobelectronics/prototypes/technology-updates.lua

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,17 @@ bobmods.lib.tech.remove_recipe_unlock("advanced-oil-processing", "solid-fuel-fro
7777
bobmods.lib.tech.add_recipe_unlock("flammables", "solid-fuel-from-petroleum-gas")
7878
bobmods.lib.tech.add_recipe_unlock("flammables", "solid-fuel-from-light-oil")
7979
bobmods.lib.tech.add_recipe_unlock("flammables", "solid-fuel-from-heavy-oil")
80+
81+
-- Base game updates
82+
83+
if not mods["space-age"] then
84+
bobmods.lib.tech.add_prerequisite("rocket-silo", "bob-advanced-processing-unit")
85+
end
86+
87+
bobmods.lib.tech.add_prerequisite("speed-module-3", "bob-advanced-processing-unit")
88+
bobmods.lib.tech.add_prerequisite("efficiency-module-3", "bob-advanced-processing-unit")
89+
bobmods.lib.tech.add_prerequisite("productivity-module-3", "bob-advanced-processing-unit")
90+
91+
if mods["quality"] then
92+
bobmods.lib.tech.add_prerequisite("quality-module-3", "bob-advanced-processing-unit")
93+
end

bobplates/changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
---------------------------------------------------------------------------------------------------
2+
Version: 2.0.6
3+
Date: ???
4+
Changes:
5+
- Updated recipes for Rockets and T3 modules to require Advanced processing units instead of Advanced circuits #559
6+
---------------------------------------------------------------------------------------------------
27
Version: 2.0.5
38
Date: 15. 01. 2026
49
Changes:

bobplates/data-updates.lua

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,27 @@ for _, recipe_name in pairs({
400400
end
401401
end
402402

403+
-- Base game updates
404+
405+
if not mods["space-age"] then
406+
bobmods.lib.recipe.replace_ingredient("rocket-silo", "processing-unit", "bob-advanced-processing-unit")
407+
bobmods.lib.recipe.replace_ingredient("rocket-part", "processing-unit", "bob-advanced-processing-unit")
408+
bobmods.lib.recipe.replace_ingredient("cargo-landing-pad", "processing-unit", "bob-advanced-processing-unit")
409+
bobmods.lib.recipe.replace_ingredient("satellite", "processing-unit", "bob-advanced-processing-unit")
410+
bobmods.lib.tech.add_prerequisite("rocket-silo", "bob-advanced-processing-unit")
411+
end
412+
413+
bobmods.lib.recipe.replace_ingredient("speed-module-3", "advanced-circuit", "bob-advanced-processing-unit")
414+
bobmods.lib.recipe.replace_ingredient("efficiency-module-3", "advanced-circuit", "bob-advanced-processing-unit")
415+
bobmods.lib.recipe.replace_ingredient("productivity-module-3", "advanced-circuit", "bob-advanced-processing-unit")
416+
bobmods.lib.tech.add_prerequisite("speed-module-3", "bob-advanced-processing-unit")
417+
bobmods.lib.tech.add_prerequisite("efficiency-module-3", "bob-advanced-processing-unit")
418+
bobmods.lib.tech.add_prerequisite("productivity-module-3", "bob-advanced-processing-unit")
419+
403420
if mods["quality"] then
421+
bobmods.lib.recipe.replace_ingredient("quality-module-3", "advanced-circuit", "bob-advanced-processing-unit")
422+
bobmods.lib.tech.add_prerequisite("quality-module-3", "bob-advanced-processing-unit")
423+
404424
bobmods.lib.recipe.update_recycling_recipe({
405425
"bob-air-pump",
406426
"bob-air-pump-2",
@@ -426,6 +446,14 @@ if mods["quality"] then
426446
"bob-lithium-ion-battery",
427447
"bob-silver-zinc-battery",
428448
"battery",
449+
"cargo-landing-pad",
450+
"rocket-part",
451+
"rocket-silo",
452+
"satellite",
453+
"speed-module-3",
454+
"efficiency-module-3",
455+
"productivity-module-3",
456+
"quality-module-3",
429457
})
430458
end
431459

0 commit comments

Comments
 (0)