[2.1.9] Space Science pack recipe icon defined

Post your bugs and problems so we can fix them.
User avatar
Alkumist
Burner Inserter
Burner Inserter
Posts: 17
Joined: Mon Feb 12, 2018 11:38 pm
Contact:

[2.1.9] Space Science pack recipe icon defined

Post by Alkumist »

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.
Post Reply

Return to “Bug Reports”