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

Details

Date Uploaded
Downloads
414
Size
141KB
ADDatHost Valheim hosting
30% off

Budyliv Production

Link chests to production stations, and the server keeps them running: it refills fuel and input from linked chests and moves finished products into output chests. It works while players are elsewhere on the base, as long as someone has the station loaded.

The mod must be installed on the server: all the work is done there, and without it the mod does nothing. It is made for small servers with friends, where the server, not each player, runs production.

  • Refilling fuel and input is reliable: the server counts free space in each station and sends exactly what fits.
  • Collecting products is not always reliable. Products appear on the ground next to the station and the server picks them up from there. If a product rolls away from the output point, the output chest is open, busy or full, or the player who holds the station has a slow connection, products may lie on the ground for a while, and now and then one is left behind.

About the "AI Generated" tag. The code of this mod was written by AI. The idea, the design decisions and the testing are done by hand.

Supported stations

Station Fuel Input Output
Smelter, blast furnace, charcoal kiln, eitr refinery, windmill, spinning wheel and other smelter-type stations where used yes (the charcoal kiln also takes Timberwood and Ashwood) yes
Cooking station, iron cooking station, stone oven stone oven raw food cooked food (taken off before it burns)
Fermenter — mead bases (only when empty) finished mead
Beehive, sap extractor — — honey, sap
Wisp fountain — — wisps
Fireplaces, braziers, torches, hot tub yes — —
Shield generator yes — —
Ballista — ammo (keeps the loaded ammo type) —

Vanilla quirks are handled: no item is sent to a station that would throw it away (full fireplace, cooking station without a free slot, fermenter that is not empty, ballista with a different ammo type).

How to link

  1. Look at a station and press Alt + left mouse on its input or fuel control (Alt + left mouse anywhere on a fuel-only station), or Alt + right mouse for output.
  2. Within 30 s, look at a chest and press the same combination.
  • Shift + Alt with the same buttons removes a link.
  • Shift + Alt + middle mouse on a station removes all its links; on a chest, unlinks the chest from all stations.
  • Hold Alt while looking at a station or chest to see its links: lines to linked chests or stations, and the linked objects glow (blue input, orange fuel, green output). Moving chevrons on each line show which way items go: chest → station for input and fuel, station → chest for output. An input chest that holds the station's fuel also feeds fuel (thin, dimmer orange line).
  • Press Page Down to show every link around you at once (up to 80 m), without holding Alt; press it again to hide them. The key can be changed (ShowAllLinksKey).
  • One chest can serve several stations and roles. With several output chests, a product goes to the chest that already holds that item (if it has room), otherwise to the first chest with room.
  • Maximum link distance: 30 m (MaxLinkRange).

In-game hints and messages are in English or Ukrainian, following the game language ([Client] Language to override).

Installation

  • Server: required. All transfers are done by the server.
  • Clients: needed to make links, see hints and link lines, get cooking skill and achievement stats from automated stations, and for the charcoal kiln to take Timberwood and Ashwood. Players without the mod can still play, but should not put Timberwood or Ashwood into a kiln, and a kiln they hold gets no Timberwood/Ashwood from chests.

How it works

  • Links are stored on the server in worlds_local/<world>.budylivproduction.txt, one line per link, objects identified by prefab and position. Destroyed stations and chests are removed from the file.
  • The server takes a chest over for a moment only when it is closed and has not changed for QuietSeconds, then gives it back. Items are moved in batches, with vanilla RPCs, to the station's current owner.
  • Products lying near a station's output point are picked up into its output chest.
  • Achievements are not lost to automation: products stored in output chests count as picked up, extracted honey and sap count as harvested, caught wisps count as picked. They go to the player who linked the output chest (if online), otherwise to the nearest player within 30 m, otherwise to a random online player.
  • Cooking skill is not lost to automation: food the mod takes off a cooking station gives the taking-off part of the skill to the player who put it on (if online). Food the mod puts on from a chest gives both parts to the nearest player within 30 m, otherwise to a random online player.

Configuration

BepInEx/config/com.budyliv.production.cfg. The [Server] section is read on the server, [Client] on each client. The defaults are fine for most worlds.

  • Enabled, TickSeconds (2), MaxLinkRange (30), RefillFraction (0.5: refill when at least half is free), OutputRadius (2), CookingXp (true), CookingXpRadius (30), AchievementCredit (true), AchievementRadius (30), VerboseLogging (false: log every transfer).
  • Language (Auto / English / Ukrainian), ShowControlHints, ShowLinkLines, LinkFlowSpeed (0.6 m/s; 0 = chevrons stand still), ShowAllLinksKey (Page Down).

Compatibility

Built for Valheim 1.0.21 and used on a server with MultiUserChest, Quick Stack Store Sort Trash Restock, CraftFromContainers, AutoFeedRedux and MyLittleUI. Not compatible with other mods that automate the same stations from chests (for example RunicProduction): use one of them.

License

MIT. See LICENSE.

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