Where are the no fuel and no power alerts handled

Place to get help with not working mods / modding interface.
The_1_Mafia
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Mar 03, 2020 4:58 am
Contact:

Where are the no fuel and no power alerts handled

Post by The_1_Mafia »

I am making a seizure compliance mod and I have hit a roadblock. I can not find where the blink rate of the no fuel and no power alerts are handled.

I am looking for the location in base and or how to modify the blink rate.
I am not looking to turn off the alerts just to stop them blinking.

Any help is appreciated.
Koub
Global Moderator
Global Moderator
Posts: 7955
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Where are the no fuel and no power alerts handled

Post by Koub »

[Koub] Moved to modding help
Just so that you know, there exists a mod aimed at the same target with a slightly different approach :
https://mods.factorio.com/mod/No_Power_Icons
Koub - Please consider English is not my native language.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Where are the no fuel and no power alerts handled

Post by eradicator »

As far as i remember the blink rate is not moddable. That includes non-moddability of making them permanently "on". You'd have reimplement the whole logic via control scripting. Maybe Bottleneck (configure power icons via in-game mod settings) combined with the mod @Koub mentioned would be sufficient?
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Post Reply

Return to “Modding help”