BoombasketMods-DraugrIronOre icon

DraugrIronOre

Adds a configurable 33% chance for Draugr to drop 1-3 bonus Iron Ore.

Last updated 2 days ago
Total downloads 53
Total rating 0 
Categories Mods Enemies Misc
Dependency string BoombasketMods-DraugrIronOre-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 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.2351

README

Draugr Iron Ore

Standalone BepInEx plugin source for Valheim. Adds a bonus Iron Ore drop to eligible Draugr without replacing their normal loot.

Default behavior

  • 33% chance per eligible Draugr death
  • 1–3 Iron Ore on a successful roll
  • Includes Draugr, Draugr Elite, and Draugr Ranged by default
  • Configurable through BepInEx config
  • No DropNSpawn or Jötunn dependency

Requirements to build

  • Valheim installed through Steam
  • BepInExPack Valheim installed and run once
  • .NET SDK installed (dotnet --info should work)
  • PowerShell on Windows

Build

  1. Extract this source ZIP.
  2. Open PowerShell in the extracted DraugrIronOre folder.
  3. Run .?uild.ps1.
  4. If Valheim is installed in a different folder, run: .?uild.ps1 -ValheimDir "D:\Games\Steam\steamapps\common\Valheim"

The script builds against the local Valheim managed assemblies and BepInEx libraries. On success, the DLL is copied to Thunderstore\BepInEx\plugins\DraugrIronOre.dll.

Local installation

Copy Thunderstore\BepInEx\plugins\DraugrIronOre.dll to the BepInEx\plugins folder of your Valheim install or your Thunderstore Mod Manager/r2modman profile. With a mod manager, use Settings / Profile folder / Browse profile folder, then open BepInEx\plugins.

Launch the game once. The configuration file will be generated at: BepInEx\config\com.example.draugrironore.cfg

Configuration

  • DropChance = 0.33 (33%)
  • MinAmount = 1
  • MaxAmount = 3
  • IncludeEliteDraugr = true
  • IncludeRangedDraugr = true

Make a Thunderstore upload ZIP

  1. Build successfully with .?uild.ps1.
  2. Run .\package.ps1 -Version "1.0.0".
  3. Upload the generated DraugrIronOre-1.0.0-Thunderstore.zip from the project folder to your Thunderstore team's upload page.

The upload ZIP includes the compiled DLL at BepInEx/plugins/DraugrIronOre.dll plus the required root-level manifest.json, README.md, and icon.png.

Important testing note

This source archive does not include a compiled DLL because compiling requires the Valheim and BepInEx assemblies from your own installation. I have not run this plugin inside Valheim. Test in a disposable world/profile first and check BepInEx/LogOutput.log for errors. The plugin adds a separate bonus item and does not intentionally alter vanilla loot tables. Modded Draugr variants are not included unless their prefab names match one of the three supported names.