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

Healing Campfires

Lit campfires heal and block afflictions, and can respawn dead players. Lightweight vanilla-hook rewrite with host config sync.

Date uploaded 3 days ago
Version 4.0.0
Download link tony4twenty-Healing_Campfires-4.0.0.zip
Downloads 457
Dependency string tony4twenty-Healing_Campfires-4.0.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 🔥🩹

Version 4.0.0 — A lightweight campfire overhaul that hooks into vanilla campfire behavior.

Lit campfires can now:

  • 🩹 Heal nearby players from afflictions over time
  • 🛡️ Block negative status effects from being applied
  • 💀 Respawn dead / passed-out players when a progression campfire is lit

Vanilla already keeps campfires lit while everyone stays in range, so this mod no longer forces infinite burn time.

Host config sync in multiplayer — clients follow the host’s settings via PEAKLib host handshake + PhotonCustomPropsUtils room properties. If the host does not have the mod, clients disable Healing Campfires features for that lobby.

  • 🗣️ Find the mod in the Peak Modding Discord under #mod-releases to discuss mod related topics like issues/reports/appreciation

🛠️ Features

Healing

  • ✅ Continuously heals Injury (always on) plus configurable: Hunger, Cold, Poison, Crab, Curse, Drowsy, Hot, Thorns, Spores, and Web
  • 🔄 Applies once per second using HealPerSecond
  • 📍 Uses each campfire’s vanilla radius (moraleBoostRadius), or your HealingRadius override when set above 0
  • 🔥 Hooks vanilla ApplyCampfireProtection (no background coroutine scanning the world)

Status Blocking

  • 🛡️ Prevents configured negative statuses from being applied while near a lit campfire
  • 🎯 Per-affliction toggles (hunger blocking is left to vanilla NoHunger at the fire)
  • ✅ Only affects your local player’s local status gains — does not interfere with other players’ network sync

Respawn System

  • 💀 Respawns all dead / fully passed-out players when a progression campfire is lit
  • 🏠 Host / master client only (avoids duplicate revive RPCs)
  • 🚫 Ignores shore pre-lit / sync lights and portable stoves

⚙️ Config Options

You can change these in the mod's config file at:
BepInEx/config/tony4twentys.Healing_Campfires.cfg

General Settings

Setting Default Description
HealPerSecond 0.025 Affliction removed once per second while near a lit campfire
HealingRadius 0 Override campfire radius (0 = use each campfire’s moraleBoostRadius)
RespawnOnCampfire true Lighting a progression campfire respawns dead / passed-out players
BlockNegativeStatus true Master toggle for status blocking near campfires

Healing Options

Setting Default Description
HealHunger true Heal hunger near campfires
HealDrowsy true Heal drowsy near campfires
HealPoison true Heal poison near campfires
HealCold true Heal cold near campfires
HealCrab true Heal crab near campfires
HealCurse true Heal curse near campfires
HealHot true Heal hot near campfires
HealThorns true Heal thorns near campfires
HealSpores true Heal spores near campfires
HealWeb true Heal web near campfires

Injury is always healed while near a lit campfire (no separate toggle).

Block Afflictions

Setting Default Description
BlockInjury true Block injury near campfires
BlockCold true Block cold near campfires
BlockPoison true Block poison near campfires
BlockCrab true Block crab near campfires
BlockCurse true Block curse near campfires
BlockDrowsy true Block drowsy near campfires
BlockHot true Block hot near campfires
BlockThorns true Block thorns near campfires
BlockSpores true Block spores near campfires
BlockWeb true Block web near campfires

Hunger blocking is handled by vanilla campfire NoHunger — there is no separate block-hunger config.


📦 Installation

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

📦 Dependencies


📣 Feedback

Suggestions, ideas, or issues?
Reach out via the 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.