You are viewing a potentially older version of this package. View all versions.
TheMorningStar-Loot_Topup-1.2.0 icon

Loot Topup

Loot safety net: guarantees a minimum valuable count on sparse maps, plus a watchdog that tops up loot if destroyed items would softlock the run. Respects no-loot mutators. Host-authoritative. By TheMorningStar.

Date uploaded 2 weeks ago
Version 1.2.0
Download link TheMorningStar-Loot_Topup-1.2.0.zip
Downloads 420
Dependency string TheMorningStar-Loot_Topup-1.2.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Zehs-REPOLib-4.2.0 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.2.0

README

Loot Topup

Safety net for loot generation. Guarantees a minimum number of valuables on sparse maps, and a watchdog tops the level back up if enough loot gets destroyed that the haul goal stops being reachable. It never removes anything, only adds copies of the level's own valuables, and it skips no-loot mutators like Hunting Season. The host runs the logic.

By TheMorningStar.

For developers - detailed breakdown

v1.2.0: REPOLib-registered (modded) valuables now spawn through REPOLib 4.2.0's NetworkPrefabs.SpawnNetworkPrefab(PrefabRef, ...) instead of the removed string overload; base-game valuables keep the plain Photon Resources path, singleplayer uses a local Instantiate. Any template whose spawn fails (null return or exception) is blacklisted for the rest of the level and still counts toward the per-level spawn cap, so a bad prefab can't flood the log or retry forever.