You are viewing a potentially older version of this package. View all versions.
Terramizer-HereComesTheVein-0.1.7 icon

HereComesTheVein

Adds weighted IronOre drops to existing copper veins, averaging about 60% CopperOre and 40% IronOre.

Date uploaded 2 months ago
Version 0.1.7
Download link Terramizer-HereComesTheVein-0.1.7.zip
Downloads 58
Dependency string Terramizer-HereComesTheVein-0.1.7

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

HereComesTheVein

I use AI to review code and assist with optimization and integrity; I manually test and review every mod, and all decisions and code remain my own.

A lightweight Valheim mod by R4V9N1.

HereComesTheVein keeps vanilla copper veins unchanged and adds weighted IronOre drops to them.

Behaviour

  • Existing copper vein drop tables receive a weighted IronOre entry alongside CopperOre.
  • The configured weighting averages approximately 60% CopperOre and 40% IronOre.
  • IronOre drops are locked until the Elder has been defeated in the world.
  • Vanilla copper vein models, names, mining behavior, quantities, and world-generation identity remain unchanged.
  • The server applies the loot change authoritatively; clients may also install the mod for matching setup and diagnostics.
  • Existing worlds are supported because the mod does not regenerate or rewrite world-generation data.

Multiplayer

Install the mod on the server/host and on every client.

Requirements

  • Valheim
  • BepInExPack Valheim

Manual installation

Copy HereComesTheVein.dll into:

Valheim\BepInEx\plugins\HereComesTheVein\

Removal

Removing the DLL stops the runtime loot augmentation. The mod does not rewrite vanilla copper-prefab identities or world-generation data.

Technical approach

The plugin patches Valheim's streamed ZNetScene.CreateObject path. It recognizes rock4_copper and rock4_copper_frac, deterministically selects a minority by position, recolors only that instance, and swaps CopperOre entries in the instance mining drop table to IronOre.

CHANGELOG

Changelog

0.1.13

  • Reworked after persistent dedicated-server loot issues caused by the intended Elder-gated/special-vein implementation; that approach could load successfully while still producing no IronOre.
  • Reverted the Elder-gated/special-vein behavior to the simple copper-vein loot function.
  • CopperOre results now have a 20% chance to become IronOre, with no Elder kill, trophy, altar, texture, or special vein requirement.
  • Keeps the same loot substitution path for dedicated servers and clients.
  • The mod package icon is a custom-made icon and is not AI-generated.

0.1.12

  • Relays Elder guardian-power activation from clients to the dedicated server so the world-wide IronOre unlock works in multiplayer.

0.1.7

  • Added an activated Elder OfferingBowl trophy fallback for restored worlds missing the global Elder defeat key.

0.1.6

  • IronOre drops from copper veins now begin only after the Elder has been defeated.

0.1.0

  • Replaced the package icon with a custom-made, non-AI-generated icon.

  • Initial HereComesTheVein build.

  • Moved the CopperOre/IronOre substitution to Valheim's final DropTable.GetDropList boundary so mining results reliably average 60% CopperOre and 40% IronOre.

  • Matched the standard Thunderstore package layout: plugins/HereComesTheVein/HereComesTheVein.dll.

  • Replaced the experimental Iron Vein conversion with loot-only copper vein augmentation: weighted drops average 60% CopperOre and 40% IronOre.

  • Applies on dedicated servers and clients through BepInEx/Harmony; Jotunn is not required.

  • Replaced the package icon with a custom-made, non-AI-generated icon.

  • Converts a deterministic 20% subset of copper vein sites into Iron Veins.

  • Adds black/silver runtime material treatment.

  • Preserves copper vein drop quantities/chances while replacing CopperOre with IronOre.

  • Supports existing worlds without rewriting world-generation data.

  • Adds Windows client build and Thunderstore package automation.