Genericize bronze-spring recipe icon mod check

This commit is contained in:
hraukr 2025-12-19 22:42:57 -05:00
parent f42acf7e7e
commit 675637934d

View file

@ -206,7 +206,7 @@ data:extend({
name = "bronze-spring", name = "bronze-spring",
category = "crafting", category = "crafting",
order = "s2[spring]", order = "s2[spring]",
icons = (mods["bztin2"] and icons = (data.raw.item["bronze-plate"] and
{ {
{ icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 64 }, { 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 } } { icon = bronze_plate_icon, icon_size = bronze_plate_icon_size, scale = 0.125, shift = { -8, -8 } }