You are viewing a potentially older version of this package. View all versions.
Narolith-HearthFix-1.1.0 icon

HearthFix

Fixes newly placed fireplaces and wisp torches not lighting when NoSmokeSimplified or NoSmokeStayLit is installed.

Date uploaded a month ago
Version 1.1.0
Download link Narolith-HearthFix-1.1.0.zip
Downloads 179
Dependency string Narolith-HearthFix-1.1.0

README

HearthFix

HearthFix fixes a bug where newly placed fireplaces and wisp torches fail to light when NoSmokeSimplified or NoSmokeStayLit is installed. Affected pieces appear placed but never start burning, requiring a relog or world reload to fix.

Problem

NoSmokeSimplified and NoSmokeStayLit patch Fireplace.IsBurning to check the ZDO "fuel" key directly. For a freshly placed fireplace, that key hasn't been written yet — GetFloat("fuel", 0f) returns 0, so IsBurning incorrectly returns false. This affects hearths, campfires, and wisp torches (piece_demister).

Valheim Plus FireSource with infinite fires enabled has the same effect: V+ stops fuel consumption but never writes a positive fuel value, keeping fuel at 0 indefinitely.

Fix

A Postfix on Fireplace.IsBurning runs at Priority.Low — after the other mods' patches. It detects the absent fuel key via a -1 sentinel and restores IsBurning = true for newly placed pieces. It also checks the V+ FireSource config via reflection and does the same when infinite fires is active.

Compatibility

  • Soft dependency on NoSmokeSimplified, NoSmokeStayLit, and Valheim Plus — loads and works correctly regardless of which are installed
  • Client-side only
  • No Jotunn required

Installation

Install via Thunderstore or drop Narolith.HearthFix.dll into your BepInEx plugins folder.

Support

If you encounter any issues or have suggestions, open an issue on the GitHub repository.

CHANGELOG

1.1.0

  • Added compatibility with Valheim Plus FireSource infinite fires — newly placed hearths and fire sources now light correctly when both NoSmokeSimplified/NoSmokeStayLit and V+ FireSource are active
  • Added soft dependency on NoSmokeStayLit

1.0.0

  • Initial release
  • Fixes newly placed fireplaces and wisp torches not lighting when NoSmokeSimplified is installed