Truck side guards: one length and height, picked by the part's switch #209
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!209
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/209/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-24 21:05 UTC · original
holdmysocks:claude/mule-sideguards→master· +97 −13 · 2 files · 2 commits · merged 2026-11-24 21:33 UTCWhat
The mule (and iota, benson, tiptruck, towtruck) showed every side guard at once: three lengths and two heights stacked between the wheels, one of them running through the rear wheel.
sideguard_attach_l/_rbones. The part's modifier list names two switches (6191ddc2, one per side) whose options pick one element by key: the bed part sets a height key (93a3a3efon flatbeds,15354754on boxes), the truck's chassis part a wheelbase key (77a0c459tiptruck,2e440529iota and benson,714aaeeemule).vehicles.jsoncarried switches only for a vehicle's own pack, so library parts fitted every element.switched_elementscounts them), so the existing switch code shows one.b21fa2e2) that lives in the library; these were not resolved (only key modifiers in the same pack were). The wheelbase key is such a one, on the chassis part.vehicles.jsonFORMAT 15 -> 16. 22 part entries on 9 vehicles change (side guards and similar on benson, iota, mule, tiptruck, towtruck, one unnamed truck; one part on gauntlet4 and landstalker2).Checked
sixng vehicle --config 0with the old and the newvehicles.json: mule, benson and iota lose 10 guard pieces each and keep 2; bobcatxl and caracara4x4 fit exactly the same pieces as before.cargo test --workspace: 188 + 20 passed, 0 failed, 3 ignored.Not decoded / not done