You are viewing a potentially older version of this package. View all versions.
OdinPlus-Digitalroot_Valheim_MaxDungeonRooms-1.0.0 icon

Digitalroot Valheim MaxDungeonRooms

Raises the chance to spawn larger dungeons.

Date uploaded 2 years ago
Version 1.0.0
Download link OdinPlus-Digitalroot_Valheim_MaxDungeonRooms-1.0.0.zip
Downloads 6869
Dependency string OdinPlus-Digitalroot_Valheim_MaxDungeonRooms-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1901 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1901
ValheimModding-Jotunn-2.10.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.10.0

README

Summary

Raises the chance to spawn larger dungeons.

License

GNU Affero General Public License v3.0

Digitalroot's Max Dungeon Rooms

Raises the change to spawn larger dungeons. Valheim makes a limited number of attemps to spawn rooms for a dungeon.

The defauts for Forest Crypt are 20/40.
The defauts for Sunken Crypt are 20/30.

This mod alters these values for a higher chance of spawning more rooms per dungeon.

FAQ

  • What is the lowest number of rooms I have spawned using this mod? 6
  • What is the highest number of rooms I have spawned using this mod? 99
  • Will this cause performance issue? Yes, it can on slower PCs.
  • What happens to spawned dungeons if the mod is removed? They stay, they are part of the world save file.

The Algorithm

The Min/Max values do not functions as I expected them to. The algorithm the Dungeon Generator uses looks like the following.

for (int i = 0; i < maxRooms; i++)
{
  TryToPlaceOneRoom();
  if (HasAllRequiredRooms() && placedRooms.Count > minRooms)
  {
    break;
  }
}

Dungeon Generator will stop spawning more rooms when either of the two statement are true.

  • All required rooms have spawned and the min number of rooms have spawned too.
  • Dungeon Generator has made up to the max number of attempts to spawn rooms.

Installation (manual)

  1. Download the latest release archive (zip) file.
  2. Extract the archive into <Steam Location>\steamapps\common\Valheim\BepInEx\plugins

Configuration

  • Min Rooms
  • Max Rooms

Issues/Questions/Bugs

  • Use the repo issues tab above.

Support Me @ https://www.buymeacoffee.com/digitalroot

Digitalroot can be found in the Odin Plus Team Discord