C
CORPUS
Valheim · Loot

Loot tables

CharacterDrop and DropTable have distinct RNG semantics. CharacterDrop unscaled int Range uses amountMax as supplied; DropTable draw count uses dropMax+1 and weighted selection/oneOfEach. Resource scaling can change integer RNG to float RNG then round and clamp; exclusions and max stacks matter.

At a glance

Evidence
Reviewed game implementation
Reviewed Steam build
21981559

Scope of the calculation

Swipe to see all columns. Keyboard: focus the table, then use the arrow keys.

Limit
No generic expected-drop calculator; Unity RNG endpoints/rounding and all branch semantics must be preserved.
Prefab parameters are asset-derived; live state/engine outcomes require-runtime.