ScalingPrices
Now you can customize price scaling for crystals, health packs and upgrades!
About this mod Author’s original text
Description
You can now adjust the price scaling for Crystals, Health Packs, and Upgrades (Boosters).
How It Works in the Code:
- Initial Calculation:
The item's value is first calculated using a random range multiplied by ValueMultiplier. It is then normalized (with a minimum of 1000, then divided by 1000 and rounded up).
- Bonus Adjustments:
Depending on the item type, the code increases the value further:
- For Upgrades: The value is increased by a percentage based on the number of upgrades purchased multiplied by UpgradeIncrease (from the Default category) and an additional fixed bonus per player from the PerPlayerIncrease setting.
- For Health Packs & Power Crystals: The value is boosted by a percentage based on the levels completed multiplied by their respective Default increase values and a fixed bonus per player from the corresponding PerPlayerIncrease value.
Summary of Scaling Factors
| Item Type | Scaling Factors |
| ------------------ | ---------------------------------------------- |
| Upgrades | Increases with number of purchases and players |
| Health Packs | Increases with levels completed and players |
| Power Crystals | Increases with levels completed and players |
Configuration
| Category | Variable | Default Value | Description |
| ------------------- | --------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Default | ValueMultiplier | 4 | Multiplies the base random value range to determine the item's initial value. |
| Default | UpgradeIncrease | 0.5 | Applies a percentage bonus for upgrade items based on the number of upgrades purchased for the specific upgrade type. |
| Default | HealthPackIncrease | 0.05 | Applies a percentage bonus for health packs based on the number of levels completed. |
| Default | CrystalIncrease | 0.2 | Applies a percentage bonus for power crystals based on the number of levels completed. |
| PerPlayerIncrease | UpgradeIncrease | 0.0 | Adds a fixed bonus per active player for upgrade items. |
| PerPlayerIncrease | HealthPackIncrease | 0.0 | Adds a fixed bonus per active player for health pack items. |
| PerPlayerIncrease | CrystalIncrease | 0.0 | Adds a fixed bonus per active player for power crystal items. |
Feedback and Suggestions
If you have any feedback or suggestions, feel free to open an issue on the GitHub repository.
Say Thanks
If you'd like to show your appreciation, you can give me a profile award on my Steam Page.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.
Install these first, or the mod will not work: