SirJose-Slot_Fixer icon

Slot Fixer

Stops pickups from landing on an occupied inventory slot and repairs any items that already overlap.

By SirJose
Last updated a week ago
Total downloads 50
Total rating 0 
Categories Mods Deep North Update
Dependency string SirJose-Slot_Fixer-1.1.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

Slot Fixer 1.1.1

1.1.1: fixes 1.1.0 never starting (it could not find the slot type, which lives in assembly_utils). On a working start the log shows "Slot Fixer is watching the inventory" and "Pickup guard is on."

Fixes the inventory glitch where two items end up in the same slot (Equipment and Quick Slots logs item ... 0,4 overlaps another item) and items then refuse to be picked up.

Pickup guard (new in 1.1.0)

Every item you pick up is checked the moment it enters your inventory. If it landed on a slot that is already taken:

  • it goes into a free slot in your regular inventory rows instead, or
  • if there is no free slot, the pickup is cancelled, the item stays on the ground, and a center-screen message tells you.

Set Always block conflicting pickups = true to always leave such items on the ground, even when a free slot exists. Pickups that partly topped up existing stacks are never cancelled (cancelling those could duplicate items).

Periodic repair

Every 1.5 seconds the inventory is checked for items that already share a slot or sit outside the grid (like -1,-1). The equipped item (or the first one) stays; the other moves to a free slot. Nothing is ever dropped or deleted.

Client-side only. Settings: BepInEx/config/com.burks.slotfixer.cfg.