Please give us some Lua hooks for the radars
Posted: Thu Jul 31, 2025 12:24 pm
I would like the ability to read_scan_progress (and ideally set_scan_progress as well), read_target_sector, set_target_sector, and read_max_range for a mod idea that I have that I believe players would appreciate: manually setting the radar's next sector to scan to a point that you click on the map, so long as it is within range of at least one radar. This would allow you to scan a specific fogged chunk of the map early, or to re-scan an already explored chunk to update it and check on the progress of biters or your outpost or stuff like that. It would read progress to next sector in order to choose the radar that is closest to finishing its next scan, to minimize wait time.
I think I could make the mod work with as little as just set_target_sector if I had to, but having all the above hooks will make it work smoother and much easier to implement.
I think I could make the mod work with as little as just set_target_sector if I had to, but having all the above hooks will make it work smoother and much easier to implement.