Add vehicle zone enable/disable keys to the zone manager UI #83641
+56
−0
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
Interface "Add vehicle zone enable/disable keys to the zone manager UI"
Purpose of changes
My personal use pattern with zones bound to vehicle cargo carriers / boxes is fairly complex. I tend to have a large number of small zones that match very specific sets of items.
This is really annoying when I need to move a bunch of stuff into a vehicle or out of a vehicle, without regard to my normal zone definitions. I end up manually enabling/disabling ~20 zones in the case of a giant, cancerous RV.
Describe the solution
My solution was to add keybindings to mass-enable and mass-disable vehicle zones. This way, when I need to unload specific things from ALL vehicle zones, I can create a local "unsorted" zone, disable ALL vehicle zones instantly, and just have things dump to zones outside the vehicle when sorted.
To paraphrase famously bad repair manuals, loading is the opposite of unloading.
Describe alternatives you've considered
I am not sure it makes sense to have two keys to enable and disable vehicle zones. I did this in order to follow the pattern set by personal zones on the adjacent
z/xkeys.If it were left to me, I would just have a "toggle all vehicle zones" key.
Testing
When entering the zones manager UI (default:
Y), you should see all zones bound to vehicle tiles listed.When hitting "disable vehicle zones" (default:
v), all vehicle zones should be disabled in one go, but personal and local zones should be left unchanged.Similarly, when hitting "enable vehicle zones" (default:
c), all vehicle zones should be enabled in a single go.Additional context
N/A