HearthFix
Fixes newly placed fireplaces and wisp torches not lighting when NoSmokeSimplified or NoSmokeStayLit is installed.
About this mod Author’s original text
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 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.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.