You are viewing a potentially older version of this package. View all versions.
potto007-OttoFuel-1.5.2 icon

OttoFuel

Auto-fuels smelters, kilns, ovens, torches, windmills and shield generators from nearby chests.

Date uploaded 3 weeks ago
Version 1.5.2
Download link potto007-OttoFuel-1.5.2.zip
Downloads 36
Dependency string potto007-OttoFuel-1.5.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

OttoFuel - Keep the Fires Burning

OttoFuel

Updated for Valheim 1.0

OttoFuel keeps your production burning. It pulls fuel and ore out of nearby chests and off the ground, then feeds them to the things that need them.

Maintainer: Paul Otto


What it fuels

  • Torches, standing torches, wall torches, braziers and campfires
  • Hearths and hot tubs
  • Smelters, blast furnaces, charcoal kilns, windmills and spinning wheels
  • Stone ovens and any other cooking station that burns fuel (new in 1.5.0)
  • Shield generators

Other features

  • Stacked smelters. Removes most smoke and the "smoke blocked" check.
  • The blast furnace accepts every ore.
  • Kiln output limit, so a kiln stops once you have enough coal.
  • Per-object switches, so you can turn any of it off.
  • ServerSync. A server pushes its config down to the clients.

A config file BepInEx/config/potto007.OttoFuel.cfg is created after you run the game once with this mod.

Note for people who used AutomaticFuel: the config file name changed, so your old settings do not carry over. Copy them across by hand if you want to keep them.

You can adjust the config values by editing this file using a text editor or in-game using the Config Manager.

Config Option Definition
verifyClient This turns on and off the need to verify other clients. Users can now play without the mod on a server with the mod.
fireplaceRange The maximum range to pull fuel from containers for fireplaces
smelterOreRange The maximum range to pull fuel from containers for smelters
smelterFuelRange The maximum range to pull ore from containers for smelters
fuelDisallowTypes Types of item to disallow as fuel (i.e. anything that is consumed), comma-separated.
oreDisallowTypes Types of item to disallow as ore (i.e. anything that is transformed), comma-separated).
refuelStandingTorches Refuel standing torches
refuelWallTorches Refuel wall torches
refuelFirePits Refuel fire pits
restrictKilnOutput Restrict kiln output
restrictKilnOutputAmount Amount of coal to shut off kiln fueling
distributedFilling If true, refilling will occur one piece of fuel or ore at a time, making filling take longer but be better distributed between objects
leaveLastItem Don't use last of item in chest
StackSmelters Allow the ability to stack smelters and kilns. Turns off the smoke and prohibits the blocked smoke check.
RestrictKiln Turn off the Kiln
RefuelHotTub Turn on and off refueling of hottub.. bathtub whatever
RefuelHearth Turn on and off the refueling of the hearth
RefuelOvens Turn on and off the refueling of stone ovens and other fuelled cooking stations
OvenRange The maximum range to pull fuel from containers for ovens

Custom Toggle key to turn on and off mod in-game.

You can adjust the ranges for containers and ground pulling (default 10 meters each).

Reset the config by opening the in-game console (F5) and typing autofuel reset and pressing Enter.


Installation: (manual)

Extract DLL from zip file into "<GameDirectory>\Bepinex\plugins"
Start the game.


Installation (Automatic)

Use the R2Modmanager on Thunderstore. Search for the mod and install


Server Configuration

For Servers that want to control ther configuration, install on the server and clients.  
The server config will push down.

For Servers that cannot use mods, simply install this on the clients only and it will work just fine.  Clients will all need
the same settings in their config files for optimal results.

For people that run a server and don't want to verify clients turn the "verifyclients" setting off.

Version Information

The full release history lives in CHANGELOG.md, and it renders on the Changelog tab of the Thunderstore package page.

Credits

OttoFuel is maintained by Paul Otto.

It continues AutomaticFuel by TastyChickenLegs, who built that mod on the idea and original code of Aedenthorn's AutoFuel. Credit for the mod belongs to both of them. OttoFuel carries their work forward under the same public-domain licence.

More mods by TastyChickenLegs

CHANGELOG

Changelog

All notable changes to OttoFuel. Versions from v1.4.7 down are the history of AutomaticFuel by TastyChickenLegs, which OttoFuel continues.

v1.6.5

  • Rebuilt against Valheim 1.0.16. Every Harmony patch target still resolves in this build, and nothing else changed.

v1.6.4

  • Rebuilt against Valheim 1.0.15. Every Harmony patch target still resolves in this build, and nothing else changed.

v1.6.3

  • Rebuilt against Valheim 1.0.14. Every Harmony patch target still resolves in this build, and nothing else changed.

v1.6.2

  • Fixes ground pickup in multiplayer. When a player other than the piece owner dropped wood or ore next to a kiln, smelter, fireplace, oven, or generator, the piece destroyed only its local copy of the item. The item's data still belonged to the player who dropped it, so it respawned on the next sync and was taken again, giving unlimited fuel or ore from a single drop. Reported by Cookie4Free in GitHub issue #1. The mod now claims the dropped item before taking it, the same way the game does when you pick an item up. Chests were never affected.

v1.6.1

  • Drops the Ottomation_ModLib and Jotunn dependencies that 1.6.0 added. OttoFuel needs only BepInEx again.
  • Setting names go back to the 1.5.3 spelling, such as Lock Configuration and Turn Off Kiln, so a config from 1.5.3 or earlier, or one carried over from AutomaticFuel, loads with its values. If you ran 1.6.0, check your settings, because a value you changed under 1.6.0 is back at its default.
  • Keeps the corrected README config table, now with the names above.

