RoR2ShareItemMod
RoR2 - Gives a copy of each picked up item to every player.
Install / Use
/learn @Seraphli/RoR2ShareItemModREADME
RoR2ShareItemMod
⚠️ ARCHIVED
This project has been archived due to changes in game version 1.4.0#840.
Starting from version 1.4.0#840, the game code structure has changed in a way that makes it incompatible with dnSpy modifications. Even attempting to compile without any modifications will result in errors. Therefore, this mod approach is no longer viable and the project is archived.
RoR2 - Gives a copy of each picked up item to every player.
Only share non-lunar and non-void items. You can get items even after you die. Only host need this mod.
Installation
Since v1.2.1.0, the developers refactor codes into RoR2.dll.
Replaces RoR2.dll in: \steamapps\common\Risk of Rain 2\Risk of Rain 2_Data\Managed\RoR2.dll
Backup current dll if you want to restore
DIY
⚠️ WARNING: This method no longer works for game version 1.4.0#840 and later.
Due to code structure changes in version 1.4.0#840, dnSpy can no longer be used to modify this code. Even compiling without any changes will result in errors.
For versions before 1.4.0#840:
Use dnSpy. My version is v6.0.4.
NOTE: Don't copy the dll to another folder before editing, which will cause compile fail. Backup and edit the file in Managed folder.
Edit RoR2.dll -> RoR2 -> ItemDef -> AttemptGrant() Change:
inventory.GiveItem((pickupDef != null) ? pickupDef.itemIndex : ItemIndex.None, 1);
Into:
if (pickupDef.isLunar || pickupDef.itemTier == ItemTier.VoidTier1 || pickupDef.itemTier == ItemTier.VoidTier2 || pickupDef.itemTier == ItemTier.VoidTier3 || pickupDef.itemTier == ItemTier.VoidBoss)
{
inventory.GiveItem((pickupDef != null) ? pickupDef.itemIndex : ItemIndex.None, 1);
}
else
{
foreach (PlayerCharacterMasterController playerCharacterMasterController in PlayerCharacterMasterController.instances)
{
playerCharacterMasterController.master.inventory.GiveItem((pickupDef != null) ? pickupDef.itemIndex : ItemIndex.None, 1);
}
}
Then save all.
Thanks
Thanks to the project created by Solst1c3.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate 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
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Security Score
Audited on Nov 19, 2025
