Thanks to the wonderful folks on the Factorio Discord I learned the issue was that I needed to replace the pictures array as well as the icon in order for items with a subtle glow to appear correctly. Here's my final code:
replacementPairs = {
{ "ammo", "atomic-bomb" },
{ "ammo", "explosive ...
Search found 3 matches
- Tue Jan 21, 2025 8:22 pm
- Forum: Modding help
- Topic: Trouble replacing specific uranium icons
- Replies: 2
- Views: 324
- Tue Jan 21, 2025 3:44 pm
- Forum: Modding help
- Topic: Trouble replacing specific uranium icons
- Replies: 2
- Views: 324
Re: Trouble replacing specific uranium icons
Well I was able to figure out the centrifuge glow! Here is what I came up with
local centrifugeEntity = data.raw["assembling-machine"]["centrifuge"]
if centrifugeEntity then
local lights = centrifugeEntity["graphics_set"]["working_visualisations"][2].animation.layers
for _, light in ipairs ...
local centrifugeEntity = data.raw["assembling-machine"]["centrifuge"]
if centrifugeEntity then
local lights = centrifugeEntity["graphics_set"]["working_visualisations"][2].animation.layers
for _, light in ipairs ...
- Tue Jan 21, 2025 8:17 am
- Forum: Modding help
- Topic: Trouble replacing specific uranium icons
- Replies: 2
- Views: 324
Trouble replacing specific uranium icons
Hello everyone. First post so apologies if anything is off. I could use some help in replacing some graphics and I'm a bit stuck.
I am creating a mod that replaces uranium graphics with blue variants, and so far I have successfully used realistic ores as a template for replacing most of the item ...
I am creating a mod that replaces uranium graphics with blue variants, and so far I have successfully used realistic ores as a template for replacing most of the item ...