OdinStorage ModernFix
Compatibility fix for OdinStorage on modern Valheim (Ashlands / 1.0+). Fixes terminal piece [E] interaction, item deposit/withdraw actions, direct UI hotkey opening, and chest markers.
模組介紹 作者原文
OdinStorage — Modern Valheim Fix (Ashlands & 1.0+)
A lightweight compatibility and usability patch for OdinStorage by Koehlerworks.
This mod does not replace or re-host the original mod files. It acts as a clean Harmony patch on top of Koehlerworks-OdinStorage.
🛠 What This Fix Does
- Restores Physical Terminal Interaction ([E]):
- In modern Valheim (0.217+ / Ashlands / 1.0+), the game updated the Hoverable interface by requiring GetHoverOffset().
- Because the original OdinStorage was compiled before this update, Unity failed to instantiate the script on the terminal block, leaving the block uninteractable.
- This patch intercepts interactions on OdinTerminal and displays [E] Open Storage with full interaction support.
- Fixes Item Withdraw, Deposit, and Search Actions:
- In modern Valheim, Character.Message gained an additional parameter, causing MissingMethodException crashes whenever withdrawing (1, 10, All), depositing (Store all), or locating items (Find).
- This patch handles these operations and restores full item transfer functionality cleanly.
- Direct UI Opening via Hotkey:
- In the original mod, the configured Hotkey (default O) was coded only to run a diagnostic chest count into the BepInEx console log.
- This patch enhances the hotkey to directly open and toggle the Storage Terminal GUI from anywhere within chest radius. Pressing the hotkey opens the window; pressing it again or pressing Escape closes it.
- Retroactive World Compatibility:
- Any Odin Terminal pieces already built in your world will immediately become functional upon loading — no need to dismantle and rebuild them.
📦 Requirements
- BepInExPack Valheim
- Jötunn, the Valheim Library
- OdinStorage (by Koehlerworks) (installed automatically as dependency via r2modman)
⚙️ Configuration
The patch respects your existing com.nicolai.odinstorage.cfg configuration file:
- Hotkey — Key that toggles the storage window (default: O).
- Radius — Search radius in meters for nearby chests (default: 20).
👤 Credits
- Original mod and central storage logic by Koehlerworks.
- Compatibility patch & modern interface restoration by Ntxfloy.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
denikson-BepInExPack_ValheimValheimModding-JotunnKoehlerworks-OdinStorageNtxfloy-ValheimEffectListCompat