You are viewing a potentially older version of this package. View all versions.
viliger-ShrineOfRepair-1.1.0 icon

ShrineOfRepair

Shrine to repair your broken items. Now with blacklist, lunar coins (optional Ephemeral Coins support) and void coins (with ReleasedFromTheVoid) support.

Date uploaded 2 years ago
Version 1.1.0
Download link viliger-ShrineOfRepair-1.1.0.zip
Downloads 8501
Dependency string viliger-ShrineOfRepair-1.1.0

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

alt text

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 includes option to blacklist items via IDs and 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

TODO

  • add snowy and sandy variant if someone explains how hoopo does it
  • make a good billboard icon, preferably with shader similar to other in-game shrines
  • maybe make a version that accounts to which items you repair, so I don't have to use custom formulas and hack game design solutions

Version history

  • 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

CHANGELOG

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
1.0.1
  • Reupload because r2modman is a good program
1.0.0
  • Initial release