Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
UniversalGrasp
Take all items visually into your hands. Hold the configured modifier (default: **Left Alt**) and left/right-click an item from the inventory to put it into the left/right hand.
CHANGELOG
Changelog
[0.3.1]
Changed
- Made the
VisEquipment.AttachItemtranspiler locate its selection hook semantically. - Kept instantiation-shape validation as a non-blocking Debug diagnostic.
- Kept Valheim's original
Object.Instantiateinstruction intact for better transpiler interoperability. - Made temporary visual-source cleanup scope-based and safe for nested
AttachItemcalls. - Preserved nested
ZNetView.m_forceDisableInitstate with save/restore semantics. - Excluded diagnostic logging and strings from Release builds.
- Separated hand control, attach-source selection, and drop patching into focused classes.
[0.3.0]
Changed
- Removed the Jotunn/JVL dependency.
- Removed the EquipmentAndQuickSlots dependency.
- Replaced quick-slot integration with Alt-click controls in the vanilla player inventory.
- Added a configurable local hand-selection modifier, defaulting to Left Alt.
[0.2.2]
Fixed
- Updated visual equipment integration for Valheim 1.0.
- Prevented a single owned item from appearing in both hands.
- Removed hand visuals when dropping items leaves too few copies in the inventory.
- Added prefab-root support for multi-part item visuals.