SlotLock
Lock inventory slots: a locked slot keeps its item when you place stacks, store, sort or move everything, and an emptied slot stays reserved for its item. Hover a slot and press K. Works with OttoStash and InventorySlots. 35 languages.Slot Lock — keep your potion where you put it
35 languages: in-game texts follow your game's language — English · Svenska · Français · Italiano · Deutsch · Español · Русский · Română · Български · Македонски · Suomi · Dansk · Norsk · Íslenska · Türkçe · Lietuvių · Čeština · Magyar · Slovenčina · Polski · Nederlands · Português (Portugal) · Português (Brasil) · 简体中文 · 繁體中文 · 日本語 · 한국어 · हिन्दी · ไทย · Hrvatski · ქართული · Ελληνικά · Srpski · Українська · Latviešu (English otherwise).
Put your healing mead in slot 4 of your hotbar, lock the slot, and it stays there: no more potions sent to a chest by "Place stacks", or scattered by a transfer.
Features
- Lock a slot: open your inventory, hover one of your slots and press K (configurable). A gold frame shows the locked slots; press K again to unlock.
- The item stays: a locked slot is skipped by the game's Place stacks button and by every transfer that empties your inventory into another one.
- OttoStash friendly: a locked slot is also an OttoStash favorite slot, so its store shortcut leaves it alone. The middle click keeps its OttoStash role (store a single slot).
- InventorySlots friendly: its sort button (S) sorts everything around your locked slots, and puts each reserved item back into its locked slot. Its quick stack, store all and take all leave locked slots alone too.
- Reserved when empty: drink the last potion and the slot stays free for it. The next potions you pick up or take go straight back into it, and other items never land in it.
- Change a reservation by hand: drop another item into a locked slot and the slot is reserved for that item from now on.
- Saved with the character: locks follow your character on every server and PC.
- Client side: only the players who want locked slots need the mod.
Configuration
BepInEx/config/com.Azura.slotlock.cfg:
| Setting | Default | Meaning |
|---|---|---|
Enabled |
true |
Locked slots keep their item |
LockKey |
K |
Key to lock or unlock the hovered slot (inventory open) |
SyncWithOttoStash |
true |
A locked slot is also an OttoStash favorite slot |
FrameColor |
gold | Color of the frame around locked slots |
Installation
- With a mod manager (r2modman, Thunderstore Mod Manager): click Install. BepInExPack Valheim is installed with it.
- By hand: install BepInExPack Valheim, then put
SlotLock.dllinValheim/BepInEx/plugins/.
Tested with Valheim 1.0.17 and BepInExPack Valheim 5.4.2350.
En français
Rangez votre hydromel de soin dans la case 4 de la barre rapide, verrouillez-la, et il y reste : plus de potions envoyées au coffre par « Placer les piles » ni dispersées par un transfert.
- Verrouiller une case : inventaire ouvert, survolez une de vos cases et appuyez sur K (réglable). Un cadre doré montre les cases verrouillées ; K à nouveau pour déverrouiller.
- L'objet reste en place : une case verrouillée est ignorée par le bouton « Placer les piles » du jeu et par tout transfert qui vide votre inventaire dans un autre.
- Avec OttoStash : une case verrouillée est aussi une case favorite d'OttoStash, que son rangement laisse tranquille. Le clic molette garde son rôle dans OttoStash (ranger une seule case).
- Avec InventorySlots : son bouton de tri (S) range tout autour des cases verrouillées et remet chaque objet réservé dans sa case. Son rangement rapide, « tout ranger » et « tout prendre » les laissent tranquilles aussi.
- Réservée une fois vide : la dernière potion bue, la case reste libre pour elle. Les prochaines potions ramassées y retournent, et aucun autre objet ne s'y met.
- Changer de réservation à la main : déposez un autre objet dans une case verrouillée, elle lui est réservée désormais.
- Enregistré avec le personnage, sur tous les serveurs et tous les PC. Côté joueur : seuls ceux qui veulent des cases verrouillées installent le mod.
