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.
[2.1.9] Space Science pack recipe icon defined
Re: [2.1.9] Space Science pack recipe icon defined
Thanks for the report however this is not a bug.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.1.9] Space Science pack recipe icon defined
thats disappointing, but i fail to see how its not a bug.
unless the bug is actually that the other science packs not defining a recipe icon is the bug...
unless the bug is actually that the other science packs not defining a recipe icon is the bug...
Re: [2.1.9] Space Science pack recipe icon defined
Recipes can define any icon they like - that is an intended working part of the prototypes system. When writing a mod you can modify any part of any definition you like - that is also part of the modding system.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.1.9] Space Science pack recipe icon defined
FWIW, it looks like the author of the mod in question fixed the mod 9 hours ago to correctly override the recipe icon as well: https://github.com/Alkumist/cb-science- ... -fixes.lua
Edit: Oh, that's you
Edit: Oh, that's you
Re: [2.1.9] Space Science pack recipe icon defined
yup. I was previously using Quality Glassworks backend, and i have notified them through the mod portal that recipe icons also need to be changed.Edit: Oh, that's you


