Valheim
0 of 0

File information

Last updated

Original upload

Created by

TastyChickenLegs

Uploaded by

TastyChickenLegs

Virus scan

Safe to use

Tags for this mod

About this mod

updated for Valheim 0.271.22

Permissions and credits
Changelogs
Automatic Fuel

About the Mod:

TESTED IN NEWEST HILDIR'S REQUEST AND IS WORKING


This now autofuels torches, spinning wheels, windmills, campfires, hearths plus smelters and kilns.

This mod is a combination of my own code and scaled down version of Aedenthorn's AutoFuel mod.  
Credit goes to Aedenthorn for the idea and original mod.

  • Fuels torches, campfires, windmills, spinning wheels, hearths, kilns and smelters
  • Pull from Carts
  • Fuels from the ground
  • Fuels from chests and custom chests
  • Stack Smelters - Default is True:  Removes most smoke and isblocked check
  • Serversync to synchronize configurations down to the players


Reach Me on Discord




Compatibility:

Can now pull from custom containers too!

- Confirmed to work with Item Drawers and the chests in Clutter



I often get questions about the pictures of configurations and how to change the mod settings without editing files manually. I highly recommend using an in-game Configuration Manager mod like this one or this one.  These configuration utility mods allow changes to be instant (for most settings) and allow changes to be done in-game.



A config file BepInEx/config/tastychickenlegs.automaticfuel.cfg is created after running the game once with this mod).



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

turnOffKiln = "The ability to Turn off Kilns
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
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.
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.

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

You can reset the config by opening the in-game console (F5) and typing autofuel reset and pressingEnter.

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  same settings in their config files for optimal results.

Version Information

1.3.9

updated for Valheim 0.271.22


1.3.8

Updated for Hildir's Request

1.3.7

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

1.3.6

Updated to newest version of Valheim patch 0.214.300


1.3.5

Updated for newest version of Valheim
Added back in the toggle key for turning off and on the mod


1.3.3

No changes -- getting version to meet version posted on Thunderstore.


1.3.2

Fixed last rpc error


1.3.1

Fixed RPC Errors that did no allow servers to sync with clients.


1.2.1

Added ability to turn off Windmills and Spinning Wheels.

1.2.0

Added the ability to turn off fueling for hearths and hot tubs.  Allows for compatibility with other mods like BetterWards.

1.1.9

Fixed the bug when turning off Kilns, all "Smelters" turned off.

1.1.8

Fixed multiuser dupe (or at least added ownership checks)
Pull from Carts
Turn off Kilns


1.1.6

Fix for errors in 1.1.5.  Object not set to an instance error when checking smelter status.  Since windmills and spinning wheels are technically smelters they were causing errors when removing a smokespaner they don't have.

1.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.  

1.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.
Version Information

1.1.3

- Updated to most recent version of Valehim 0.212.7 (Mistlands)
- Fixed black metal chests and added ability to use most custom containers (I haven't tested all of them  :-) )

1.1.2

- fixed the toggle bug.  Can now use a custom toggle key to turn on and off mod in-game. Set in the config file.

1.1.0

- added the options for torches, campfires and hearths

1.0.1

- initial release


[b]
[b]My Other Mods: