Unexpected behavior with UtilitySprites::fuel_icon
Posted: Wed Nov 20, 2024 7:15 am
Hi. I'm making a mod to replace some sprites, and conducting simple tests to that end.
I've found that I can replace most of the sprites from UtilitySprites, except for fuel_icon.
if someone has that single line inside ".\Factorio\mods\your-mod-folder\data.lua"
and have a "\info.json"
then they can test replacing the icon.
I've verified paths are correct, and again, have had this work for all other icons.
I have not found anything else besides utilitysprites that relates to this.
My test mod is the only one I have enabled.
¿What explains this behavior?
I've found that I can replace most of the sprites from UtilitySprites, except for fuel_icon.
Code: Select all
data.raw['utility-sprites']['default']["fuel_icon"].filename = "__your-mod-folder__/your-subfolder/your-custom-64x64-icon.png"
and have a "\info.json"
then they can test replacing the icon.
I've verified paths are correct, and again, have had this work for all other icons.
I have not found anything else besides utilitysprites that relates to this.
My test mod is the only one I have enabled.
¿What explains this behavior?