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.
Summary
SUMMARY: Features "Dangerzone map notes"
Purpose of change
Fixes #36792
Describe the solution
Allow you to mark a map note as dangerous from the list notes UI, and set a danger radius.
Pathing will then reject this area nad go around it.
Describe alternatives you've considered
Other ways of marking it, perhaps by choosing a specific color or symbol, but rejected that as too ambigious, better if its set specifically as a bool.
Testing
Made a map note, in the list notes UI, I marked it as dangerous from the new UI key option displayed there, this then displayed the Dangerous area! top-right map text when hovering over the note, and when selecting an autotravel route, it went around that point.
Tried again with a radius of 2, and it went around that expanded area.
When trying to select a point to path to within a danger area, the game hangs briefly, this is trying all possible routes to get within the danger zone, but cannot, I dont see this as a huge problem, its a bit annoying but im not sure how to fix that.
Additional context
N/A