Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
3 weeks ago
Downloads
539
Size
154KB
ADDatHost Valheim hosting
30% off

HotDeposit

HotDeposit adds Grounded-style storage depositing to Valheim.

Default Controls

Both deposit actions default to H.

[02 - Hotkeys]
EnableKeyBinds = true
AllDeposit = H
HoveredChest = H
LockKeybind = LeftAlt + Mouse0

With the shared H key:

  • while hovering an eligible player-built chest, H uses the hovered-chest action;
  • while not hovering a chest, H uses normal All Deposit.

Combined Lock Keybind

LockKeybind = LeftAlt + Mouse0

Hotbar and automatically protected BetterArchery / EquipmentAndQuickSlots items remain non-lockable.

Storage Range

[03 - Storage]
DepositDistance = 10

The default remains 10 metres and the supported range remains 1-300 metres.

Version 1.0.1 now spatially buckets stationary storage. A deposit only visits grid cells intersecting DepositDistance; chests outside those cells are not inspected, access-checked, inventory-read, ownership-checked, or item-indexed. This keeps 10m searches very small and makes 300m searches scale with the requested area instead of every loaded chest in the world.

Full Configuration

[01 - General]
Enabled = true

[02 - Hotkeys]
EnableKeyBinds = true
AllDeposit = H
HoveredChest = H
LockKeybind = LeftAlt + Mouse0

[03 - Storage]
DepositDistance = 10
IgnoreHotbar = true
IgnoreEquipped = true
HoveredChestDepositAll = true
ShowHoverPrompt = true

[04 - Item Lock]
ShowLockIcon = true

[05 - Notifications]
ShowDepositPopup = true

ShowHoverPrompt is retained so existing configs remain compatible, but the per-container Container.GetHoverText patch is disabled in this performance build. The H actions still work normally. This removes HotDeposit from Valheim's chest camera/look-direction path while the mod is idle.

Valheim 1.0 Wider / Deeper Pockets Compatibility

Version 1.0.2 supports Valheim's native inventory row upgrades. HotDeposit reads Valheim's native invrows row count instead of assuming the player bag always ends after row 4.

This means:

  • items in the Wider Pockets row can be hot-deposited normally;
  • items in the Deeper Pockets row can be hot-deposited normally;
  • those native extra rows can use HotDeposit item locks;
  • BetterArchery quiver cells and EquipmentAndQuickSlots equipment/quick slots remain protected;

Performance

Version 1.0.1 includes the large-storage optimization pass:

  • stationary containers are stored in a 32m spatial grid;
  • range culling happens before component, access, inventory, ownership, or item-content work;
  • 10m no longer walks the full loaded container registry;
  • 300m visits only spatial cells intersecting the configured search area;
  • dynamic/moving storage is tracked separately and checked only when H is pressed;
  • no full destroyed-container prune runs on every deposit; cleanup is lazy in visited cells;
  • the first normal H press avoids a redundant global FindObjectsByType<Container> scan when Container.Awake has already populated the registry;
  • chest inventories are indexed once per deposit rather than rescanned for every player inventory item;

Deposit behavior remains player-built storage only, matching item types only, partial stacks first, then new stacks round-robin across matching chests.

Version

1.0.2

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.