Make alert icon blink interval moddable

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Make alert icon blink interval moddable

Post by eradicator »

Because "Option to disable no-power flashing" came up again and it seems like nobody ever officially requested modding support for this:

Would it be possible to expose the delay with which alerts blink (no-power, no-network, etc) as a utility constant? Presumably so that setting the constant to a very large number would effectively disable the blinking? While preserving the ability to just make it a bit slower.

As far as i understand this would be a pure rendering change and should not affect game logic?
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.
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 553
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Make alert icon blink interval moddable

Post by Silari »

As someone who made one of the mods linked in that thread, this would be very nice to have.

Although I'd think using '0' to mean 'disable blinking' would make more sense.
Post Reply

Return to “Modding interface requests”