Valheim
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
2 months ago
Downloads
271
Size
150KB
Dependency string
Dova-OdinHatesLitter-1.0.0
ADDatHost Valheim hosting
30% off!

OdinHatesLitter

I'm working to make the mod more interactive with it getting progressively more angry with each drop, for now it is random. A tiny Valheim BepInEx mod that roasts players when they intentionally drop items from their inventory.

v1 behavior

  • Triggers only from the inventory UI drop action.
  • Does not trigger from deaths/tombstones.
  • Does not trigger from loot drops or world spawns.
  • Client-side only.
  • No Jotunn dependency.

Config

Generated after first launch:

[General]
EnableMod = true
TriggerChance = 10
CenterMessage = true
DebugLogging = false

Build setup

Create a libs folder beside the project folder:

OdinHatesLitter/
├─ libs/
│  ├─ BepInEx.dll
│  ├─ 0Harmony.dll
│  ├─ assembly_valheim.dll
│  ├─ UnityEngine.dll
│  └─ UnityEngine.CoreModule.dll
└─ OdinHatesLitter/
   ├─ OdinHatesLitter.csproj
   ├─ Plugin.cs
   ├─ LitterMessages.cs
   └─ InventoryGridDropPatch.cs

Usual locations:

  • BepInEx.dll and 0Harmony.dll: your r2modman profile folder -> BepInEx/core/
  • assembly_valheim.dll: Valheim/valheim_Data/Managed/
  • Unity DLLs: Valheim/valheim_Data/Managed/

Then build with Visual Studio or:

dotnet build -c Release

Put the compiled OdinHatesLitter.dll into:

r2modman profile folder/BepInEx/plugins/
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.