HearthFix

版本 v1.1.0·更新於 2026-04-01

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

模組介紹 作者原文

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.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

檔案與校驗

檔案名稱
HearthFix-1.1.0.zip
檔案大小
119.9 KiB