fix: Increase radius of singulo movement target. #26789
Merged
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
This PR increases the radius around the target turf that a singularity moves towards, considering it successful if it gets within 2 tiles of the target. I'm calling this a fix because the behavior as written doesn't work as intended.
Why It's Good For The Game
Hitting a single tile with a randomly walking object is a crapshoot, especially if it only has a 20% chance to move towards it on any given tick. When the singulo can't manage to pin down its exact destination turf, it will instead be endlessly drawn to it, consuming the nearby station area and eventually running out of new things to consume.
Testing
Created singularities before and after, and observed them for 10 minutes. Observed that before this change, singulos would never hit their target despite coming within striking distance of it, and instead stick in a holding pattern around the target. Observed that after this change, singulos could hit their targets and select new ones.
Declaration
Changelog
🆑
fix: Loose singulos more reliably pick new destinations when traveling.
/:cl: