muckers-ShrineOfBlood icon

ShrineOfBlood

Adds Shrine of Blood. Pay a rising share of your current HP for coins. It never leaves you below 1 HP.

By muckers
Last updated 11 hours ago
Total downloads 6
Total rating 0 
Categories Addons
Dependency string muckers-ShrineOfBlood-0.1.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

Shrine of Blood

"A little off the top."

Adds the Shrine of Blood to Muck. A few appear on grass. Look at one and press interact.

The first use takes 50% of your current HP and pays half of that in coins. 50 HP pays 25 coins. The next use takes 75%, then 93.75%, and the shrine is spent after 3 uses. It will not take you below 1 HP. If you are already at 1, it refuses.

The coins go to the player who paid. Everyone else just sees the shrine tick down, and a chat line names the cost.

Multiplayer

Every player should run this mod, and every copy must use the same config. The host decides the price. A hidden chat line carries that decision; modded clients hide lines that start with ~sb. The sentence in chat is ordinary text.

  • Both players modded: the same shrines, the same uses left. Only the player who activates one loses HP and gains coins.
  • Modded host, vanilla client: the vanilla player does not see the shrines. They do see the sentence, and also the ~sb1 line, because they have nothing to hide it.
  • Vanilla host, modded client: the shrines are visible but inert. Using one does not take HP.

Config

BepInEx/config/evan.muck.shrineofblood.cfg, created on first launch. On by default.

Setting Default
Count 2 How many shrines on each map. 0 places none
MinSpacing 80 Minimum meters between shrines
FirstCostPercent 50 Percent of current HP on the first use
GoldMultiplier 0.5 Coins per HP spent
MaxUses 3 Uses before the shrine is spent
VerboseLogging false Log refused uses

The stub zip must not be installed.