Shrinkinator
Ray gun that sprays green mist shrinking valuables, enemies, and players. Shrunk enemies are easier to grab.
About this mod Author’s original text
Shrinkinator
BepInEx mod for R.E.P.O. that adds a shop weapon: the Shrinkinator. A shot sprays green mist; anything in the cloud shrinks.
- Valuables shrink permanently (size and mass), down to a configurable minimum so they cannot vanish from stacking. Dollar value stays the same.
- Enemies and players shrink temporarily (20 seconds by default), then grow back. Shrunk players get a lower camera, smaller hitboxes, and shorter grab reach.
- Shrunk enemies are lighter and easier to grab (works like a strength upgrade: a short tug picks them up and briefly stuns). They are not hard-stunned by the ray itself.
- 6 charges via the vanilla battery (recharge at stations).
- Procedural retro ray-gun model (can be turned off in config).
- Multiplayer: Photon RPC. Every player in the lobby needs the mod.
Install
r2modman Mod Manager (recommended), or manually:
- BepInEx 5.4.21 (x64), launch the game once.
- REPOLib 4.2.0+.
- Put Shrinkinator.dll in BepInEx/plugins.
The gun shows up in the shop (weapons), priced 1.5× the vanilla pistol (configurable).
Build.NET SDK 8+:
dotnet build -c Release
bin/Release/netstandard2.1/Shrinkinator.dll
Config
BepInEx/config/com.kimi.shrinkinator.cfg after first launch. Notable defaults:
| Setting | Default | Meaning |
|---|---|---|
| ScaleFactor | 0.35 | Size multiplier (~3× smaller). |
| DurationSeconds | 20 | Enemy/player shrink duration. |
| ValueScalePrice | false | Do not reduce valuable price. |
| ValuableMinScale | 0.2 | Floor for valuable size vs original (stops infinite stacking). |
| Charges | 6 | Shots per full battery. |
| UseCustomModel | true | Procedural gun mesh. |
CI
Push to main builds the mod. If the repo secret _TOKEN is set, the same workflow publishes a new version (R.E.P.O. community, team Avariiiprime) when the version in Shrinkinator.csproj is new.
Create a service-account token (team settings → Service Accounts) and add it as _TOKEN in GitHub → Settings → Secrets and variables → Actions.
Manual publish: Actions → Publish → Run workflow.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: