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.
Shrinkinator
Adds the Shrinkinator: a ray gun that sprays green mist shrinking whatever it hits. Valuables shrink permanently (cheaper, easier to carry!), enemies and players shrink temporarily. Shrunken enemies are lighter to lift - but not stunned. 6 charges.
By Avariiiprime
| Last updated | 3 hours ago |
| Total downloads | 38 |
| Total rating | 0 |
| Categories | |
| Dependency string | Avariiiprime-Shrinkinator-1.0.0 |
| Dependants | 0 other packages depend on this package |
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.2100README
Shrinkinator
Adds a new shop item: the Shrinkinator - a retro ray gun that sprays a cloud of green shrinking mist. Anything caught in the mist shrinks several times over.
Features
- Valuables shrink PERMANENTLY - size, mass and (optionally) price scale down, and repeated shots stack. Tiny valuables are much easier to haul back to the truck.
- Enemies & players shrink TEMPORARILY (20 seconds by default) and then grow back.
- Shrunken enemies are much lighter to lift with the physics grab - but they are NOT stunned. Handle with care anyway.
- 6 charges via the vanilla battery (battery bar = charge count), rechargeable at charge stations.
- Custom procedural ray-gun model - dark metal body, glowing green tank, barrel rings and muzzle orb. No vanilla pistol look-alike. Can be disabled in config.
- Tuned handling: grabs by the grip, center of mass in the grip (no wobble), barrel aligned with the camera - it actually shoots where you look, unlike a certain vanilla gun.
- Fully synced in multiplayer via Photon RPC.
IMPORTANT: required by ALL players
The mod syncs over the network. Every player in the lobby must have it installed (host and clients), otherwise effects will desync.
Installation
Install with r2modman / Thunderstore Mod Manager (recommended), or manually:
- Install BepInEx 5.4.21 and run the game once.
- Install REPOLib (4.2.0).
- Put
Shrinkinator.dllintoBepInEx/plugins/. - Repeat for every player in the lobby.
The gun appears in the shop (weapons section), priced 1.5x the vanilla pistol (configurable).
Configuration
BepInEx/config/com.kimi.shrinkinator.cfg (created after first launch):
| Setting | Default | Description |
|---|---|---|
ScaleFactor |
0.35 |
Size multiplier (0.35 ~ 3x smaller). Mass/price scale by the cube. |
DurationSeconds |
20 |
Shrink duration for enemies and players (valuables are permanent). |
CloudRadius |
2.5 |
Mist cloud radius, meters. |
MistRange |
12 |
Mist reach when the shot hits nothing, meters. |
Charges |
6 |
Shots per full battery. |
ValueScalePrice |
true |
Also shrink the dollar value of valuables. |
PriceMultiplier |
1.5 |
Shop price vs the vanilla pistol. |
UseCustomModel |
true |
Custom ray-gun model (requires restart). |
AimVerticalOffset |
0 |
Barrel tilt while held (vanilla gun uses -10). |
GrabVerticalOffset |
-0.15 |
Held height offset. |
CenterOfMassInGrip |
true |
Center of mass in the grip (kills the wobble). |
AimAssist |
true |
Align muzzle with item forward axis. |
Known limitations
- The mod was tested by compiler and against game assemblies, not in a live session yet. If something looks off, check the BepInEx console for lines tagged
[Shrinkinator]and report them. - Local player camera height is not adjusted while you are shrunk (visual only for others).
- For some enemies the visual scale heuristic (first Animator under the enemy root) may scale a different branch of the hierarchy.
- Works through walls: the mist cloud can catch targets slightly behind thin cover.
Credits
- Built with REPOLib by Zehs.
- Inspired by shrink-ray mods of the R.E.P.O. community.