You are viewing a potentially older version of this package. View all versions.
blacks7ar-OreMines-1.1.3 icon

OreMines

Adds 8 mines/dungeons for ores (ie. copper, iron) across all biomes (except the last biome), that automatically resets (configurable reset day).

Date uploaded 4 days ago
Version 1.1.3
Download link blacks7ar-OreMines-1.1.3.zip
Downloads 2550
Dependency string blacks7ar-OreMines-1.1.3

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

README

# OreMines

Adds 8 mines/dungeons for ores (ie. copper, iron) across all biomes (except the last biome), that automatically resets (configurable reset day).

Watch the video

## Installation (manual)

  • extract OreMines.dll file to your BepInEx\Plugins\ folder

## Features

  • Adds a FlintMine in Meadows biomes that contains flints.. doesn't need a key.

  • Adds a CopperMine and a TinMine in BlackForest biomes that contains copper ore and tin deposits.. needs a key to enter, you can get the key by slaying the first boss Eikthyr.

  • Adds a CoalMine in Swamp and Mountain biomes that contains coal deposits.. needs a key to enter, you can get the key by slaying the second boss The Elder.

  • Adds an IronMine in Swamp and Plains biomes that contains iron ore deposits.. needs a key to enter, you can get the key by slaying the second boss The Elder.

  • Adds a SilverMine in Mountain biomes that contains silver ore deposits.. needs a key to enter, you can get the key by slaying the third boss Bonemass.

  • Adds a BlackMetalMine in Plains and Mistland biomes that contains blackmetal scrap deposits.. needs a key to enter, you can get the key by slaying the fourth boss Moder.

  • Adds a FlametalMine in Ashlands biomes that contains flametal ore deposits.. needs a key to enter, you can get the key by slaying the sixth boss SeekerQueen.

  • Ore deposits and creatures inside and outside the mines are randomly spawned at configurable chance.

  • Mines automatically reset (configurable) at a certain day (configurable reset day) or you can reset it manually by using a console command.

  • Configurable reset day, configurable through config file or Configuration Manager

  • Uses serversync to sync configs from server to client.

  • If adding mod on an existing world you need to install UpgradeWorld mod and use this command.

locations_add BOM_FlintMine01,BOM_FlintMine02,BOM_CopperMine01,BOM_CopperMine02,BOM_TinMine01,BOM_TinMine02,BOM_CoalMine01,BOM_CoalMine02,BOM_IronMine01,BOM_IronMine02,BOM_SilverMine01,BOM_SilverMine02,BOM_BlackMetalMine01,BOM_BlackMetalMine02,BOM_FlametalMine01,BOM_FlametalMine02

## How to reset Manually

  • Open console by pressing default key (F5) then type/copy/paste this command /mines reset
  • (NOTE: Automatic Reset and Manual Reset will only WORK if you are in the same zone as the mine you want to reset or if the mine is loaded in the zone or you are near the mine.. Reset won't work if the mine is not loaded in the zone or you're not in the same zone as the mine.)
  • (NOTE: There are instances that a mine won't reset after you reset it manually or automatically.. When that happens all you need to do is reload the mine in the zone by leaving the zone or going far away for a bit then coming back at the mine.. if its still didn't reset.. just use the reset command again either inside or near the mine.)

Credits

  • big shoutout to @Majestic, thanks for all the test you've done and for all the suggestions.

CHANGELOG

v1.1.3
- fixed blackmetal mine and flametal mine gate bug.
Changelog History (click to expand)

v1.1.2
- unity project updated with the latest game rip 219.16
- fixed automatic reset and added a console command to reset the mine manually. (NOTE: READ How to reset Manually on the Readme page.)
- added 2 new mines (blackmetal mine on plains/mistland and flametal mine on ashlands)
- added 2 new keys for blackmetal mine and flametal mine.
- increased the drops of all ore deposits (configurable).
- added config options for ore deposits dropmin and dropmax
- added mine guards.. mines are now guarded by creatures (guards spawner are also reset with the console command and automatic reset)
v1.0.9
- updated location manager
v1.0.8
- updated for the latest valheim build (219.13) bog witch
v1.0.7
- as requested added config option to make keys stackable and consumable.
v1.0.6
- as requested removed stone drops from flint, tin and coal veins and added config option for ore veins spawn chance.
v1.0.5
- added toggle option to disable mines reset
- adjusted mines reset day max acceptable value to 200.
v1.0.4
- mines now resets its contents every configurable day.
v1.0.3
- fixed all mines falling ore deposits bug hopefully 
- (NOTE: this fixed won't work on worlds that previously have the bug.. you can use upgrade world to reset the mines but idk if the fixed will apply after the resset.)
v1.0.2
- fixed falling ore deposits bug
- (NOTE: this only fixes mines that havent been explored or discovered yet.)
v1.0.1
- fixed silver deposits drop from silver to silverore
- adjusted drop rate to match vanilla ore deposits drop rate
v1.0.0
- first release