Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This PR Do
Why It's Good For The Game
The old algorithm for meteor shield coverage was... bad. Like, really bad. Like, "it just counted all the things in view of a satellite" bad. It made no sense, and was woefully inaccurate.
The new algorithm is not only more accurate, it feels better, because with the console upgrade, you can watch the meteor simulation and see exactly where you need more shielding to protect the station.
Images of changes
2025-01-10.15-01-42.mp4
Since the video, it also became possible to click on the satellites in the map view to toggle them.
Testing
Verified that tabs, zoom level, and map offset were all preserved when reopening the UI.
Opened each tab both with and without a meteor shield goal, and with and without shield sats.
Ran a simulation with no satellites and watched the station get pelted.
Ran a simulation with some active satellites and watched the station get pelted less.
Ended a round with >75% coverage. Got greentext.
Declaration
Changelog
🆑
tweak: The meteor shield coverage algorithm has been changed to throw simulated meteors at the station. This means that 100% coverage is now (close to) complete protection of the station.
tweak: The shield satellite control computer has been given a complete overhaul, and will now display the coverage simulation in real time.
tweak: The meteor shield goal is now considered complete at 75% coverage. You must perform a simulation with the control computer to calculate your coverage.
tweak: Shield sat crates are now cheaper (250 -> 100) and contain more shields (3 -> 4) to account for the increased difficulty of coverage.
/:cl: