You are viewing a potentially older version of this package. View all versions.
HearthAndRune-EnchantFromContainers-1.2.0 icon

EnchantFromContainers

Epic Loot's enchanting table uses materials from nearby chests. Enchant, augment, convert, sacrifice and identify without emptying your storage first.

Date uploaded 2 days ago
Version 1.2.0
Download link HearthAndRune-EnchantFromContainers-1.2.0.zip
Downloads 72
Dependency string HearthAndRune-EnchantFromContainers-1.2.0

This mod requires the following mods to function

RandyKnapp-EpicLoot-0.14.13 icon
RandyKnapp-EpicLoot

Adds loot drops, magic items, and enchanting to Valheim.

Preferred version: 0.14.13
denikson-BepInExPack_Valheim-5.4.2360 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.2360

README

Enchant From Containers

Epic Loot's enchanting table only looks in your inventory. Container-crafting mods such as Craft From Containers don't reach it, because the table has its own screens. This mod lets the table use materials stored in chests near you.

What it does

  • Enchant, augment, convert, rune etching and the other recipes take dust, essences, shards, runestones, coins and other materials from nearby chests. Your inventory is used first, then the closest chests.
  • Sacrifice lists plain materials stored in nearby chests, so you can sacrifice them straight from storage.
  • Identify lists unidentified items stored in nearby chests. The identified item goes into your inventory.

The gear you enchant, augment, disenchant or rune still has to be in your inventory. Epic Loot edits those items in place, and that is not safe for an item sitting in a chest.

Which chests are used

A chest is used when all of these are true:

  • It is within range of you (50 m by default).
  • A player built it. Dungeon and world loot chests are ignored.
  • You can open it: it's not someone else's private chest, and you have access to any ward covering it.
  • Nobody else has it open right now.

Before taking items, your game takes ownership of the chest the same way it does when you open one. The change saves normally and syncs to the server and other players. Works alongside MultiUserChest.

Install

Install with a mod manager, or copy plugins/EnchantFromContainers.dll into BepInEx/plugins/. Requires BepInEx and Epic Loot 0.14.13 or newer, which adds the inventory-provider API this mod uses. No Epic Loot code is patched.

The mod is client-side. Players who don't install it can still join the same server; they just won't get the feature. Installing it on a dedicated server is harmless and does nothing there.

Settings

BepInEx/config/hearthandrune.enchantfromcontainers.cfg

Setting Default Description
Enabled true Turns the mod on or off.
Range 50 How far (metres) from you a chest can be. 0 means unlimited.
Debug false Logs every count and every item taken to BepInEx/LogOutput.log.

CHANGELOG

Changelog

1.2.0

  • First public release.
  • Identify lists unidentified items stored in nearby chests.
  • Sacrifice lists plain materials stored in nearby chests.
  • Materials that Epic Loot has tagged with item data, such as looted dust and runestones, are now counted. Previously only untagged stacks were found.