You are viewing a potentially older version of this package. View all versions.
tony4twenty-Healing_Campfires-4.5.0 icon

Healing Campfires

Heal and Block afflictions! Light fire while everyone is still climbing! Revive players from campfire! Add extra Glizzy's and Mallow's! MORE BACKPACKS!

Date uploaded a day ago
Version 4.5.0
Download link tony4twenty-Healing_Campfires-4.5.0.zip
Downloads 522
Dependency string tony4twenty-Healing_Campfires-4.5.0

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301
PEAKModding-PEAKLib_Core-1.7.2 icon
PEAKModding-PEAKLib_Core

Core module of the PEAKLib community API.

Preferred version: 1.7.2
Snosz-PhotonCustomPropsUtils-1.1.0 icon
Snosz-PhotonCustomPropsUtils

Helps modders easily synchronize room/player properties across all connected clients through Photon's Custom Properties.

Preferred version: 1.1.0

README

Healing Campfires 🔥🩹

Now you can do more than just block or heal afflictions and revive people at campfires! You can also remove restrictions to allow anyone to light the fire at any time! It will not remove the previous segment where your friends are still climbing. It will not unlock the next segment till everyone is in the morale radius. Morale boosts will not trigger untill everyone is alive in within the radius. You can also revive players from the fire at any time with an optional config toggle to revive passed out players that havent died yet! Want more glizzys? Then do it! Want more backpacks? Then do it! Now you can have a mallow or glizzy spawn for every player in the lobby and THEN some with the new multiplier setting!

They are also dynamic (see gif below). Players can join or leave mid game and it will increase or decrease the amount at campfires! You can toggle off the decrease config so they never dissapear when someone leaves the lobby mid-run as well!

Lit campfires can:

  • 🩹 Heal afflictions over time (all by default, or pick per type)
  • 🛡️ Block new negative statuses while you rest at the fire
  • 💀 Revive dead players on light / hold-interact (optional passed-out)
  • 🔦 Solo-light without everyone nearby, then unlock the next segment when the squad gathers
  • 🍫 Dynamic mallows sized to player count, with Glizzy/Marshmallow chance and ring placement
  • 🎒 Dynamic backpacks sized to player count (scattered so they don’t stack)

Host config sync — clients follow the host via PEAKLib handshake + PhotonCustomPropsUtils room properties. If the host lacks the mod, clients disable Healing Campfires for that lobby.

Dynamic Mallows and Backpack Spawns


🛠️ Features

Heal & Block

  • Plug-and-play: HealAllStatuses + BlockAllStatuses default on
  • Turn those off to customize with per-affliction toggles
  • Heals once per second (HealPerSecond) only for statuses that are present
  • Uses each campfire’s moraleBoostRadius (optional override under Morale Boosts)
  • Hunger prevention is vanilla NoHunger; use Heal to clear existing hunger
  • Local-only status blocking (does not break other players’ network sync)
  • Portable stoves ignored

Remove Restriction

  • Light without everyone in range
  • Morale boost + next-segment unlock wait until every living player is in morale radius (host decides)
  • Hold-to-revive on already-lit campfires when respawn is enabled

Campfire Revives

  • Revive on progression light + hold-interact while lit
  • Optional RevivePassedOut
  • EnforceRevivePenalty: off = vanilla curse/hunger; on = force both on campfire revives (Block ignored; Heal can still clear)

Dynamic Mallows

  • Target pile size = room player count (× multiplier if enabled)
  • Optional trim when players leave
  • GlizzyChance 0.00–1.00 for vanilla spawns and extras (sometimes 1 marshmallow makes it in lol)
  • Foods placed in rings around the fire with spacing

Dynamic Backpacks

  • Target backpack count = room player count
  • Optional trim when players leave
  • Extras scatter on X/Z near the spawner (no stacking)
  • Finds beach/segment spawners (e.g. crashed plane) near the campfire

Morale Boosts

  • Solo morale toggle (vanilla needs 2+ scouts)
  • Configurable morale stamina (0.00–1.00, vanilla 0.25)
  • Optional MoraleBoostRadius override for heal, block, NoHunger, gather, and unlock

⚙️ Config Options

Config file:
BepInEx/config/tony4twentys.Healing_Campfires.cfg
(or edit in-game with ModConfig)

Dynamic Mallows

Setting Default Description
EnableDynamicMallows true Match food pile size to room player count
AllowMallowDecrease true Trim unclaimed pile items when players leave
EnableMallowMultiplier false Multiply target by MallowMultiplier
MallowMultiplier 2 Typeable whole number (min 1). Target = players × this
GlizzyChance 0.25 Slider 0.00–1.00. Chance each food is a Glizzy
EnableDynamicBackpacks true Match backpack count to room player count
AllowBackpackDecrease true Trim unclaimed backpacks when players leave

