[2.1.9] Space Science pack recipe icon defined
Posted: Wed Jul 01, 2026 5:55 am
ive had a Color blind science pack mod for a while now, and it changes every science pack icon except for Space Science pack when viewing in assembler on the unlock recipe in the technology view.
i expected my mod to properly change icons uniformly with the same mod structure of
data.raw.item["space-science-pack"].icon = "__cb-science-Alk__/graphics/icons/space.png"
data.raw.technology["space-science-pack"].icon = "__cb-science-Alk__/graphics/technology/space.png"
like it correctly does for every other science pack, including the ones added in Space Age.
i did some digging and in space-age > prototypes > recipe.lua line 751 Space-science-pack gets a icon defined while NO OTHER RECIPIE does.
commenting out that single line produces the expected result, allowing my mod to properly change the icon uniformly.
i expected my mod to properly change icons uniformly with the same mod structure of
data.raw.item["space-science-pack"].icon = "__cb-science-Alk__/graphics/icons/space.png"
data.raw.technology["space-science-pack"].icon = "__cb-science-Alk__/graphics/technology/space.png"
like it correctly does for every other science pack, including the ones added in Space Age.
i did some digging and in space-age > prototypes > recipe.lua line 751 Space-science-pack gets a icon defined while NO OTHER RECIPIE does.
commenting out that single line produces the expected result, allowing my mod to properly change the icon uniformly.