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.
EngineerUnlimitedTurrets
Engineer turret limit scales as max(3, charges). Lightweight BepInEx 5 Mono mod — 9 charges = 9 turrets, works for both stationary and mobile turrets.
| Last updated | a day ago |
| Total downloads | 111 |
| Total rating | 1 |
| Categories | Mods |
| Dependency string | tinymario-EngineerUnlimitedTurrets-1.1.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2122README
EngineerUnlimitedTurrets
Engineer turret limit scales as max(3, charges) for Risk of Rain 2 — e.g., 9 charges = 9 turrets.
Simple BepInEx 5 Mono mod using On.RoR2.CharacterMaster.GetDeployableSameSlotLimit. No config — limit reads GenericSkill.maxStock for Special (includes Lysate Cell EquipmentMagazineVoid and other bonusStockFromBody). Floor 3 so you never get fewer than vanilla+1. Covers both TR12 Gauss (stationary) and TR58 Carbonizer (mobile) — they share DeployableSlot.EngiTurret.
Install
r2modman / Thunderstore
- Install dependencies:
BepInExPackandHookGenPatcher(auto-installed via Thunderstore) - Drop
EngineerUnlimitedTurrets.dllintoBepInEx/plugins/EngineerUnlimitedTurrets/or import the.zipvia Import local mod
Manual
Copy plugins/EngineerUnlimitedTurrets/EngineerUnlimitedTurrets.dll to Risk of Rain 2/BepInEx/plugins/EngineerUnlimitedTurrets/.
How It Works
Hooks RoR2.CharacterMaster.GetDeployableSameSlotLimit(DeployableSlot):
slot == DeployableSlot.EngiTurret ? Mathf.Max(3, body.skillLocator.special.maxStock) : orig(self, slot)
Falls back to 1 + EquipmentMagazineVoid when body unavailable. No prefab edits, no save impact. Multiplayer: host and clients need the mod (networkMode: both).
Verification
- Launch via r2modman Start modded
- Engineer with 1 charge: place 4th turret — oldest should not die (floor 3)
- Engineer with 9 charges (e.g., 8 Lysate Cells): place 9, 10th should kill oldest; 9 should coexist
- Check
BepInEx/LogOutput.logforEngineerUnlimitedTurrets 1.1.0 loaded — EngiTurret limit scales as max(3, charges)
Performance
99 turrets is already heavy (AI tick). If you stress-test 100+, expect FPS drop — that's vanilla AI cost, not this mod.
Development
- Target:
netstandard2.1(RoR2.dll uses 2.1, 2.0 fails CS1705),BepInEx 5.4.2122,HookGenPatcher 1.2.9,Mono(not IL2CPP) - Build:
dotnet build -c Release→bin/Release/netstandard2.1/EngineerUnlimitedTurrets.dll - Author:
tinymario(com.tinymario.EngineerUnlimitedTurrets)
Changelog
See CHANGELOG.md.