Stollie-DeathTweaks icon

DeathTweaks

Lets you tweak what happens when you die, including item dropping and keeping, whether a tombstone is created, whether food levels are kept, whether to reduce skill levels, etc.

Last updated 7 months ago
Total downloads 9411
Total rating 1 
Categories Ashlands Update
Dependency string Stollie-DeathTweaks-0.9.3
Dependants 20 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1900 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.1900

README

Description

I am uploading this here as the current version doesn't work with Ashlands PTU. The following is a slightly edited excerpt of the original mod's description as per its Nexus page:

This mod contains the following config options:

  • KeepItemTypes - a list of item types to always keep on death
  • DropItemTypes - a list of item types to always drop on death
  • DestroyItemTypes - a list of item types to always destroy on death
  • KeepAllItems - whether to keep all items
  • DestroyAllItems - whether to destroy all items
  • KeepEquippedItems - whether to keep equipped items
  • KeepQuickSlotItems - whether to keep items in Equipment and Quick Slots quick slots
  • UseTombStone - whether to create a tomb stone
  • CreateDeathEffects - whether to create a ragdoll
  • KeepFoodLevels - whether to keep food levels on death
  • ReduceSkills - whether to reduce skills on death
  • SkillReduceFactor - the fraction of skill xp to lose
  • NoSkillProtection - whether to force skill loss on every death
  • SpawnAtStart - Whether to force respawning at start location
  • UseFixedSpawnCoordinates - Whether to use custom fixed spawn coordinates

Only use either KeepItemTypes or DropItemType. DestroyItemTypes overrides both. KeepEquippedItems overrides the lists and KeepAllItems or DestroyAllItems overrides all the others.

As of version 0.3.0 it should work with Equipment and Quick Slots.

Config

A config file BepInEx/config/aedenthorn.DeathTweaks.cfg is created after running the game once with this mod).

You can adjust the config values by editing this file using a text editor or in-game using a Config Manager.

To reload the config from the config file, type deathtweaks reset into the game's console (F5).

Technical

To install this mod, the easiest way is to just use a mod manager like r2modman. It should take care of all dependencies.

To install manually, place the dll file in the BepInEx/plugins folder. You will need BepInEx.

Code is at https://github.com/aedenthorn/ValheimMods.

Notes

All credit goes to aedenthorn for creating this mod, I simply fixed the assembly references and re-built it.