Simple Smarter Corpse Run And Tombstone

v1.0.1·Updated 2023-10-25

The 'Corpse Run' buff and the tombstone will now check for items like your Megingjord when interacting and calculating the buff to prevent you accidentally getting overburdened

About this mod Author’s original text

This mod removes some annoyances and inconsistencies from the runback after a death.

Smarter 'Corpse Run' buff:

Instead of always giving 150 carrying capacity, the 'Corpse Run' buff now gives you as much bonus carrying capacity as you had when you died.

When you then put back on your items like your Megingjord, 'Corpse Run' will remove its part from the bonus carrying capacity buff, so your total stays the same and you don't get overburdened when the buff runs out.

If you did not have any such item when you died, 'Corpse Run' will not give you any bonus carrying capacity, so you don't get overburdened when the buff runs out.

So now the only way to get overburdened is to not put back on your items at all before the buff runs out.

It also works with modded items, tested:

  • the backpacks from Adventure Backpacks
  • the backpacks from Jude's Equipment

Smarter Tombstone:

When interacting with your tombstone, checking if you have enough carrying capacity to automatically pick it all up will now include the bonus carrying capacity that 'Corpse Run' will give you. So if it all fit before, then it will always fit afterwards!

Additionally, the tombstone will now attempt to first quick stack any items that you collected on your naked runback into your tombstone, so, if possible, all items can return to the positions they were at when you died.

Source code available on github:

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
Simple_Smarter_Corpse_Run_And_Tombstone-1.0.1.zip
File size
26.9 KiB