ShrineOfRepair
Shrine to repair your broken items. A fix for mod developers.
Date uploaded | a year ago |
Version | 1.4.1 |
Download link | viliger-ShrineOfRepair-1.4.1.zip |
Downloads | 61631 |
Dependency string | viliger-ShrineOfRepair-1.4.1 |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2102RiskofThunder-R2API_Language
API for modifying the language localisation of the game
Preferred version: 1.0.0RiskofThunder-R2API_Director
API for easily modifiying the Director (RoR2 monster / interactable spawner) behaviour
Preferred version: 1.0.0RiskofThunder-R2API_Prefab
API for Prefab creation, networking and duplication
Preferred version: 1.0.1README
Shrine of Repair
Current version
Risk of Rain 2 mod, adds a shrine to repair broken items. Features scrapper-like UI for selecting which item to repair, showing price per stack. Price scales with time, starting price equals to half of the equal chest price. Starting price is customizable. Config files are not separated into 3 categories:
- General behavior where you setup model, interactable type and director rules
- AllInOne where you change pre-1.2.0 variant settings, like price and scaling
- PerItem where you chance base prices of each item tier.
Blacklist is now replaced with Repair List, a list that allows users to create their own pairs of BrokenItem - RepairedItem, including those from mods. By default list is filled with vanilla items, pairs can be removed as a form of blacklist.
Shrine can be spawned in the Bazaar in Time and Commencement via config, and price will be converted to Lunar Coins (rate and Commencement currency configurable).
Pre-1.2.0 behavior can be enabled in General config.
Pre 1.2.0 version
Risk of Rain 2 mod, adds a shrine to repair broken items. Features custom price scaling, to account for number of broken items you might have in your inventory, so the shrine is cheaper than a single chest early on and gets sharper price increase in the late game compared to the rest of interactable. Everything is customizable (base price, director costs and weights, which formula to use, etc.)
Custom scaling formula is
where
- diffCoef - difficulty coefficient, scales with time
- customScalingModifier - custom modifier, used to make chest cheaper at the start and more expensive in late game
- BaseCost - base cost of the shrine
Non-custom formula is just game's default scaling formula with addition of its own coefficient.
Config also usage of different currencies. Currencies can be:
- Gold, enabled by default, scaling and formulas are applied only to gold, everything else does not scale with time or difficulty.
- Lunar coins. If Ephemeral Coins is installed and used, either by artifact or global option, lunar coins will automatically become ephemeral coins.
- Void coins. While can be enabled without ReleasedFromTheVoid there is simply no way to earn them, so only to be used with that mod.
Credits
programming, billboard icon, bad model - me
good model, texturing - Extrabee
help with testing and RoR2 disassembling - vox
majority of 1.2.1 ~ 1.2.2 changes - prodzpod
CHANGELOG
1.4.4
- Added Longstanding Solitude support.
1.4.3
- Added option for shrine to use gold in bazaar.
1.4.2
- SoTS update.
1.4.1
- Restored original methods and marked them as depricated. Sorry about that.
1.4.0
- Reworked list extension for mod developers, so if you decide to implement it, your mod won't throw errrors if ShrineOfRepair is not present. It does require a slight rewrite, example can be seen here.
1.3.0
- Moved to split R2API assemblies
- Implemented optional RiskOfOptions support. Not everything is in there, since some things are initialized on game's start, like director costs.
1.2.3
- Moved shrine in Bazaar so it doesn't collide with things spawned by BiggerBazaar
- Moved coordinates and angles of all static spawns (bazaar, moon and moon2) into config
1.2.2
- Added Max Uses Config.
- Added Config to spawn the shrine in Bazaar Between Time and Commencement.
- Implemented Lunar Coins for Scrapper UI.
- Added Korean Support.
1.2.1
- Added Repair List (replaces Blacklist), Equipment Repair, Boss/Lunar/Equipment Cost Config and Void Lunar compat (from BubbetsItems).
- Added Regenerating Scrap and Trophy Hunter's Tricorn by default.
- Fixed non-english clients having broken text strings.
- Implemented basic repair list extension support (via methods for mod developers and via Repair List for users)
1.2.0
- Added scrapper-like version (comes with config wipe, sorry).
1.1.1
- Added shader to billboard icon, added sandy and snowy variants.
1.1.0
- Added blacklist, lunar (optional Ephemeral Coins) and void coins (with ReleasedFromTheVoid) support
1.0.1
- Reupload because r2modman is a good program
1.0.0
- Initial release