You are viewing a potentially older version of this package.
View all versions.

MoreUpgrades
Adds more upgrade items to the game, has an library and is highly configurable.
By BULLETBOT
Date uploaded | 16 hours ago |
Version | 1.2.7 |
Download link | BULLETBOT-MoreUpgrades-1.2.7.zip |
Downloads | 36423 |
Dependency string | BULLETBOT-MoreUpgrades-1.2.7 |
This mod requires the following mods to function

README
MoreUpgrades
Adds more upgrade items to the game.
Items
- Sprint Usage: It uses less stamina when sprinting. Can be upgraded multiple times.
- Valuable Count: Displays the number of valuables under the mission text. Can be upgraded only once.
- Map Enemy Tracker: Tracks enemies in the map radar. Can be upgraded only once.
- Map Player Tracker: Tracks players in the map radar. Can be upgraded only once.
Configuration
- Enabled: Whether the upgrade item can be spawned to the shop.
- Max Amount: The maximum number of times the upgrade item can appear in the truck.
- Max Amount In Shop: The maximum number of times the upgrade item can appear in the shop.
- Minimum Price: The minimum cost to purchase the upgrade item.
- Maximum Price: The maximum cost to purchase the upgrade item.
- Price Increase Scaling: The scale of the price increase based on the total number of upgrade item purchased.
- Max Purchase Amount: The maximum number of times the upgrade item can be purchased before it is no longer available in the shop.
- Allow Team Upgrades: Whether the upgrade item applies to the entire team instead of just one player.
- Starting Amount: The number of times the upgrade item is applied at the start of the game.
- Display Name: The display name of the upgrade item.
Note
Some upgrade items have more configuration. Check the config file after updates, as values may change between versions.
Adding Custom Upgrade Items
To add new upgrade items, you have to use the R.E.P.O. Project Patcher.
Steps to Add An Upgrade Item
- Use the Project Patcher: Follow the instructions in the R.E.P.O. Project Patcher's README.
- Find an Existing Item: Search for an item in the project that you want to use as a reference.
- Create Your Own Item and Prefab: Duplicate it and modify the item and the prefab as you wish.
- Make an Asset Bundle: Package your item and prefab into an asset bundle so they can be loaded to the game.
Registering Your Upgrade Item
Once you are done, you can use the following methods:
MoreUpgradesLib.IsManagerActive() => bool
MoreUpgradesLib.GetCoreUpgradeItems() => IReadOnlyList<UpgradeItem>
MoreUpgradesLib.GetUpgradeItemsByMod(
string modGUID
) => IReadOnlyList<UpgradeItem>
MoreUpgradesLib.Register(
string modGUID,
Item item,
GameObject prefab,
UpgradeItemBase upgradeItemBase
) => UpgradeItem
CHANGELOG
Note
If that version is not listed here, do not download that version, as it can cause some issues.
1.2.7
- Fixed issues with spawning upgrade items in the shop.
- Updated the descriptions of several config entries.
1.2.5
- Updated the class called "MoreUpgradesLib" for the developers.
1.2.4
- Added a new config entry called "Price Increase Scaling".
- Added a new class called "UpgradeItemBase" for the developers.
- Updated the method called "Register" in the "MoreUpgradesLib" class for the developers.
- Updated the prices of the upgrade items.
1.2.2
- Added a new config entry called "Display Name".
- Added a new method called "HasConfig" in the "UpgradeItem" class for the developers.
- Fixed a few config entries that weren't working properly.
- Updated the prices of the upgrade items.
- Note: This update breaks all existing runs.
1.2.0
- Updated the upgrade item called "Map Player Tracker".
- Fixed the issue of the confusing price multiplier for upgrade items.
- Updated the method called "Register" in the "MoreUpgradesLib" class for the developers.
1.1.8
- Updated the price of the upgrade item called "Map Enemy Tracker" to be more expensive.
1.1.7
- Added a new upgrade item called "Map Player Tracker".
- Removed a config entry called "Price".
- Added new config entries called "Minimum Price" and "Maximum Price". (Note: My fault for not looking through the code myself. That's why the prices were weird.)
1.1.3
- Added a new field called "onChanged" in the "UpgradeItem" class for the developers.
- Added a new method called "GetCoreUpgradeItems" in the "MoreUpgradesLib" class for the developers.
- Renamed the upgrade item called "Map Enemy Display" to "Map Enemy Tracker" (Note: This breaks all existing runs.)
- Fixed some issues with the upgrade item called "Map Enemy Tracker"
1.1.2
- Added a library that allows developers to add their own upgrade items. See the README for more details.
- Removed a config entry called "Has Max Purchase".
1.0.9
- Updated the config entry called "Starting Amount" to be server-sided.
1.0.8
- Added a new upgrade item called "Map Enemy Display".
- Removed the config entries called "Min Value" and "Max Value".
- Added new config entries called "Price" and "Starting Amount".
- Added new config entries for various upgrade items.
- Fixed some issues with the upgrade item called "Sprint Usage"
- Updated the config structure.
- Updated the mod icon.
1.0.6
- Updated the code to support the latest version of REPOLib.
1.0.5
- Added a new config entry called "Allow Team Upgrades".
- Updated the config entry called "Enabled", which now controls whether the upgrade item can be added to the shop instead of being removed entirely. Thanks for the help from the R.E.P.O. Modding Server.
1.0.3
- Fixed the manager where it won't spawn in some levels.
1.0.0
- Initial release.