viliger-ShrineOfRepair icon

ShrineOfRepair

Shrine to repair your broken items. A fix for mod developers.

Last updated 9 months ago
Total downloads 136106
Total rating 13 
Categories Mods Client-side Server-side Survivors of the Void
Dependency string viliger-ShrineOfRepair-1.4.1
Dependants 89 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2102 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2102
RiskofThunder-R2API_Language-1.0.0 icon
RiskofThunder-R2API_Language

API for modifying the language localisation of the game

Preferred version: 1.0.0
RiskofThunder-R2API_Prefab-1.0.1 icon
RiskofThunder-R2API_Prefab

API for Prefab creation, networking and duplication

Preferred version: 1.0.1
RiskofThunder-R2API_Director-1.0.0 icon
RiskofThunder-R2API_Director

API for easily modifiying the Director (RoR2 monster / interactable spawner) behaviour

Preferred version: 1.0.0
RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3

README

Shrine of Repair

Shrine Screenshot

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. GUI Screenshot 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).

Shrine Position

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 diffCoef^customsScalingModifier * BaseCost
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