Vehicles: every shared-part switch with a default follows its keys #227
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!227
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/227/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-25 00:25 UTC · original
holdmysocks:claude/part-switches→master· +9 −7 · 1 files · 1 commits · merged 2026-11-25 01:47 UTCWhat
PR 223 made the number plates follow their switches. This applies the same rule to every other shared-part switch that has a default or an empty option: it shows its default (or nothing) until a fitted part sets the key of one of its options.
Before, those switches were left out and their parts fitted every element. A box truck got its fridge unit three times (one per wheelbase position), a gear lever two heads, a boat two searchlights.
Plain choices (no default, no empty option) keep the existing safety net: they are taken only when the vehicle has a part that can set one of their keys.
vehicles.jsonformat 18; the viewer rebuilds older files.Checked
Not decoded / not done