Moochi-FuelReserve icon

FuelReserve

Companion to AutomaticFuel: it leaves a reserve of every item (100 by default) in each chest it refuels from, so your building stock stays put.

By Moochi
Last updated 4 days ago
Total downloads 80
Total rating 0 
Categories Mods Server-side Client-side Utility AI Generated
Dependency string Moochi-FuelReserve-0.1.5
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351
TastyChickenLegs-AutomaticFuel-1.6.2 icon
TastyChickenLegs-AutomaticFuel

Now With Eternal Fuel and Pulled fuel PLUS Timed Torches and No Smoke. Automatically fuel smelter, kilns, spinning wheels, windmills, ovens, torches and much more. Stack Smelter and use all ore in Blast Furnaces

Preferred version: 1.6.2

README

FuelReserve

A companion to AutomaticFuel. AutomaticFuel feeds your smelters, kiln, windmill, spinning wheel, refinery and shield generator from nearby chests, and empties those chests down to the last item. FuelReserve makes it leave a reserve in every chest instead: 100 of each item by default.

A chest holding 100 coal or fewer is left alone. A chest holding 130 gives up 30, then stops. Your building stock stays where you put it, and only the surplus goes into the fires.

Settings

BepInEx/config/moochi.valheim.fuelreserve.cfg

Setting Default
Enabled true Off: AutomaticFuel behaves as if this mod were not installed.
Amount 100 How many of each item stay in every chest.
Exceptions (empty) Per-item amounts by prefab name, comma-separated: Wood:300,Resin:50,Coal:0.

The file is re-read as soon as it changes, no restart needed.

Multiplayer

Install it on every player, and on the server if it runs AutomaticFuel. AutomaticFuel refuels on the computer of the player who owns the area, so that player needs the reserve. When the server has the mod, its settings are imposed on everyone through AutomaticFuel's own server sync, and locked the same way as AutomaticFuel's.

Limits

  • Works with AutomaticFuel 1.5.3, 1.5.5, 1.5.7, 1.6.1 and 1.6.2 only. With any other version the reserve switches itself off and says so in the log, rather than guess how the new version takes items. A new FuelReserve follows each AutomaticFuel update.
  • Items lying on the ground are not covered: they are not a stock.
  • Fires and torches: with AutomaticFuel 1.5.7 they no longer burn fuel at all, so they take nothing from chests. From 1.6.1, a fire takes fuel from chests again when its "... Keep Lit" setting is off, and the reserve covers it too.

Log

At start-up, BepInEx/LogOutput.log should read:

FuelReserve v0.1.5 loaded: AutomaticFuel 1.6.2, 3 routines patched (RefuelTorch, RefuelSmelter, RefuelGen)