Morale Boosts

Setting Default Description
EnableSoloMoraleBoost true Allow morale with 1 scout in radius
MoraleBoostStamina 0.25 Slider 0.00–1.00. Extra stamina from morale boost
MoraleBoostRadius 0 Override campfire radius (0 = vanilla per-campfire)

Remove Restriction

Setting Default Description
EnableRemoveRestriction true Solo-light; defer unlock/morale until squad gathers

Campfire Revives

Setting Default Description
RespawnOnCampfire true Revive on light + hold-interact while lit
RevivePassedOut false Also revive fully passed-out players
EnforceRevivePenalty false Force curse+hunger on campfire revives only

Heal Afflictions

Setting Default Description
HealAfflictions true Master heal toggle
HealPerSecond 0.025 Amount removed once per second
HealAllStatuses true Heal every supported status (ignores per-type toggles)
HealInjury / HealDrowsy / … false Used only when HealAllStatuses is off

Block Afflictions

Setting Default Description
BlockNegativeStatus true Master block toggle
BlockAllStatuses true Block all positive status gains (ignores per-type toggles)
BlockInjury / BlockCold / … false Used only when BlockAllStatuses is off

Cfg note: Old keys (HealingRadius, AllowCurse, AllowHunger, BlockHunger, etc.) may linger — safe to delete; unused.


📦 Installation

  1. Download via Thunderstore
  2. Place the .dll in /PEAK/BepInEx/plugins/
  3. Launch once to generate config
    🔥 or use a Mod Manager 🔥

📦 Dependencies


📣 Feedback

Suggestions or issues: PEAK Modding Discord


👨‍🍳 Credits

Author tony4twenty
My Other Mods tony4twenty


🔥 Stay warm. Stay healed.

CHANGELOG

Changelog

[4.5.0] - 2026-07-30

Dynamic Backpacks (new)

  • Match campfire backpack count to room player count (late joiners included)
  • Optional decrease when players leave (AllowBackpackDecrease)
  • Extras spawn with slight X/Z scatter so packs do not overlap
  • Works with beach/segment backpack spawners (e.g. crashed plane), not only children of the campfire root
  • Config lives under the Dynamic Mallows section: EnableDynamicBackpacks, AllowBackpackDecrease

From 4.4.x (included)

  • Dynamic mallows with multiplier, GlizzyChance, and ring placement around the fire
  • MallowMultiplier typeable in ModConfig (string field); Glizzy/Stamina stay 0–1 sliders
  • Unified MoraleBoostRadius override (heal, block, NoHunger, gather, unlock)
  • HealAllStatuses / BlockAllStatuses default on; per-type toggles for customization
  • HealInjury toggle; removed BlockHunger / HealingRadius / AllowCurse/Hunger
  • Remove Restriction solo-light + deferred unlock; hold-revive; EnforceRevivePenalty
  • Stronger portable stove detection; host config sync schema v9

[4.0.0] - 2026-07-28

  • Major rewrite: hooks vanilla campfire protection / radius instead of a global coroutine + campfire cache
  • Removed forced infinite burn time (vanilla already pauses burn-down while everyone stays in range)
  • Host handshake via PEAKLib Core + config sync via PhotonCustomPropsUtils room properties
  • Clients follow host settings; mod features disable for clients when the host does not have the mod
  • Healing applies once per second (HealPerSecond) and only for statuses that are actually present
  • Status blocking only affects the local player’s local status gains
  • Respawn on progression campfire light (host/master client)
  • Portable stoves still excluded
  • Hard dependencies: PEAKLib Core + PhotonCustomPropsUtils

[3.0.0] - 2025-11-14

  • Now working after Roots Update
  • Now has infinite fires
  • Now blocks afflictions while near fire
  • Now heals even more afflictions
  • More configs

[2.1.0] - 2025-08-19

  • Now works with forever campfires
  • One coroutine total, started at StartRun and never spam-started per fire.
  • No per-tick object finds. Campfires are cached once and re-cached every 5s (cheap, fires are few).
  • Early-out when nothing’s lit. Near-zero work while idle.
  • Squared-distance checks (no sqrt) and tick-scaled healing.
  • Added Config: TickRateHz lets you tune CPU vs. responsiveness; default 2 Hz.
  • Kept respawn-on-light behavior in the Light_Rpc patch. Healing itself is handled by the global loop.

[2.0.0] - 2025-08-03

  • Added new configs
  • Added more affliction healing
  • Added new config to respawn players at fires
  • Added config sync with host
  • Now using coroutines and patches instead of updating every frame

[1.0.0] - 2025-7-4

  • Initial release.