SharedItemPickup
RoR2 - Gives a copy of each picked up item to every live player.
Install / Use
/learn @Solst1c3/SharedItemPickupREADME
Shared Item Pickup
Desc
Gives each currently alive player a copy of whatever item was just picked up (barring equipment). Made so player greed does not result in other players becoming weak due to lack of items. Chest spawnrate, teleporter rewards e.t.c were not changed.
Only host needs the mod.
Installation
Replaces Assembly-CSharp.dll in: \steamapps\common\Risk of Rain 2\Risk of Rain 2_Data\Managed\Assembly-CSharp.dll
Backup current dll
Source/Do It Yourself
Step 1: Edit Assembly-CSharp.dll -> RoR2 -> GenericPickupController -> GrantItem() -> line 214
Change: inventory.GiveItem(this.pickupIndex.itemIndex, 1);
Into: foreach (PlayerCharacterMasterController playerCharacterMasterController in PlayerCharacterMasterController.instances) { if (playerCharacterMasterController.master.alive) { playerCharacterMasterController.master.GetBody().inventory.GiveItem(this.pickupIndex.itemIndex, 1); } }
Step 2: Edit Assembly-CSharp.dll -> RoR2 -> PurchaseInteraction -> OnInteractionBegin() -> line 321
Change: inventory.RemoveItem(itemIndex3, 1);
Into: foreach (PlayerCharacterMasterController playerCharacterMasterController in PlayerCharacterMasterController.instances) { if (playerCharacterMasterController.master.alive && playerCharacterMasterController.master.GetBody().inventory.GetItemCount(itemIndex3) != 0) { playerCharacterMasterController.master.GetBody().inventory.RemoveItem(itemIndex3, 1); } }
There's probably a few better ways of doing this, but It Just Works(TM)
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Security Score
Audited on Sep 28, 2025
