Ntxfloy-OdinStorage_ModernFix icon

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.

Last updated a week ago
Total downloads 147
Total rating 0 
Categories Mods
Dependency string Ntxfloy-OdinStorage_ModernFix-1.0.5
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.20.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.20.0
Koehlerworks-OdinStorage-0.9.2 icon
Koehlerworks-OdinStorage

Central storage terminal: view every nearby chest as one searchable inventory — withdraw, deposit, consolidate, fill level and an item finder. Multiplayer-safe via MultiUserChest.

Preferred version: 0.9.2
Ntxfloy-ValheimEffectListCompat-0.1.9 icon
Ntxfloy-ValheimEffectListCompat

Compatibility bridge for Valheim 1.0 (Unity 6): restores EffectList.Create 5-arg forwarder, Character.Message 4-arg forwarder (fixes OdinStorage), and fixes ZNetScene.RemoveObjects NRE cascade.

Preferred version: 0.1.9

README

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

  1. 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.
  2. 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.
  3. 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.
  4. 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 / Thunderstore)

⚙️ 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.