Valheim

File information

Last updated

Original upload

Created by

Digitalroot

Uploaded by

Digitalroot

Virus scan

Safe to use

Tags for this mod

About this mod

Raises the chance to spawn larger dungeons.

Requirements
Permissions and credits
Mirrors
Changelogs
Donations
Raises the chance to spawn larger dungeons.

License
GNU Affero General Public License v3.0
Closed-source license is available for commercial use.

Source
GitHub

Digitalroot's Max Dungeon Rooms
Raises the change to spawn larger dungeons. Valheim makes a limited
number of attempts to spawn rooms for a dungeon.

The defaults for Forest Crypt are 20/40.  
The defaults 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)
  • Download the latest release archive (zip) file.
  • Extract the archive into <Steam Location>\steamapps\common\Valheim\BepInEx\plugins

Configuration
  • Min Rooms
  • Max Rooms

Advanced Configuration
Each dungeon type can have their own values. Enable the override for the dungeon and set it's values. If an override is not enable, then the values from the General section are used.

Issues/Bugs
Open an issue or bug on the issue board.

Questions
Ask a question on the discussions board.


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


Digitalroot can be found in the Valhalla Legends' Discord