Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
yesterday
Downloads
66
Size
12KB
ADDatHost Valheim hosting
30% off

ResinFire

Two quality-of-life changes for the three coal-fired braziers:

  1. Resin instead of coal — Hanging Brazier (piece_brazierceiling01), Standing Brazier (piece_brazierfloor01) and Iron Fire Pit (piece_firepit_iron) burn Resin.
  2. Automatic refill — every few seconds the braziers pull resin out of any container within 30 meters and top themselves up. No more manual feeding.

Install

  • Install BepInExPack Valheim (handled automatically by r2modman).
  • Drop ResinFire.dll into BepInEx/plugins/.
  • The server needs it. The refill logic runs on the server. Clients should have it too, so the fuel item and hover text match.

Config

BepInEx/config/snowfarm.valheim.resinfire.cfg:

Section Key Default Meaning
1 - General Enabled true Master switch
2 - Fuel FuelItem Resin Item prefab burned by the three braziers. Coal restores vanilla
3 - Auto refill Prefabs piece_brazierceiling01,piece_brazierfloor01,piece_firepit_iron Which pieces get the new fuel + auto refill
3 - Auto refill Radius 30 Container search radius (m)
3 - Auto refill Interval 5 Seconds between checks

How it works

  • The fuel item is replaced on the prefab, so every brazier (existing ones after an area reload, new ones immediately) accepts resin.
  • Refill reads the fire's fuel from its ZDO and writes it back after taking resin out of nearby containers. One resin = one fuel unit, exactly like vanilla.
  • Braziers that the player switched off are left alone; only burning ones are topped up.
  • Containers that a player currently has open are skipped (their owner is the client), they get refilled on a later pass.

Notes

  • Only affects those three prefabs; campfires, hearths, fire pits and bonfires are untouched.
  • Fuel already in a brazier keeps its value; the item type is what changes.
  • Removing the mod does not corrupt anything: braziers will simply refuse new resin and go back to accepting coal.

中文说明

吊盆火炉、火盆、铁火盆这三种烧煤的照明建筑改为烧树脂,并且每 5 秒自动从 30 米内的箱子/储物建筑里 取树脂补满,不用手动加燃料。服务器必须装(补料逻辑跑在服务端),客户端也建议装(燃料图标和悬浮文字一致)。 配置可以改燃料物品、范围、间隔和目标建筑。

Build

dotnet build -c Release -p:ValheimDir="C:\Program Files (x86)\Steam\steamapps\common\Valheim"

or run pack.ps1 to build and produce ResinFire.zip for Thunderstore.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.