boop_squad-GeneratorMod_PriceFixed icon

GeneratorMod PriceFixed

Buyable shop upgrade that slowly recharges the truck's energy bar during levels.

Last updated 31 minutes ago
Total downloads 4
Total rating 0 
Categories Mods Upgrades AI Generated Quality Of Life
Dependency string boop_squad-GeneratorMod_PriceFixed-0.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
Zehs-REPOLib-4.3.0 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.3.0

README

I AM NOT THE OWNER OF THE ORIGINAL MOD

The maker used ai to make the mod and all I did was fix the price limit and I have a repository https://github.com/Foxo-D-Boop/REPO-GeneratorMod-price-fixed.git

GeneratorMod

Adds a Generator upgrade to the R.E.P.O. shop. Every level of the Generator slowly recharges the truck's energy bar while you're out on a level, so your gear doesn't depend only on the charging station's current stock.

Features

  • New shop upgrade, Generator, that can appear in the upgrade pool on any shop visit
  • Each Generator level adds a steady trickle of charge to the truck's energy bar
  • Only ticks during active levels (not in the lobby, shop, or menus)
  • Stacks with team purchases: levels owned by the players present all contribute
  • Fully configurable price, shop chance, purchase limit, and recharge rate

How it works

  1. Visit the shop. The Generator has a chance to show up in the upgrade pool (10% per visit by default).
  • Currently the item is set to look identical to the Stamina Upgrade item.
  1. Buy it. The default price is $25,000.
  2. During a level, the truck's energy bar fills by 3% per minute for each Generator level by default, up to a full bar.

Configuration

A config file is created the first time you launch the game with the mod installed, in BepInEx/config/. Edit it with a text editor (or r2modman's config editor) and restart the game for changes to apply.

Shop

Setting Default Description
BasePrice 25 Price of the Generator upgrade in the shop.
ShopChancePercent 10 Chance (in percent) that the Generator is added to the upgrade pool for any one shop visit.
MaxPurchases 1 How many Generator levels the whole team can buy in total.
UseVanillaPriceScaling false If false, the price is always exactly BasePrice. If true, the game's normal upgrade price scaling applies on top.
TemplateItemName Item Upgrade Player Energy Name of the vanilla upgrade item whose box model is copied. Leave this alone unless you know why you're changing it.

Recharge

Setting Default Description
RatePercentPerMinute 3 Percent of a full truck energy bar restored per minute, per Generator level.
HostOnly false If true, only the host (or singleplayer) applies the recharge. Leave false unless clients double-count in multiplayer.
MaxCharge 100 Value that counts as a full bar. Vanilla is 100.

Debug

Setting Default Description
DebugLogging false Logs shop rolls and recharge activity to the BepInEx console. Useful for bug reports.

Requirements

Both install automatically if you use r2modman or the Thunderstore Mod Manager.

Installation

Install through r2modman or the Thunderstore Mod Manager and launch the game from the manager.

Manual install: place GeneratorMod.dll in BepInEx/plugins/GeneratorMod/ alongside REPOLib.

Multiplayer

The host's settings control the recharge. Upgrade levels are saved and synced through REPOLib.

Bug reports

I don't know if I can fix them but all of the files are here https://github.com/Foxo-D-Boop/REPO-GeneratorMod-price-fixed.git