v1.6.0

  • Depends on Ottomation_ModLib 1.16.0, which brings Jotunn with it. OttoFuel uses the library for its config handling, and keeps ServerSync for syncing settings, so LockConfiguration works as before.
  • Config names follow the Ottomation series spelling. Lock Configuration is now LockConfiguration, Use Dropped Items for Fuel is now UseDroppedItemsForFuel, and the Turn Off switches lose their spaces, so Turn Off Kiln is now TurnOffKiln. IsOn and Enabled move out of an unnamed section into General, and the old 1 - General section merges into General.
  • Your values carry over. On first load the library renames your config in place before OttoFuel reads it, and a config carried over from AutomaticFuel goes through the same rename.
  • The README config table now lists the real setting names. The old table named settings like fireplaceRange that never matched the file, a verifyClient setting the mod does not have, and an autofuel reset console command that does not exist.
  • The config file starts with an _Author section, the same as the rest of the Ottomation series.

v1.5.3

  • Carries your AutomaticFuel settings over on first run. If a TastyChickenLegs.AutomaticFuel.cfg exists and no OttoFuel config does, OttoFuel copies its values. LeaveLastItem matters most: at stock the mod empties a chest to zero.
  • Renames the old Use Dropped Items key to Use Dropped Items for Fuel while it copies, so that setting survives too.
  • Writes a starter config on a clean install, with LeaveLastItem = true. Lock Configuration keeps its stock value of On, so a server still governs the settings of the clients that join it.
  • Never overwrites an OttoFuel config that already exists. A failure here only logs a warning; the mod still loads.

v1.5.2

  • Added CHANGELOG.md, rendered on the Thunderstore package page.
  • Raised the BepInEx pack dependency to the current release.
  • Reworked the package categories.
  • Tidied the README.

v1.5.1

  • New title banner and package icon.

v1.5.0

  • Renamed to OttoFuel. Forked from AutomaticFuel 1.4.7 by TastyChickenLegs.
  • Added refuelling for the stone oven and any other cooking station that burns fuel.
  • Added the config keys Oven / RefuelOvens and Oven / OvenRange.
  • The config file is now potto007.OttoFuel.cfg. Settings do not carry over.

v1.4.9

  • Ported to the Valheim 1.0 API:
    • Character.Message gained a log parameter.
    • Smelter.RPC_AddOre gained a cheated parameter.
    • Inventory.Changed gained two parameters.
    • Inventory.RemoveItem changed a default; the old behaviour is pinned.
    • ZRoutedRpc.Everybody became a constant, so ServerSync was rebuilt.
  • Rebuilt against the current Unity and game assemblies.

v1.4.7

  • option to disable blast furnace and smelter default is on
  • Added ability to turn off using floor drops for fuel

v1.4.6

  • Updated for newest patch and added Shield Generators

v1.4.5

  • Updated server sync

v1.4.4

  • Updated for The Bog Witch version

v1.4.3

  • Updated for newest version
  • Added Iron Ore to the list of items to be made in Blast Furnace
  • Thanks EiraValkyrie for reporting the problem

v1.4.2

  • removed for errors in build

v1.4.1

  • Updated for final release of Ashlands.

v1.4.0

  • updated for Valheim 0.218.12 Ashlands PTB

  • THIS VERSION WILL NOT WORK IN ANYTHING BELOW 0.218

  • Use the older version for non Ashalands Versions.

v1.3.9

  • updated for Valheim 0.271.22

v1.3.8

  • Updated to the newest Haldor's Quest Version

v1.3.7

  • Updated to newest Test Branch of Valheim
  • Increased amount of selectable coal before turning off kilns
  • fixed a few spelling errors

v1.3.6

  • Updated to newest BepInEx and Valheim Patch 0.214.300

v1.3.5

  • updated to the newest version of Valheiml 0.214.2

  • added back the toggle to turn off and on Automatic Fueling.

  • 1.3.4 - fixed several RPC bugs and bumped version for incorrect README.MD

v1.3.0

  • add ability to turn off Spinning Wheel and Windmills

v1.2.0

  • Added ability to turn off Hearth and BathTub. This allows the mod to coexists with other mods like BetterWards

v1.1.9

  • Fixed bug in turning off Kilns. When kilns were turned off all "Smelters" stopped working.

v1.1.8

  • Option to turn off Kilns
  • Ability to pull from carts
  • Added ownership checks to containers for multiplayer duping

v1.1.7

  • Added option for Blast Furnace to take all fuel. Default is on.
  • Lots of code cleanup.

v1.16

  • Fix for smelter oject not set to an instance error. Widmills and Spinning Wheels are smelters and they were causing errors when checking their smoke.

v1.15

  • Enabled the ability to turn off the verification of clients. This keeps the server from kicking players that do not have the mod.
  • Added the ability to stack smelters and kilns.

v1.1.4

  • Added ServerSync - Install on the Clients and Server and the Server will control the config.
  • fine tuned the container code to include custom chests and mods
  • confirmed working with Drawers Mod.

v1.1.3

  • Fixed the black iron chests and custom chest. Can now pull from all containers
  • Confirmed working with Eitr Refinery

v1.1.2

  • Fixed the toggle key

v1.1.0

  • added the options for torches, campfires and hearths

v1.0.1

  • initial release