Source-checkedQuality of life & UI

True1 5x

by mtsukn · for Valheim

Patches drop scaling to roll the remainder instead of rounding up.

244Downloads
12 mo agoLast updated
BepInExLoaders
ThunderstoreSource

About True1 5x

From Thunderstore

Patches drop scaling to roll the remainder instead of rounding up.

NOT TESTED IN MULTIPLAYER

DOES NOT AFFECT DROP CHANCES, ONLY AMOUNTS

True 1.5x

Patches drop scaling to roll for the remainder instead of rounding up. In 1.5x resourceRate this means a dandelion for example won't always drop 2 items. It will drop 1 and flip a coin to drop another.

Also includes a fix for a discrepancy in the code causing wrongly scaled drops when playing with modified resource rates.

FAQ

Is it laggy?

Probably not. I couldn't see a difference even when popping objects with 50+ nodes.

Does it work in multiplayer?

I haven't tested it in multiplayer but I assume if you own the GameObject that's handling the drop method it should apply the patch accordingly.

How does the rounding patch work?

By default the game rounds float values up. So if the resourceRate is set to 1.5x, items that usually drop 1 will drop 1.5 items. Of course you can't drop half an item so it rounds up to 2. Even something that drops 1.01 items (theoretically) would be rounded up to 2. This mod replaces the rounding method with a method that rolls the remainder to add one or not. So if something drops 1.5 items, it will drop one and then roll a 50% chance to add another. If something drops 1.25 items, it will drop one and roll a 25% chance to add another, etc.

What does the range patch do?

There's a discrepancy in the game code where different methods are used to calculate a random range depending on the resourceRate. By default (1x resourceRate) the game uses integers when rolling how many items to drop. For example, the Deer prefab drops 1-3 deer hide. So it puts the minimum drop and the maximum drop into Random.Range(min, max) which generates a random number between 1 and 3. But wait, deer only drop 1-2 hide right? That's because the Random.Range(int, int) method is non-inclusive. Meaning that, although you put 3 as the max, it truncates down to 2. So deer only drop 1 or 2 hide, averaging to 1.5.

However, when modified resourceRates are active (any other than 1x) then the game uses Random.Range(float, float) which IS inclusive. So now the result is any float between 1.0 and 3.0. Just this discrepancy, before the resourceRate multiplier is even applied, changes the average to 2.0 when the default is 1.5.

Here's an example: We kill a deer and it rolls to drop 2.6 hide. At the default 1x resourceRate this value would be truncated to 2. With 2x resourceRate it multiplies it to be 5.2. Then it rounds it up to 6. So somehow, by turning on 2x drop rates, something that usually can only drop 2 items drops 6! That's not 2x. To fix it I added a patch to the method that minuses 1 from the max. This is combination with the rounding patch fixes the discrepancy and the average.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 12 mo ago.

True1 5x on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.0.1, released 2025-10-30

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 1 recorded build of True1 5x.

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run True1 5x on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Tweaks”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Compatibility

Game
Valheim
Loaders
BepInEx
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
  • ✓Authormtsukn, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

True1 5x, answered

Generated from the mod’s own source data.

Which loaders does it support?

BepInEx.

Is it free?

Yes. True1 5x is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run True1 5x on a Valheim server.

Deploy in about a minute from $9.99 a month, then add True1 5x in one click.