Shrinkinator
Ray gun that sprays green mist shrinking valuables, enemies, and players. Shrunk enemies are easier to grab.
模組介紹 作者原文
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.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: