rbm-ConstantLunarShopRefresherPrice icon

ConstantLunarShopRefresherPrice

Sets a constant configurable Lunar Coin price for the Lunar Shop Refresher.

Last updated 2 weeks ago
Total downloads 262
Total rating 0 
Categories Tweaks AI Generated
Dependency string rbm-ConstantLunarShopRefresherPrice-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2122 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2122

README

ConstantLunarShopRefresherPrice

A small Risk of Rain 2 BepInEx plugin that makes the Bazaar's Lunar Shop Refresher cost the same amount of Lunar Coins every time it is used.

Configuration

The plugin creates BepInEx/config/com.constantlunarshoprefresherprice.plugin.cfg.

Setting Default Description
General: LunarPrice 1 Fixed Lunar Coin cost for every use of the Lunar Shop Refresher.

A value of 0 makes the refresher free. Any negative value is automatically changed to 0.

Price display

The plugin changes only the Lunar Recycler's networked purchase cost. It does not change the vanilla Lunar Coin cost type or remove/replace any purchase interaction or UI components. This is intended to preserve the vanilla price display below the refresher.

Multiplayer

The host/server applies the cost, which is synchronized by the game's normal PurchaseInteraction networking. Only the host needs the plugin.

Build locally

  1. Extract the source archive.
  2. Run build.ps1 once. It creates Config.Build.user.props from the example if it does not exist.
  3. Check the Risk of Rain 2, Managed, and r2modman BepInEx core paths in Config.Build.user.props.
  4. Run build.ps1 again.
  5. The Thunderstore-compatible ZIP is created in dist/ConstantLunarShopRefresherPrice-1.0.0.zip.

The project targets .NET Standard 2.1 and references the game's local assemblies; it is not built against copied game DLLs.