Dynamic Container Loot

Dynamic Container Loot Wiki

When multiple mods change the same container (barrel, chest, sack, etc.), Skyrim only keeps the last mod's version and throws away everyone else's changes. This plugin fixes that. It finds the missing items and puts them back. Install it, forget about it.

Quick Start: Install with your mod manager, launch the game. That's it. Check Data/SKSE/Plugins/DynamicContainerLoot.log if you want to see what it did.

Requirements

What This Mod Does

When multiple mods change the same container, Skyrim only keeps the last mod's version. Every other mod's items are silently deleted. This plugin checks every mod that edited each container, figures out what was added or removed, and merges it all together at startup. Think of it like an automatic Bashed Patch for containers.

What This Mod Does NOT Do

This comes up a lot, so let's be clear:

The Problem

Skyrim has a simple rule: if two mods edit the same thing, the last one in your load order wins and the other gets thrown out. So if Mod A adds apples to a barrel and Mod B adds cheese to the same barrel, you only get the cheese. The apples are gone. No warning, no error. Just silently deleted.

The more mods you have, the worse this gets. Hundreds of items across your load order can just vanish.

The Fix

Dynamic Container Loot looks at every mod that touched each container, figures out what each one added or removed, and merges all those changes together. The result is the same as if you had manually built a compatibility patch for every container conflict in your load order, except you don't have to do anything.

How It Works (Simple Version)

Key Features

Fully automatic
No ESP required
Works with all mods
SE + AE + VR support
Added items restored
Removed items respected
Item count changes kept
Winning mod preserved

INI Settings

The config file is at Data/SKSE/Plugins/DynamicContainerLoot.ini. If it doesn't exist, it gets created automatically the first time you launch the game.

[General]
;Enable detailed merge logging (true/false)
enablelogs = false

Settings Reference

enablelogs

Default: false
Logs every single item that was added, removed, or changed for each container. Helpful if you want to see exactly what was merged, but it makes startup slower. Leave it off unless you're curious or troubleshooting.

Reading the Log

The log at Data/SKSE/Plugins/DynamicContainerLoot.log always shows a summary of what happened:

=== DynamicContainerLoot: Merge complete ===
  Total containers: 1247
  With overrides (base + winner only): 89
  With conflicts (3+ sources): 34
  Actually merged: 12
  Total items added: 27
  Total items removed: 3
  Total items count changed: 2

If you turn on enablelogs, you also get a detailed breakdown for each container:

  BarrelFood01 [CONT:0001003E]
    Sources: Skyrim.esm, FoodExpansion.esp, LootOverhaul.esp
    -- Changes --
      + [ALCH] Apple x2 [00064B2F] (added by FoodExpansion.esp)
      + [ALCH] SweetRoll x1 [00064B40] (added by FoodExpansion.esp)
    -- Carried forward --
      . [ALCH] Bread x1 [00064B30]
    Result: +2 added, -0 removed, ~0 count changed
    -- Final state --
      * [ALCH] Bread x1 [00064B30]
      * [ALCH] Apple x2 [00064B2F]
      * [ALCH] SweetRoll x1 [00064B40]
    (3 items total)

Heads up: Detailed logging makes startup noticeably slower because it has to look up the name of every item. Keep it off for normal play.

Compatibility

Credits

Export Wiki

Copy the wiki content as BBCode (for Nexus mod pages) or Markdown.

Support me on Ko-fi