[Request] Expose Radar Scan Progress to Lua

Post Reply
User avatar
Afforess
Filter Inserter
Filter Inserter
Posts: 422
Joined: Tue May 05, 2015 6:07 pm
Contact:

[Request] Expose Radar Scan Progress to Lua

Post by Afforess »

What it says in the title. A read-only field in lua to fetch the scan progress of a radar entity. It should be a float value based that matches the progress bar in the radar tooltip information.

Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [Request] Expose Radar Scan Progress to Lua

Post by Bilka »

This has been added in the next release (1.1.57).
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

BenSeidel
Filter Inserter
Filter Inserter
Posts: 584
Joined: Tue Jun 28, 2016 1:44 am
Contact:

Re: [Request] Expose Radar Scan Progress to Lua

Post by BenSeidel »

Any reason why it has to be read-only? It might be interesting to see random events that push your radar's progress back a bit, or maybe keep them synchronised across arrays?

Post Reply

Return to “Implemented mod requests”