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

Ukulele

Adds Risk of Rain 2's Ukulele as a Blue powerup: 25% chance on hit to chain lightning to nearby enemies. Everyone in the lobby needs it.

By muckers
Date uploaded a day ago
Version 0.1.2
Download link muckers-Ukulele-0.1.2.zip
Downloads 12
Dependency string muckers-Ukulele-0.1.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

Ukulele

"...and his music was electric."

Adds Ukulele, a new Blue powerup inspired by Risk of Rain 2, to Muck.

25% chance on hit to fire chain lightning for 80% (+20% per stack) of the hit's damage. The lightning jumps to the nearest enemies it hasn't hit yet: 3 targets (+2 per stack) within 12m (+2m per stack).

  • Procs from melee swings, arrows, and thrown rocks.
  • Lightning damage never re-triggers the Ukulele, and Knuts Hammer's AoE doesn't trigger it either.
  • Lightning shows Muck's blue electric hit numbers, and goes through the host like any other hit, so kills, loot, and HP bars work in multiplayer.
  • Ukulele drops from Blue chests and shrines like any other Blue powerup.

Multiplayer

Every player needs the same set of powerup mods and the same gameplay config. Having this mod at the same version is not enough. Muck identifies powerups by number, and each powerup mod takes the next free number when it loads. If one player has Ukulele and Crowbar and another has Ukulele and Sticky Bomb, Crowbar and Sticky Bomb get the same number, and a pickup becomes a different item on each machine. The game log prints a fingerprint of every powerup number after registration. Compare it between players if pickups look wrong. Vanilla players don't know the new powerup id and will error when an Ukulele drops. The bolt line is only drawn for the player who triggered it; everyone else sees the electric hit numbers and particles.

Config

BepInEx/config/evan.muck.ukulele.cfg (created on first launch):

Setting Default
ProcChance 0.25 Chance per qualifying hit
DamageFraction 0.8 Fraction of the hit with 1 stack. Minimum 1 damage
DamageFractionPerStack 0.2 Extra fraction per stack after the first (80%, 100%, 120% at 1, 2, 3 stacks)
BaseTargets / TargetsPerStack 3 / 2 Jumps per proc
MaxTargets 0 Cap on jumps (0 = none)
BaseRange / RangePerStack 12 / 2 Jump distance in meters
HopDelay 0.08 Seconds between jumps
HitNeutralMobs false Also zap cows and other neutral animals
ShowBolts, BoltDuration, BoltWidth, BoltColor Bolt visual
GiveUkuleleKey (none) Debug key that gives you a stack

Gameplay settings should match across the lobby. Each player's own config controls the lightning they fire.

Credits

Original Ukulele design by Hopoo Games (Risk of Rain 2). This mod contains no assets from Risk of Rain 2 or Muck; the icon is original.

Credits

Perk pickup (drop) model by Marshall.

CHANGELOG

Changelog

0.1.2

  • The drop is an original ukulele mesh instead of a borrowed Blue powerup.

0.1.1

  • No gameplay change. The multiplayer note and the load log now say every player needs the same set of powerup mods and the same gameplay config, not only this mod at the same version.
  • Registration always logs a fingerprint of every powerup id, so two players' logs show a mismatched lobby. VerboseLogging no longer prints the id table.
  • Tests now check the on-hit and registration patches against the game's API and can run against the real game DLL.

0.1.0

  • First release: Ukulele Blue powerup with configurable chain lightning, a local LineRenderer bolt, and an original icon.