Build the list of gear items a body part may hold: only items whose kind is in holdableKinds and that are not stowed inside a container (you cannot grip a weapon sitting in a bag). Order is preserved.
holdableKinds
Candidate gear items (typically the actor's weapons + misc gear).
Resolves an item's kind.
Resolves the container id an item is stowed in (empty/undefined = loose).
The kinds eligible to be held.
The holdable options, in input order.
Build the list of gear items a body part may hold: only items whose kind is in
holdableKindsand that are not stowed inside a container (you cannot grip a weapon sitting in a bag). Order is preserved.