DeathTweaks

版本 v1.4.1·更新於 2025-04-27

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.

模組介紹 作者原文

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 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.

Notes

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

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
DeathTweaks-1.4.1.zip
檔案大小
102.2 KiB