


GuaranteedCosmeticCrate is a BepInEx mod for REPO that improves the vanilla cosmetic crate spawn system while keeping full compatibility with the game's original logic.
Instead of replacing REPO's spawning system, this mod extends it.
The mod uses REPO's internal:
SetupHost()SpawnCosmeticWorldObject()No manual Photon spawning.
If vanilla fails to spawn a cosmetic crate:
If vanilla already spawned one:
Optional rarity multipliers allow better crates to appear more often.
Configurable:
Uses REPO's own spawning system.
Compatible with:
Detailed console logs included.
Examples: [GuaranteedCrate] Vanilla already spawned crate(s): 1
[GuaranteedCrate] No vanilla cosmetic crate detected. [GuaranteedCrate] Forcing cosmetic crate spawn... [GuaranteedCrate] Selected rarity: UltraRare [GuaranteedCrate] Cosmetic crate spawned successfully
Useful for:
GuaranteedCosmeticCrate.dll
inside:
REPO/BepInEx/plugins/
Config file will be generated automatically.
Config location:
REPO/BepInEx/config/nzoow.repo.guaranteedcosmeticcrate.cfg
Example:
[General]
GuaranteedCrate = true
SpawnChanceMultiplier = 1.5
[Rarity]
RareMultiplier = 1.5
UltraRareMultiplier = 2.0
[Debug]
VerboseLogs = true
Guarantees at least one cosmetic crate.
Default:
true
Boosts vanilla cosmetic spawn chance.
Default:
1.5
Boosts Rare crate weight.
Default:
1.5
Boosts UltraRare crate weight.
Default:
2.0
Enables detailed console logs.
Default:
true
The mod:
ValuableDirector.SetupHost()cosmeticWorldObjectTargetAmountchanceCurveSpawnCosmeticWorldObject() through reflectioncosmeticWorldObjectBadLuckCountNo hardcoded crate prefabs.
No unsafe Photon spawning.
Designed for:
Should work with most gameplay mods.
Created by nzoow
Powered by: