From 2ad5a16998d063896e22f974489e34c8e14f9f7c Mon Sep 17 00:00:00 2001 From: msmods <44310958+msmods@users.noreply.github.com> Date: Fri, 12 Dec 2025 02:06:20 -0500 Subject: [PATCH 1/9] Fix recipe name for bronze-spring Fixes the name of the bronze spring recipe, reverting a previous attempt. --- IntermediatesForYou2/locale/en/IntermediatesForYou.cfg | 1 + IntermediatesForYou2/prototypes/recipes.lua | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/IntermediatesForYou2/locale/en/IntermediatesForYou.cfg b/IntermediatesForYou2/locale/en/IntermediatesForYou.cfg index b7241ef..cb49f0c 100644 --- a/IntermediatesForYou2/locale/en/IntermediatesForYou.cfg +++ b/IntermediatesForYou2/locale/en/IntermediatesForYou.cfg @@ -54,6 +54,7 @@ aluminium-hydroxide-smelting=Aluminium hydroxide smelting sodium-hydroxide-reaction=Sodium hydroxide reaction silica-extraction=Silica extraction sodium-aluminate=Sodium aluminate +bronze-spring=Spring (Bronze) slag=slag iron-extraction=Iron extraction diff --git a/IntermediatesForYou2/prototypes/recipes.lua b/IntermediatesForYou2/prototypes/recipes.lua index f3e878f..71900c2 100644 --- a/IntermediatesForYou2/prototypes/recipes.lua +++ b/IntermediatesForYou2/prototypes/recipes.lua @@ -200,7 +200,6 @@ data:extend({ { type = "recipe", name = "bronze-spring", - localised_name = { "item-name.bronze-spring" }, category = "crafting", order = "s2[spring]", enabled = false, -- 2.39.5 From 776584841c513dd69c3efaddd82ee940b15fe287 Mon Sep 17 00:00:00 2001 From: msmods <44310958+msmods@users.noreply.github.com> Date: Fri, 12 Dec 2025 02:07:14 -0500 Subject: [PATCH 2/9] Enhances icon for bronze-spring recipe Adds a little bronze plate icon to the top left of the bronze-spring icon. --- IntermediatesForYou2/prototypes/recipes.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/IntermediatesForYou2/prototypes/recipes.lua b/IntermediatesForYou2/prototypes/recipes.lua index 71900c2..b7ed29d 100644 --- a/IntermediatesForYou2/prototypes/recipes.lua +++ b/IntermediatesForYou2/prototypes/recipes.lua @@ -202,6 +202,14 @@ data:extend({ name = "bronze-spring", category = "crafting", order = "s2[spring]", + icons = (mods["bztin2"] and + { + { icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 64 }, + { icon = "__bztin2__/graphics/icons/bronze-plate.png", icon_size = 128, scale = 0.125, shift = { -8, -8 } }, + } or { + { icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 128 } + } + ), enabled = false, energy_required = 2, ingredients = {{type="item", name="bronze-plate", amount=1}}, -- 2.39.5 From 1f4696c44b5649e32de80f59d81ff58bbbee97e5 Mon Sep 17 00:00:00 2001 From: msmods <44310958+msmods@users.noreply.github.com> Date: Fri, 12 Dec 2025 19:45:36 -0500 Subject: [PATCH 3/9] Fix recipe name for elementium-heat-shielding --- IntermediatesForYou2/locale/en/IntermediatesForYou.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/IntermediatesForYou2/locale/en/IntermediatesForYou.cfg b/IntermediatesForYou2/locale/en/IntermediatesForYou.cfg index cb49f0c..ed5501c 100644 --- a/IntermediatesForYou2/locale/en/IntermediatesForYou.cfg +++ b/IntermediatesForYou2/locale/en/IntermediatesForYou.cfg @@ -62,6 +62,7 @@ trace-rare-ore-extraction=Trace rare ore extraction elementite=Elementite elementite-dust=Elementite dust elementium-plate=Elementium plate +elementium-heat-shielding=Heat Shielding (Elementium) [recipe-description] low-quality-advanced-circuit=When resources are scarce you use what you got. \ No newline at end of file -- 2.39.5 From 11104a179bd22d020e975d859b89b349b5598464 Mon Sep 17 00:00:00 2001 From: hraukr Date: Fri, 12 Dec 2025 20:45:18 -0500 Subject: [PATCH 4/9] Updated README.md for the mod --- IntermediatesForYou2/README.md | 43 ++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/IntermediatesForYou2/README.md b/IntermediatesForYou2/README.md index 7db4260..dbc5b73 100644 --- a/IntermediatesForYou2/README.md +++ b/IntermediatesForYou2/README.md @@ -1,16 +1,45 @@ -# MetalsForYou +# IntermediatesForYou2 +IntermediatesForYou updated to Factorio 2.0 -## Version History -See changelog.txt +Things in this mod may change. -## Created by +This mod is intended to be played with Timeken's other mods, BZ (and the BZ likes), K2, SE, 248k. +If you play with Brass Tacks and If I Had A Nickel it is recommended to enable their Hard mode settings as that is what this mod is balanced for right now. +## New Intermediates -## Thanks to + Turret base + Large turret base + Advanced electronic components + Satellite body + Spring + Shock absorber + Elementite [SE] + Slag [K2/AAI] + Imersite Powder [K2 & 248k] -### Compatibility +## Changes (Likely an incomplete list) + + Added Inserter Parts to stack filter inserter + [K2] Greenhouse upgrades into Bio Lab + [SE] Recycling recipe for long handed inserter + [SE & 248k] Changed SE canister to use 248k fiber glass instead of glass and plastic + [BZ] BZ Burner Chemical Plant upgrades into Chemical Plant + Low quality advanced circuit recipe (for when you are low on gold) + Filter Inserter upgrades into Stack Filter Inserter + +## Planned Features (Maybe?) + More late game SE and K2 support + Customization settings + Custom textures -### Localization +## Created By +Timeken (https://mods.factorio.com/user/Timeken) +## Updated By +cackling.fiend (https://mods.factorio.com/user/cackling.fiend) +Hraukr (https://mods.factorio.com/user/Hraukr) +## Based On +The BZ Mods series from brevven (https://mods.factorio.com/user/brevven) \ No newline at end of file -- 2.39.5 From f42acf7e7e47edf22571d779b2dac944fa59496c Mon Sep 17 00:00:00 2001 From: hraukr Date: Fri, 19 Dec 2025 22:40:35 -0500 Subject: [PATCH 5/9] Load bronze-plate item icon from existing gamedata --- IntermediatesForYou2/prototypes/recipes.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/IntermediatesForYou2/prototypes/recipes.lua b/IntermediatesForYou2/prototypes/recipes.lua index b7ed29d..d735f26 100644 --- a/IntermediatesForYou2/prototypes/recipes.lua +++ b/IntermediatesForYou2/prototypes/recipes.lua @@ -196,6 +196,10 @@ util.add_unlock("rocket-silo","satellite-body") util.add_unlock("fast-inserter", "shock-absorber") if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then + local bronze_plate_icon = data.raw.item["bronze-plate"].icon + or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon + local bronze_plate_icon_size = data.raw.item["bronze-plate"].icon_size + or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon_size data:extend({ { type = "recipe", @@ -205,7 +209,7 @@ data:extend({ icons = (mods["bztin2"] and { { icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 64 }, - { icon = "__bztin2__/graphics/icons/bronze-plate.png", icon_size = 128, scale = 0.125, shift = { -8, -8 } }, + { icon = bronze_plate_icon, icon_size = bronze_plate_icon_size, scale = 0.125, shift = { -8, -8 } } } or { { icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 128 } } -- 2.39.5 From 675637934d8109185fb43dcf30e68c8416f82831 Mon Sep 17 00:00:00 2001 From: hraukr Date: Fri, 19 Dec 2025 22:42:57 -0500 Subject: [PATCH 6/9] Genericize bronze-spring recipe icon mod check --- IntermediatesForYou2/prototypes/recipes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntermediatesForYou2/prototypes/recipes.lua b/IntermediatesForYou2/prototypes/recipes.lua index d735f26..f3bfb7f 100644 --- a/IntermediatesForYou2/prototypes/recipes.lua +++ b/IntermediatesForYou2/prototypes/recipes.lua @@ -206,7 +206,7 @@ data:extend({ name = "bronze-spring", category = "crafting", order = "s2[spring]", - icons = (mods["bztin2"] and + icons = (data.raw.item["bronze-plate"] and { { icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 64 }, { icon = bronze_plate_icon, icon_size = bronze_plate_icon_size, scale = 0.125, shift = { -8, -8 } } -- 2.39.5 From 53184cfbfb8f1103b73250b2d4c847367829b643 Mon Sep 17 00:00:00 2001 From: hraukr Date: Fri, 19 Dec 2025 23:01:34 -0500 Subject: [PATCH 7/9] Abstract bronze-spring icon and size to variables --- IntermediatesForYou2/prototypes/recipes.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/IntermediatesForYou2/prototypes/recipes.lua b/IntermediatesForYou2/prototypes/recipes.lua index f3bfb7f..4cc1583 100644 --- a/IntermediatesForYou2/prototypes/recipes.lua +++ b/IntermediatesForYou2/prototypes/recipes.lua @@ -87,6 +87,9 @@ if data.raw.item["rubber"] then table.insert(shock_absorber_ingredients, {type="item", name="rubber", amount=1}) end +local spring_icon = "__IntermediatesForYou2__/graphics/icons/spring.png" +local spring_icon_size = 64 + data:extend({ { type = "item", @@ -111,8 +114,8 @@ data:extend({ { type = "item", name = "spring", - icon = "__IntermediatesForYou2__/graphics/icons/spring.png", - icon_size = 64, + icon = spring_icon, + icon_size = spring_icon_size, group = "intermediate-product", subgroup = "intermediate-product", order = "a[spring]", @@ -208,10 +211,10 @@ data:extend({ order = "s2[spring]", icons = (data.raw.item["bronze-plate"] and { - { icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 64 }, + { icon = spring_icon, icon_size = spring_icon_size }, { icon = bronze_plate_icon, icon_size = bronze_plate_icon_size, scale = 0.125, shift = { -8, -8 } } } or { - { icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 128 } + { icon = spring_icon, icon_size = spring_icon_size } } ), enabled = false, -- 2.39.5 From d7be28e94fe3ca7516868c7287d5a6240249305c Mon Sep 17 00:00:00 2001 From: hraukr Date: Fri, 19 Dec 2025 23:03:54 -0500 Subject: [PATCH 8/9] Improve indent consistency --- IntermediatesForYou2/prototypes/recipes.lua | 112 ++++++++++---------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/IntermediatesForYou2/prototypes/recipes.lua b/IntermediatesForYou2/prototypes/recipes.lua index 4cc1583..ae05024 100644 --- a/IntermediatesForYou2/prototypes/recipes.lua +++ b/IntermediatesForYou2/prototypes/recipes.lua @@ -203,67 +203,67 @@ if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon local bronze_plate_icon_size = data.raw.item["bronze-plate"].icon_size or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon_size -data:extend({ - { - type = "recipe", - name = "bronze-spring", - category = "crafting", - order = "s2[spring]", - icons = (data.raw.item["bronze-plate"] and - { - { icon = spring_icon, icon_size = spring_icon_size }, - { icon = bronze_plate_icon, icon_size = bronze_plate_icon_size, scale = 0.125, shift = { -8, -8 } } - } or { - { icon = spring_icon, icon_size = spring_icon_size } - } - ), - enabled = false, - energy_required = 2, - ingredients = {{type="item", name="bronze-plate", amount=1}}, - results = {{type="item", name="spring", amount=2}}, - } -}) + data:extend({ + { + type = "recipe", + name = "bronze-spring", + category = "crafting", + order = "s2[spring]", + icons = (data.raw.item["bronze-plate"] and + { + { icon = spring_icon, icon_size = spring_icon_size }, + { icon = bronze_plate_icon, icon_size = bronze_plate_icon_size, scale = 0.125, shift = { -8, -8 } } + } or { + { icon = spring_icon, icon_size = spring_icon_size } + } + ), + enabled = false, + energy_required = 2, + ingredients = {{type="item", name="bronze-plate", amount=1}}, + results = {{type="item", name="spring", amount=2}}, + } + }) util.add_unlock("foundry", "bronze-spring") end if mods["ThemTharHills-Updated"] then -local low_quality_advanced_circuit_ingredients = {{type="item", name="copper-cable", amount=3}, {type="item", name="electronic-circuit", amount=3}} -if data.raw.item["solder"] then - table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="solder", amount=4}) -end -if data.raw.item["kr-electronic-components"] then - table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="kr-electronic-components", amount=2}) -end -if data.raw.item["circuit-board"] then - table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="circuit-board", amount=1}) -end -local low_quality_advanced_circuit_results = {{ type = "item", name = "advanced-circuit", amount=1, probability=0.75}} -if mods["space-exploration"] then - table.insert(low_quality_advanced_circuit_results, { type = "item", name = "se-scrap", amount=1, probability=0.25}) -end + local low_quality_advanced_circuit_ingredients = {{type="item", name="copper-cable", amount=3}, {type="item", name="electronic-circuit", amount=3}} + if data.raw.item["solder"] then + table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="solder", amount=4}) + end + if data.raw.item["kr-electronic-components"] then + table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="kr-electronic-components", amount=2}) + end + if data.raw.item["circuit-board"] then + table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="circuit-board", amount=1}) + end + local low_quality_advanced_circuit_results = {{ type = "item", name = "advanced-circuit", amount=1, probability=0.75}} + if mods["space-exploration"] then + table.insert(low_quality_advanced_circuit_results, { type = "item", name = "se-scrap", amount=1, probability=0.25}) + end -data:extend({ - { - type = "recipe", - name = "low-quality-advanced-circuit", - category = "crafting", - icons = (mods["Krastorio2"] and - { - { icon = "__base__/graphics/icons/advanced-circuit.png", icon_size = 64}, - { icon = "__base__/graphics/icons/copper-cable.png", icon_size = 64, scale=0.25, shift= {-8, -8}}, - } or { - { icon = "__base__/graphics/icons/advanced-circuit.png", icon_size = 64}, - } - ), - main_product = "advanced-circuit", - order = "f", - enabled = false, - energy_required = 6, - ingredients = low_quality_advanced_circuit_ingredients, - results = low_quality_advanced_circuit_results, - } -}) -util.add_unlock("advanced-circuit", "low-quality-advanced-circuit") + data:extend({ + { + type = "recipe", + name = "low-quality-advanced-circuit", + category = "crafting", + icons = (mods["Krastorio2"] and + { + { icon = "__base__/graphics/icons/advanced-circuit.png", icon_size = 64}, + { icon = "__base__/graphics/icons/copper-cable.png", icon_size = 64, scale=0.25, shift= {-8, -8}}, + } or { + { icon = "__base__/graphics/icons/advanced-circuit.png", icon_size = 64}, + } + ), + main_product = "advanced-circuit", + order = "f", + enabled = false, + energy_required = 6, + ingredients = low_quality_advanced_circuit_ingredients, + results = low_quality_advanced_circuit_results, + } + }) + util.add_unlock("advanced-circuit", "low-quality-advanced-circuit") end if mods["aai-industry"] or mods["Krastorio2"] then -- 2.39.5 From 520c60936d31a35172eea244de46dfe067319e8b Mon Sep 17 00:00:00 2001 From: hraukr Date: Fri, 19 Dec 2025 23:29:53 -0500 Subject: [PATCH 9/9] Update README.md --- IntermediatesForYou2/README.md | 63 +++++++++++++++++----------------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/IntermediatesForYou2/README.md b/IntermediatesForYou2/README.md index dbc5b73..0d02b5d 100644 --- a/IntermediatesForYou2/README.md +++ b/IntermediatesForYou2/README.md @@ -1,45 +1,46 @@ -# IntermediatesForYou2 -IntermediatesForYou updated to Factorio 2.0 +## IntermediatesForYou2 +[IntermediatesForYou](https://mods.factorio.com/mod/IntermediatesForYou) by [Timeken](https://mods.factorio.com/user/Timeken) updated for Factorio 2.0 -Things in this mod may change. +Things in this mod may change. This mod is intended to be played with Timeken's other mods, BZ (and the BZ likes), K2, SE, 248k. -If you play with Brass Tacks and If I Had A Nickel it is recommended to enable their Hard mode settings as that is what this mod is balanced for right now. +If you play with Brass Tacks and If I Had A Nickel it is recommended to enable their Hard mode settings as that is what this mod is balanced for right now. -## New Intermediates +#### New Intermediates - Turret base - Large turret base - Advanced electronic components - Satellite body - Spring - Shock absorber - Elementite [SE] - Slag [K2/AAI] - Imersite Powder [K2 & 248k] +- Turret base +- Large turret base +- Advanced electronic components +- Satellite body +- Spring +- Shock absorber +- Elementite [SE] +- Slag [K2/AAI] +- Imersite Powder [K2 & 248k] -## Changes (Likely an incomplete list) +#### Changes & Compatibility (Likely an incomplete list) - Added Inserter Parts to stack filter inserter - [K2] Greenhouse upgrades into Bio Lab - [SE] Recycling recipe for long handed inserter - [SE & 248k] Changed SE canister to use 248k fiber glass instead of glass and plastic - [BZ] BZ Burner Chemical Plant upgrades into Chemical Plant - Low quality advanced circuit recipe (for when you are low on gold) - Filter Inserter upgrades into Stack Filter Inserter +- Added Inserter Parts to stack filter inserter +- [K2] Greenhouse upgrades into Bio Lab +- [SE] Recycling recipe for long handed inserter +- [SE & 248k] Changed SE canister to use 248k fiber glass instead of glass and plastic +- [BZ] BZ Burner Chemical Plant upgrades into Chemical Plant +- Low quality advanced circuit recipe (for when you are low on gold) +- Filter Inserter upgrades into Stack Filter Inserter -## Planned Features (Maybe?) +#### Planned Features (Maybe?) - More late game SE and K2 support - Customization settings - Custom textures +- More late game SE and K2 support +- Customization settings +- Custom textures -## Created By -Timeken (https://mods.factorio.com/user/Timeken) +#### Created by: +Timeken (https://mods.factorio.com/user/Timeken) +Original Mod: https://mods.factorio.com/mod/IntermediatesForYou -## Updated By -cackling.fiend (https://mods.factorio.com/user/cackling.fiend) +#### Updated By +cackling.fiend (https://mods.factorio.com/user/cackling.fiend) Hraukr (https://mods.factorio.com/user/Hraukr) -## Based On +#### Based On The BZ Mods series from brevven (https://mods.factorio.com/user/brevven) \ No newline at end of file -- 2.39.5