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