DropToCapacity
Over your carry weight? Hold Left Alt and click an item to drop just enough of it to get back to your limit. Works while walking or running.
模組介紹 作者原文
Drop to Capacity
A Valheim mod. Over your carry weight? Hold Left Alt and click an item in your inventory. The mod drops just enough of that stack to bring you back to your weight limit. Never more.
How it works
- Open your inventory, hold Left Alt, and left-click an item.
- The mod drops only as many as needed to get you back to your limit. If the whole stack is needed, it drops the whole stack.
- If you are not over your limit, nothing happens.
- Items with no weight are never dropped.
- Works while standing still, walking or running.
- Only affects items in your own inventory. Chests are not touched.
Install
You need BepInExPack for Valheim installed first.
Download: get DropToCapacity-0.1.1.zip from the Releases page, or the two files in the plugins folder of this repo:
- DropToCapacity.dll
- DropToCapacity.Core.dll
Both files are needed.
With a mod manager (Gale, r2modman, Mod Manager):
- Open your profile folder. In Gale: the profile menu, then "Open profile folder".
- Go to BepInEx/plugins.
- Make a folder called DropToCapacity and put both DLLs in it.
- Start the game through the mod manager.
Manual install:
- Go to your Valheim folder (Steam: right-click Valheim, Manage, Browse local files).
- Go to BepInEx/plugins.
- Make a folder called DropToCapacity and put both DLLs in it.
Uninstall: delete the DropToCapacity folder.
Settings
After the first launch, a config file appears at BepInEx/config/com.jonasd.valheim.droptocapacity.cfg.
- ModifierKey (default LeftAlt): the key to hold while clicking.
Some keys are not allowed because they break normal game controls: Escape, Shift, Ctrl, mouse buttons, and whatever your Inventory and Use keys are. If you pick one of those, the mod goes back to Left Alt.
Multiplayer
Only you need it. Other players and the server do not need to install it.
Compatibility
- Holding the key replaces the normal click on inventory items. Other mods that also use Alt+click in the inventory will clash. Change the key in the settings if that happens.
- Holding Shift and Alt together drops, instead of splitting the stack.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: