RandomSizeValuables

v4.0.0·Updated 2026-06-05

【Host Only MOD】Randomly makes generated valuables larger or smaller at a configurable chance, and increases the value of valuables whose size has Changed. Set the accuracy of generating the precious goods, the large ones, the small ones, and the precious ones.

About this mod Author’s original text

RandomSizeValuables

This mod is a host-only mod that randomly changes the size and value of valuables generated by the level.

It modifies some of the valuables that would normally spawn, instead of adding extra valuables.

Features

  • Randomly scales normally generated valuables.
  • Does not add extra valuables to the level.
  • Uses the original valuable size category before scaling.
  • Small valuables can become larger.
  • Medium valuables can become smaller or larger.
  • Large valuables can become smaller.
  • Adds a random value multiplier to scaled valuables.
  • Adds break resistance to scaled valuables.
  • If the break resistance multiplier is set to 10.01, scaled valuables become unbreakable.
  • Rolls the scaled valuable spawn chance once for each maximum scaled valuable slot.
  • Adds bad luck compensation when no scaled valuable appears in a level.
  • Prevents the same valuable name from being selected more than once in the same level.
  • Relocates a scaled valuable if it loses value before being grabbed.
  • Once a player grabs a scaled valuable, later damage is treated as normal gameplay.

Host-only behavior

Only the host needs this mod.

The host decides which normally generated valuables are scaled, applies their value multiplier, and handles relocation when needed.

The size is passed through the valuable instantiation data, so clients without this mod should still see the generated size in normal cases.

Config

The config file is created after launching the game once with the mod installed.

Config path:

BepInEx/config/REPOJP.RandomSizeValuables.cfg

General

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| ModEnabled | Enables this mod. | true | false | true |

| MaxVariantValuableCount | Maximum number of scaled valuables per level. | 50 | 1 | 200 |

| VariantValuableSpawnChance | Spawn chance rolled once per maximum scaled valuable count. | 50 | 0 | 100 |

| BadLuckBonusPerEmptyLevel | Chance bonus added after each level with zero scaled valuables. | 20 | 0 | 100 |

Small Size Band

Small size band means Tiny and Small valuables.

These valuables are scaled upward by default.

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| SmallBandSelectChance | Chance for Tiny and Small valuables to be eligible. | 100 | 0 | 100 |

| SmallBandScaleMin | Minimum scale multiplier for Tiny and Small valuables. | 1.50 | 0.01 | 10.00 |

| SmallBandScaleMax | Maximum scale multiplier for Tiny and Small valuables. | 3.00 | 0.01 | 10.00 |

Medium Size Band

Medium size band means Medium, Big, and Wide valuables.

These valuables can become smaller or larger by default.

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| MediumBandSelectChance | Chance for Medium, Big, and Wide valuables to be eligible. | 100 | 0 | 100 |

| MediumBandScaleMin | Minimum scale multiplier for Medium, Big, and Wide valuables. | 0.50 | 0.01 | 10.00 |

| MediumBandScaleMax | Maximum scale multiplier for Medium, Big, and Wide valuables. | 2.00 | 0.01 | 10.00 |

Large Size Band

Large size band means Tall and VeryTall valuables.

These valuables are scaled downward by default.

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| LargeBandSelectChance | Chance for Tall and VeryTall valuables to be eligible. | 100 | 0 | 100 |

| LargeBandScaleMin | Minimum scale multiplier for Tall and VeryTall valuables. | 0.10 | 0.01 | 10.00 |

| LargeBandScaleMax | Maximum scale multiplier for Tall and VeryTall valuables. | 0.50 | 0.01 | 10.00 |

Value and Durability

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| ValueMultiplierMin | Minimum value multiplier for scaled valuables. | 2.00 | 1.00 | 10.00 |

| ValueMultiplierMax | Maximum value multiplier for scaled valuables. | 5.00 | 1.00 | 10.00 |

| BreakResistanceMultiplier | Break resistance multiplier. Set 10.01 to make scaled valuables unbreakable. | 5.00 | 1.00 | 10.01 |

Damage Relocation

Relocation only applies to scaled val

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
RandomSizeValuables-4.0.0.zip
File size
125.9 KiB