You are viewing a potentially older version of this package. View all versions.
muckers-ShapedGlass-0.2.2 icon

ShapedGlass

Risk of Rain 2's Shaped Glass as an Orange curse powerup: +100% damage and x0.5 max HP per stack. Hold interact to pick it up. Everyone in the lobby needs it.

By muckers
Date uploaded a day ago
Version 0.2.2
Download link muckers-ShapedGlass-0.2.2.zip
Downloads 24
Dependency string muckers-ShapedGlass-0.2.2

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

Shaped Glass

Adds Shaped Glass, an Orange curse powerup from Risk of Rain 2, to Muck.

Each stack adds +100% damage and halves your max HP, as on the Risk of Rain 2 card. Damage adds up: one stack is x2, two are x3, three are x4, and 10 are x11. The HP cost compounds: two stacks leave you at a quarter of your max HP. Max HP is floored and never drops below 1. Blue Pill shield shrinks by the same factor, so one stack halves it. Stacks past 10 do nothing.

Hold the interact key to pick it up. Walking over it does nothing, and the first time you do, a local chat line tells you to hold the key. Other powerups still pick up on touch.

Damage from Ukulele, Sticky Bomb, and other on-hit effects uses the hit's damage, so they get the same multiplier. Chopping trees and mining rocks uses the same multiplier, and Will-o'-the-wisp's base damage reads it once. In Versus, player damage is multiplied as well.

Multiplayer

Everyone in the lobby needs this mod, and the same other powerup mods. A vanilla player has no entry for the new id and will error when Shaped Glass drops. There is no version check.

Use the same gameplay numbers on every machine. Each player's own config applies to their character. The host uses its own numbers only for the HP bar it draws after a hit, and the next health packet replaces that estimate.

Config

BepInEx/config/evan.muck.shapedglass.cfg, created on first launch.

Setting Default What it does
DamageBonusPerStack 1 Damage added per stack. Damage is x(1 + this x stacks), so 1 gives x2, x3, x4. The Risk of Rain 2 card is +100% per stack. Range 0 to 4.
MaxHpMultiplierPerStack 0.5 Max HP and shield multiplier per stack. It compounds. The Risk of Rain 2 card uses 0.5. Range 0.05 to 1.
MaxEffectiveStacks 10 Stacks above this change neither damage nor max HP. 0 turns the stat change off, and the item still drops. This cap is not from the game. Range 0 to 20.
RequireHoldToPickUp true Hold interact to pick up Shaped Glass. This gate is not from Risk of Rain 2.
ShowPickupHint true One local chat line when you stand on it without holding interact.
GiveShapedGlassKey (none) Debug key that gives you one stack. Example: F8.
VerboseLogging false Log the powerup id table at registration.

Updating from 0.1.x: DamageMultiplierPerStack compounded (x2, x4, x8) and is no longer read. Set DamageBonusPerStack instead. If you had changed the old key, the log warns once at startup.

Credits

The Shaped Glass design is Hopoo Games' (Risk of Rain 2). Muck is Dani's. This mod has no assets from either game. The icon is original.

Credits

Perk pickup (drop) model by Marshall.

CHANGELOG

Changelog

0.2.2

  • The drop is an original glass shard instead of a borrowed Orange powerup.

0.2.1

Blue Pill shield now shrinks with max HP: x0.5 per stack, floored, and it can reach 0. One stack turns 3 Blue Pills' 30 shield into 15. Before, a few Blue Pills cancelled the whole curse, because the shield is flat and refills itself. In Risk of Rain 2, Shaped Glass shrinks shields too. The card now reads "Max HP and shield x0.5 per stack." The host's HP-bar estimate scales the shield the same way.

0.2.0

Damage now adds up per stack, as on the Risk of Rain 2 card: x2, x3, x4, up to x11 at 10 stacks. 0.1.0 compounded it (x2, x4, x8, up to x1024) and wrongly called that the card. The max HP cost is unchanged: x0.5 per stack, floored, never below 1.

  • The setting is now DamageBonusPerStack (default 1, range 0 to 4). Damage is x(1 + bonus x stacks). DamageMultiplierPerStack is no longer read, so an old value of 2 is not taken as +200% per stack. If you had changed it, the log warns once at startup.
  • The 1024 damage cap is gone. Linear growth tops out at x81 (bonus 4 at 20 stacks), so it guarded nothing.
  • MaxEffectiveStacks stays at 10. It also caps the HP cost, and lowering it would change that cost. 100 max HP reaches the 1 HP floor at 6 stacks, so stacks 7 to 10 still add damage for free there. Under linear growth that is x7 to x11. The old curve went from x64 to x1024 over the same stacks. More max HP reaches the floor later, and from 1,024 max HP up stack 10 still costs HP. Earlier docs said the floor came at 7 stacks. That was wrong: 100 x 0.5^6 = 1.56, which floors to 1.
  • Typing in chat while standing on glass no longer picks it up when the message contains the interact key.
  • Card text, pickup hint, startup summary, README and config descriptions describe the linear bonus.

0.1.0

First release. Shaped Glass is an Orange curse powerup. Each stack multiplies damage by 2 and max HP by 0.5.