Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
20 hours ago
Downloads
110
Size
22KB
Dependency string
Vibecodeguy-ItemShare-1.2.0

ItemShare

Stop racing your friends to the loot.

Every player collects the same drop for themselves. The orb stays on the ground until the last person has picked it up, then despawns like normal.

Only the host needs this installed

All of the logic runs server-side and rides on the game's normal inventory sync, so your friends do not need to install anything. Nobody desyncs, nobody gets kicked for a mod mismatch. Installing it on every machine is harmless, just unnecessary.


Modes

Set General.PickupMode in the config file.

Individual — default

Everyone walks over the orb themselves.

  • First player touches it, gets the item, orb stays
  • Second, third player touch it, get the item, orb stays
  • Last player touches it, gets the item, orb despawns
  • Already collected it? Walking over it again does nothing
  • Playing solo? Behaves exactly like vanilla

You still have to go get your loot, you just are not competing for it.

Instant

The first player to touch the orb takes it and everyone else is handed a copy on the spot, wherever they are. Good if you would rather not run around collecting, or if someone is busy holding a boss and would otherwise miss out.


Config

BepInEx/config/com.majai.itemshare.cfg, created after your first launch.

Key Default What it does
General.PickupMode Individual See above. Read once at startup — restart the game after changing.
Tiers.White / Green / Red / Boss true Share that tier. Turn one off and it goes back to vanilla first-come-first-served.
Tiers.Lunar false Lunar (blue) items.
Tiers.Void false Void items. They corrupt their counterpart, so turning this on means everyone loses the corrupted item.
Tiers.Food false The new FoodTier. Untested, so it defaults to vanilla behaviour.
General.ShareToDead true Dead players are handed items automatically, since they cannot walk over an orb. Either way, a dead player never blocks an orb from despawning.
General.AnnounceProgress true Individual only. Chat line showing collection progress, e.g. [ItemShare] Bandit - 2/4.
General.ShareEquipment false Instant only. Gives equipment to players with a free slot. Never overwrites equipment someone is holding.

Every tier flag is read live, so you can change those mid-run without restarting.


Things to know

Players who already collected an orb still see it lying there until the last person picks it up. The pickup is a single networked object that every client renders identically — hiding it per-player would mean custom network messages, which would make this a mod everyone in the lobby has to install. Keeping it host-only was worth the cosmetic oddity. The chat progress line exists to make up for it.

Equipment is left completely vanilla in Individual mode. There is one equipment slot, so "everyone walks over and collects it" does not really mean anything. First to touch it takes it, same as always.

Instant mode does not charge other players for 3D printers. If someone spends an item at a printer or cauldron, only they pay for it, so inventories slowly drift apart over a run. This used to be handled, but the cost API changed shape in a recent game update and the old approach no longer applies. Individual mode is unaffected — it never assumed identical inventories in the first place.

Not covered yet: Artifact of Command (different code path), the Scrapper, and money.


Compatibility

Built and tested against the current Risk of Rain 2 release. It hooks exactly one method, GenericPickupController.AttemptGrant, and does not touch the item catalog, so it should sit fine next to content mods that add items — new items get shared according to their tier automatically.

If a game update breaks it, the pickup API almost certainly moved. Open an issue rather than assuming it is a conflict with another mod.


ภาษาไทย

ของ drop มาแล้วไม่ต้องแย่งกัน ทุกคนเดินไปเก็บของชิ้นเดียวกันได้เอง orb จะหายก็ต่อเมื่อคนสุดท้ายเก็บแล้ว

host ลงคนเดียวพอ — logic รันฝั่ง server ทั้งหมด เพื่อนไม่ต้องลงอะไรเลย ไม่ desync

โหมด Instant (ตั้งใน config) = คนแรกเก็บแล้วคนอื่นได้ copy ทันทีโดยไม่ต้องเดินไปไหน

ข้อจำกัดที่ควรรู้: คนที่เก็บไปแล้วจะยังเห็น orb ลอยอยู่ จนกว่าคนสุดท้ายจะมาเก็บ เพราะ orb เป็น networked object ตัวเดียวที่ทุกคนเห็นเหมือนกัน จะซ่อนเฉพาะบางคนต้องให้ทุกคนลง mod ด้วย เลยเลือกใช้ข้อความในแชทบอกความคืบหน้าแทน


Credits

Made by majai. Built with BepInEx and HookGenPatcher.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.