You are viewing a potentially older version of this package.
View all versions.
PeglinRelicRerolls
Reroll the relics you're offered after minibosses, bosses, chests and in shops. Start each run with 5 rerolls and buy more in shops.
| Date uploaded | 3 weeks ago |
| Version | 1.0.0 |
| Download link | PierreMarais-PeglinRelicRerolls-1.0.0.zip |
| Downloads | 35 |
| Dependency string | PierreMarais-PeglinRelicRerolls-1.0.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_Peglin
BepInEx pack for Peglin. Preconfigured and ready to go.
Preferred version: 5.4.2100README
PeglinRelicRerolls
Don't like the relics you're offered? Reroll them.
Features
- Start every run with 5 relic rerolls. Higher Cruciball means fewer: one less at Cruciball 5, 10 and 15.
- Reroll relic rewards after minibosses, floor bosses and chests. Press T on keyboard, R3 (click the right stick) on a controller, or click the Reroll button.
- No repeats: you won't see the same relic twice on one screen, or a relic you already own. If there's nothing left to reroll into, the button tells you.
- Floor boss rewards can be rerolled once.
- Chests: rerolling a common chest has a chance to offer a rare relic. There is an ultra rare chance when rerolling a rare chest that something very special could happen...
- Shop: one common relic is swapped for a reroll die you can buy for 20 gold (doubled in act 4 and with Wand of Greed, like relic prices). One die per shop.
- Shop rerolls: spend a reroll to swap the shop's unbought relics for new ones, up to 3 times per shop. Prices stay the same.
- Reroll counter: a die above your relics shows how many rerolls you have.
- Saved with your run: quitting and continuing can't give you extra rerolls or refund spent ones.
- Stored on this computer only: your rerolls are kept in their own file, separate from your Peglin save, which the mod doesn't touch. They aren't synced by Steam Cloud, so continuing a run on another computer starts you with the default number of rerolls.
Installation
With a mod manager (recommended): install PeglinRelicRerolls from Thunderstore with r2modman or the Thunderstore Mod Manager. BepInEx is installed for you.
Manually:
- Install BepInExPack_Peglin.
- Put
PeglinRelicRerolls.dllinPeglin/BepInEx/plugins/. - Start the game once to create the config file.
Settings
Change these in BepInEx/config/PeglinRelicRerolls.cfg (start the game once to create it). Restart the game after changing them.
| Setting | Default | What it does |
|---|---|---|
StartingRerolls |
5 | Rerolls at the start of every new run |
RerollHotkey |
T | Keyboard key for rerolling |
ControllerRerollButton |
JoystickButton9 (R3) | Controller button for rerolling. None turns it off |
ShowRerollBadge |
true | Show the reroll counter above your relics |
EnableLogging |
true | Write reroll details to BepInEx/LogOutput.log |
EnableBattleReroll |
true | Allow rerolls after miniboss and boss battles |
EnableChestReroll |
true | Allow rerolls in chests |
ChestRareUpgradeChance |
0.15 | Chance that rerolling a common chest offers a rare relic |
ChestBossUpgradeChance |
0.001 | Chance of something special when rerolling a rare chest |
BossRerollLimit |
1 | Rerolls allowed on floor boss rewards. -1 for no limit |
EnableShopReroll |
true | Put a reroll die in every shop |
EnableShopRelicReroll |
true | Allow rerolling the shop's relics |
ShopRerollLimit |
3 | Shop rerolls allowed per shop. -1 for no limit |
ShopRerollCost |
20 | Gold price of the reroll die |
PenaltyLevels |
5,10,15 | Cruciball levels that each take rerolls away |
PenaltyPerLevel |
1 | Rerolls taken away at each of those levels. 0 turns it off |
Compatibility
- Built for Peglin v2.0.12. On other versions the mod writes a warning to the log, as some features may not work.
- Requires BepInExPack_Peglin.
Known limitations
- The controller button assumes an Xbox-style layout, which is what Steam Input uses. Without Steam Input, a PlayStation controller may need a different
ControllerRerollButton. - The starting relic choice and relics from events can't be rerolled.
- English only.
CHANGELOG
Changelog
1.1.0
- Added a public API (
RelicRerollsApi) so other mods can work with rerolls: read and change the reroll count, set the starting count, limit or switch off rerolls per relic screen, switch off shop rerolls, keep chosen relics out of rerolls, and keep rerolls in their own save slot. With no mod using it, nothing changes. - Mods with their own save flow can switch off the automatic saving and loading of the reroll count and save it themselves.
- Mods can listen for rerolls: they're told where each reroll happened (a relic screen, a chest or a shop) and which relics are now offered.
- A relic screen that shows a rarer relic than its own rarity (such as a mod's relic draft with rares among commons) rerolls that slot at the relic's own rarity. Every other slot, including the game's own fallback when a pool runs dry, rerolls at the screen's rarity as before.
- Reroll state can now live in separate slots, one file per slot. The default slot is the same
PeglinRelicRerolls.statefile as before, so your current run's rerolls carry over. - A relic with a rarity the mod doesn't know is no longer treated as Common: it can't be picked for the reroll die and isn't rerolled in shops.
- The reroll die's price now follows the price multiplier of the shop slot it replaces (Wand of Greed, act 4) instead of checking for act 4, so it stays in step with relic prices. Prices are unchanged.
- Fixed the floor boss reroll being counted as used when another relic pick was opened on the same screen first (for example a mod's relic draft before the boss relic).
- Fixed shop purchases with the curse that makes things cost HP: buying the reroll die or a relic took the HP but gave nothing, and heals and damage in later battles threw errors until the game was restarted.
1.0.1
- Fixed the controller reroll button (R3 by default) doing nothing when pressed.
- The Reroll button shows the reroll die before its text.
- The reroll counter's number is bigger and sits in the die's corner, like the game's relic counts.
1.0.0
- First release: relic rerolls for miniboss, floor boss and chest rewards, a reroll die and relic rerolls in shops, a reroll counter above your relics, and fewer rerolls at Cruciball 5, 10 and 15.