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/2] 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, 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/2] 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}},