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

DevilDeal

Night bosses drop a Devil's Contract: trade 20 max HP for a random Orange powerup. Everyone in the lobby needs it.

By muckers
Date uploaded a day ago
Version 0.1.3
Download link muckers-DevilDeal-0.1.3.zip
Downloads 12
Dependency string muckers-DevilDeal-0.1.3

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

Devil Deal

Night bosses drop a red Devil's Contract. Take it and you lose 20 max HP, permanently. The devil pays one random Orange powerup at your feet.

  • The contract sits 3 m to the side of the normal boss drop. Walking over it does nothing. Hold your interact key to sign.
  • A second contract costs another 20. Max HP does not fall below 10. Further contracts still pay an Orange and do not go lower. Red Pills do not raise max HP while you are on that floor.
  • Before the floor, Red Pills still add 10 max HP each. Three Red Pills and one contract is 110 max HP.
  • Chests and shrines never roll the contract. Only a boss drop, or the debug key, offers one.
  • A contract left for five minutes despawns. You are not paid.

Multiplayer

Everyone in the lobby needs this mod, the same other powerup mods, and the same config stamp. The stamp is the short code in BepInEx/LogOutput.log on load. A vanilla client errors when a contract drops.

The Orange can be grabbed by a teammate. It appears at the signer's feet.

Config

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

Setting Default
HpCostPerContract 20 Max HP removed per contract. 0 disables the cost
MinMaxHp 10 Lowest max HP contracts can reach
OfferOnNightBoss true Night bosses drop a contract
OfferOnShrineBoss false Shrine bosses drop a contract
OfferChance 1 Chance a qualifying boss drops one
RequireInteractKey true Hold interact to sign. Off means touch signs
SpawnContractKey (none) Host-only debug key, for example F9

The host's offer settings decide what drops. Each player's own cost settings decide their max HP.

Credits

The idea is the Binding of Isaac devil room, mapped onto Muck as a flat 20 max HP. This mod contains no assets from Muck or The Binding of Isaac. The icon is original.

Credits

Perk pickup (drop) model by Marshall.

CHANGELOG

Changelog

0.1.3

  • The contract drop is an original parchment and seal instead of a tinted Orange mesh.

0.1.2

The contract and its Orange payout drop in the second game of a session. Muck wakes a new ItemManager on every Menu load, and from the second game of a session ItemManager.Instance is an object Unity has destroyed but vanilla keeps using. Unity's == null calls it null. The offer was silently skipped and the payout said it could not pick an Orange powerup. It is now compared by reference.

0.1.1

  • No gameplay change. Tests now check every game method the mod hooks, and the argument types each hook reads, so a game update that changes one fails the tests.
  • The chat line for an unpaid contract goes to everyone, so it no longer says "took your max HP".
  • The README now names the boss day per difficulty and explains how Shaped Glass stacks with the max HP floor.

0.1.0

  • First release.