muckers-ArtifactOfSacrifice icon

ArtifactOfSacrifice

Risk of Rain 2 Artifact of Sacrifice: mobs can drop powerups, and powerup chests are removed or thinned. Off until you set [Artifact] Enabled = true or turn it on in the Artifact Lobby panel. The host rolls drops.

By muckers
Last updated 14 hours ago
Total downloads 18
Total rating 0 
Categories Addons
Dependency string muckers-ArtifactOfSacrifice-0.2.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack_Muck-5.4.1101 icon
BepInEx-BepInExPack_Muck

BepInEx pack for Muck. Preconfigured and ready to use.

Preferred version: 5.4.1101

README

Artifact of Sacrifice

Mobs can drop a powerup when they die. Most powerup chests are removed: about 1 in 20 is kept. The host rolls every drop, then sends the game's own pickup packet, so clients agree on what landed.

Normal mobs default to a 5% chance. Bosses default to 35%. A buff mob's chance is ×1.5, clamped to 100%. Neutral mobs and Woodman do not drop.

KeepFraction 0.05 (the default) keeps about 1 powerup chest in 20. 0 removes them all (the Risk of Rain 2 behavior). 1 leaves them. Storage chests, the chief chest, and chests you build are not touched. Every client needs the same chest settings, because each client builds the world. The spawn roll itself still runs, so other world generation stays on the vanilla random stream.

The artifact is off by default, like in Risk of Rain 2. Set [Artifact] Enabled = true to turn it on. Upgrading from 0.1.0 removes the old [Drops] Enabled line, so turn it on again with the new key. Upgrading from 0.1.1 moves [Chests] ChestKeepFraction to KeepFraction: an old 0 becomes the new default 0.05, and any other value you set is carried over. With Enabled off the mod changes nothing. With Artifact Lobby installed, Sacrifice also shows up in the lobby's Artifacts panel, and the host's pick sets [Artifact] Enabled for every player. Without it, the cfg is the only switch.

Config

BepInEx/config/evan.muck.artifactofsacrifice.cfg

Section Key Default
Artifact Enabled false Opt-in. Off leaves vanilla behavior
Drops DropChance 0.05 Normal mobs. Host only
BossDropChance 0.35 Bosses. Host only
BuffChanceMultiplier 1.5 Extra factor for buff mobs
WhiteWeight 0.80 This mod's tier mix, not a Muck chest table
BlueWeight 0.19
OrangeWeight 0.01
Chests KeepFraction 0.05 Fraction of powerup chests kept. 0 removes them all. Must match across clients
SuppressBossPowerups false The guaranteed boss powerup still drops
SuppressCombatShrines false A cleared battle totem still drops
Announce Chat true While Sacrifice is on, the host shows its chest code to everyone, and a client shows its own
Debug VerboseLogging false

The chest code covers Enabled and KeepFraction, the two settings every client must share. The default (off) is 4E32E0AC. On with the default chest fraction it is 46E2322D. The drop settings apply on the host only, so they are not in the code. With Sacrifice off, nothing is printed in chat. If you see the host's line and none of your own, your Sacrifice is off and your chests will not match the host's.

Nothing in this package has been tested in the real game.