RerollConfirmation
Warns you before a shop reroll leaves you broke: a badge on the reroll button, then a confirmation dialog, whenever it would drop your gold below a configurable per-shop threshold.
| Last updated | 3 hours ago |
| Total downloads | 1 |
| Total rating | 0 |
| Categories | |
| Dependency string | SpecialCircumstances-RerollConfirmation-0.1.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100MT2-Trainworks_Reloaded
A Data Loader and Injection Engine for Monster Train 2
Preferred version: 0.7.2Conductor-Conductor
Central library of reusable custom effects, status effects, and keywords to make modding Monster Train 2 safer and easier, used as a dependency for other mods.
Preferred version: 0.4.1README
RerollConfirmation
A Monster Train 2 mod that warns you before a shop reroll would leave you with too little gold.
Rerolling a Card, Steel, Arms, Magic, or Trinket shop normally spends your gold without a second thought. This mod keeps a configurable minimum-gold threshold per shop type and, if a reroll would drop you below it, shows a confirmation dialog first (and lets you back out) instead of just taking your gold. A small red "!" badge also appears on the reroll button itself whenever it would put you under the threshold, so you see the warning before you even click.
Configuration
BepInEx/config/RerollConfirmation.cfg
| Key | Default | Meaning |
|---|---|---|
General.Enabled |
true |
Whether the warning badge and confirmation dialog appear at all. |
Thresholds.TrinketShopMinimumGold |
135 |
Gold you want to still have after rerolling the Trinket (Merchant of Trinkets) shop. |
Thresholds.OtherShopMinimumGold |
90 |
Same, for every other reroll-capable shop (Card/Steel/Arms/Magic). |
The Guild Marker relic discounts merchant prices by 25%, so while you own it both thresholds are scaled by 0.75 to match what things actually cost.
Install
Use a mod manager (r2modman / Thunderstore Mod Manager) and install
SpecialCircumstances-RerollConfirmation. Dependencies are pulled in
automatically:
- BepInEx 5.4.2100
- Trainworks Reloaded 0.7.2
- Conductor 0.4.1
Manual install: drop RerollConfirmation.dll into BepInEx/plugins/.
Notes
Only rerolls are touched — buying the goods themselves is left alone, however broke it leaves you. A reroll you can't afford at all is still rejected by the game as usual, with no dialog in the way.
Build
dotnet build
The output DLL is copied to ../../mt2-plugins/RerollConfirmation after every
build (PluginDeployDir in RerollConfirmation.csproj) —
point that at your BepInEx/plugins folder to test in-game directly.
Harmony patches live in RerollConfirmation/patches/: MerchantScreen_RerollConfirmation_Patch.cs shows the confirmation dialog, MerchantGoodUIBase_RerollWarningIcon_Patch.cs draws the button badge, and both share the threshold logic in RerollGoldThreshold.cs.
Publishing to Thunderstore is driven by thunderstore.toml
via tcli; the GitHub workflows in .github/workflows/ build and validate the package.
License
See LICENSE.