You are viewing a potentially older version of this package. View all versions.
Dova-OdinHatesLitter-1.0.0 icon

OdinHatesLitter

Odin occasionally judges players for dropping items on the ground.

By Dova
Date uploaded 2 months ago
Version 1.0.0
Download link Dova-OdinHatesLitter-1.0.0.zip
Downloads 30
Dependency string Dova-OdinHatesLitter-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2202

README

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/