
SaleStarReminder
Shows a large red reminder while you hold an unused Sale Star, and can name the best chest on the stage to spend it on. Client-side.SaleStarReminder
A client-side Risk of Rain 2 mod for the Seekers of the Storm DLC. It reminds you, in large red text across the top of the screen, when you're holding a Sale Star you haven't used yet.
While you hold an unused Sale Star and the stage still has an unopened chest it works on:
- UNUSED SALE STAR appears in red at the top of the screen, just below the box your items are shown in. It goes away once you spend the star, or once no chest the star works on is left on the stage, for example in the Bazaar.
- About to waste it: when the game draws its Sale Star circle around a chest you're looking at, and a better chest that's Large or higher is still unopened on the stage, the alert grows and fades in and out (twice per second, never a hard flash). Both can be turned off.
- Most valuable chest (optional, off by default): a line under the reminder names the best unopened chest on the stage to spend the star on, for example "There is a Legendary Chest on this stage". From best to worst:
- Legendary Chest
- Large Chest, Large Damage/Healing/Utility Chest, Rusty Lockbox (only while you hold a Rusted Key)
- Adaptive Chest
- Small Chest, Cloaked Chest, Damage/Healing/Utility Chest
- Equipment Barrel, Concept Reliquary
The mod never changes gameplay and never sends anything over the network. It works when you join a host who doesn't have it installed.
Configuration
Edit BepInEx/config/sevenstack.SaleStarReminder.cfg, or use the in-game settings menu if Risk Of Options is installed.
| Setting | Default | Description |
|---|---|---|
ShowReminder |
true | Show the red reminder. |
ReminderFontSize |
80 | Size of the main alert text. |
SubheaderFontSize |
20 | Size of the smaller line under the main alert. |
ReminderOffsetY |
8 | Gap below the item box at the top of the screen, in UI pixels. |
NearChestScale |
1.3 | How much bigger the alert gets while the game circles a Sale Star chest that's worse than a Large-or-better chest still on the stage. 1 turns this off. |
PulseNearChest |
true | Fade the alert in and out, twice per second, at the same times it grows. |
ShowMostValuableChest |
false | Name the most valuable unopened Sale Star chest on the stage under the reminder. |
DebugLogging / DumpChestsKey |
false / F8 | Log each Sale Star use the mod sees, and dump every purchasable object on the stage, for troubleshooting. |
DebugAlwaysShow |
false | Show the reminder even without a Sale Star, for testing. |
Notes
- The Sale Star comes back at the start of every stage, so the reminder comes back too until you spend it.
- The most-valuable-chest line counts chests you haven't found yet, which is why it's off by default.
- The Rusty Lockbox only counts while you hold a Rusted Key yourself, even if a teammate's key made it spawn.
- Chests from other mods still count as places to spend the star, but they rank below every chest listed above.
Building
Requires the .NET 8 SDK and a local Risk of Rain 2 install.
dotnet build -c Release # also copies the DLL into the r2modman Default profile
./build.sh # builds and writes dist/SaleStarReminder-<version>.zip for Thunderstore
Paths default to the Steam and r2modman locations on Linux. Override RoR2Dir and ProfileDir in a Directory.Build.props.user file (see Directory.Build.props).
tools/make_icon.py draws thunderstore/icon.png.
A feature that makes fun of you for spending the star on a small chest is built but hidden until its lines are written. To work on it, fill in src/MockLines.cs and set PluginConfig.MockingAvailable to true.
The version lives in thunderstore/manifest.json. To release, bump it, run ./build.sh, and publish a GitHub release tagged v<version> with the zip attached. The publish workflow then uploads that zip to Thunderstore.