Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ShopkeeperDiscounts
Configure shopkeeper discount chance, attempts per shop, and failures before an item breaks through REPOConfig. Only the host installs; friends can stay vanilla.
| Date uploaded | 3 weeks ago |
| Version | 0.1.2 |
| Download link | Artrointel-ShopkeeperDiscounts-0.1.2.zip |
| Downloads | 2375 |
| Dependency string | Artrointel-ShopkeeperDiscounts-0.1.2 |
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.2305README
ShopkeeperDiscounts
More chances to bargain. Fewer broken purchases. Only the host installs the mod; friends can stay completely vanilla.
Customize the shopkeeper discount ritual introduced in R.E.P.O. 0.5.0: choose the success chance, the shared attempts per shop, and how many failed attempts each item can survive. Defaults give you a 70% success chance and 5 attempts per shop, with native first-failure destruction unless you raise the break threshold.
Use REPOConfig's Mods → ShopkeeperDiscounts settings on the host:
| Setting | Range | Default |
|---|---|---|
| ChancePercent | 0–100% | 70% |
| AttemptsPerShop | 0–10 | 5 |
| BreakAfterFailures | 1-5 failures per item | 1 |
Attempts are shared by the entire lobby for each shop. Both successful and failed accepted scans consume an attempt. 0 attempts disables the ritual; 0% chance always fails, and 100% always succeeds for valid items.
Settings apply to the next verdict/new request. Used attempts are not refunded when settings change, and an already accepted scan may finish. A new shop resets the allowance normally. A break-threshold change applies to the next verdict; it does not alter a rejection already decided.
The shopkeeper keeps its native animations, sounds, discount amounts, price synchronization, and checkout. BreakAfterFailures delays the native failure destruction effect until the same physical item accumulates that many failed verdicts. Success does not reset the count; different item copies are independent. Before the threshold, the normal rejection/shake/toss still plays. At the threshold, the original destruction effect and timing are used. Default 1 preserves first-failure destruction. This does not protect against unrelated damage or persist counts across replacement/save reloads. No automatic shop-wide discount or free upgrade is added.
Installation
Install this package on the host with a Thunderstore-compatible mod manager. It installs BepInExPack and the community-maintained REPOConfig; REPOConfig installs MenuLib. Joining players do not need any of these mods.
Manual config: BepInEx/config/artrointel.ShopkeeperDiscounts.cfg.
Targets R.E.P.O. 0.5.0 (The Sunstone Update).
CHANGELOG
Changelog
0.1.2
- Add a new illustrated shopkeeper icon matching the author's other R.E.P.O. mods.
- No gameplay or configuration changes.
0.1.1
Initial public release.
- Configure discount success chance from 0 to 100% (default 70%).
- Configure shared attempts per shop from 0 to 10 (default 5); zero disables attempts.
- Configure failures before an item breaks from 1 to 5 (default 1).
- Track cumulative failures separately for each physical item, shared by all players. Successful discounts do not reset failures.
- Change settings during play through REPOConfig without restarting.
- Preserve spent attempts when settings change, native state synchronization, and in-progress rejection decisions.
- Use native shopkeeper animations, sounds, discounts, item prices, and destruction effects. Only the host needs the mod and its dependencies; joining players can remain vanilla.