DFG-HarvestTurrets icon

HarvestTurrets

Three automated ballista variants: Lumberjack (fells trees), Quarry (mines rock) and Huntsman (hunts wild animals) - set them up and let them gather for you.

By DFG
Last updated 3 days ago
Total downloads 33
Total rating 1 
Categories Utility AI Generated
Dependency string DFG-HarvestTurrets-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333
ValheimModding-Jotunn-2.30.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.0

README

Harvest Turrets

Adds three automated ballista variants that gather the world for you. Clones of the vanilla Ballista — point one at a resource and it works on its own: aiming, warming up, and firing with no ammo and no interaction.

A Valheim BepInEx 5 plugin built on Jotunn.

Turrets

Piece Fires Targets Cost
Lumberjack Turret Chop bolt Trees (TreeBase) and logs (TreeLog) 20x Wood, 10x Fine Wood, 5x Iron
Quarry Turret Pickaxe bolt Rocks and ore (MineRock, MineRock5) 30x Stone, 10x Iron, 5x Bronze
Huntsman Turret Pierce bolt Wild animals (deer, boar, ...) 15x Fine Wood, 10x Iron, 10x Leather Scraps

All three are built from the Hammer build menu under Misc.

Requirements

  • BepInEx 5 (denikson-BepInExPack_Valheim)
  • Jotunn 2.30.x (ValheimModding-Jotunn)

Installation

  1. Install through your mod manager (recommended) — BepInEx and Jotunn are installed automatically.
  2. Manual: drop HarvestTurrets.dll into BepInEx\plugins\.

How to use

  1. Restart the game after installing (the build pieces are registered at startup).
  2. Build one of the three turrets from the Hammer under Misc and place it near the resource you want worked.
  3. Walk away. The turret scans every 0.4 s, swings to face the nearest valid target, holds its aim for the warm-up, then fires a bolt that deals the right damage type with a high enough tool tier to actually fell trees / mine rocks.
  4. The Huntsman Turret leaves tamed animals and hostile monsters alone by default — enable TargetMonsters / TargetTamed (with livestock warnings) in config if you want them hunted too.

How it works

  • Damage is applied when the bolt lands, using vanilla damage types (Chop / Pickaxe / Pierce), so drops, log spawning, and death behaviour are all vanilla.
  • No ammo required — turrets fire on a configurable cooldown.
  • Targeting is owner-authoritative; each turret only acts if it owns its zone data (co-op safe).

Configuration

Generated on first launch at BepInEx\config\com.harvestturrets.harvestturrets.cfg.

General

Key Default Description
Enabled true Master toggle.
AddBuildPieces true Register the three pieces (requires restart).
ShowProjectile true Draw the bolt flying to the target.
TintModels true Tint each turret so the variants are visually distinct (requires restart).
Scale 0.5 Uniform model scale (requires restart).

Lumberjack / Quarry / Huntsman

Key Lumberjack Quarry Huntsman Description
Range 40 40 45 Detection range in meters.
Damage 60 60 90 Damage per shot.
AttackInterval 1.5 1.5 1.2 Seconds between shots.
ToolTier 4 4 0 Tool tier per shot (must be high enough for the target).
Warmup 0.4 0.4 0.3 Seconds of held aim before firing.
ProjectileFlightTime 0.25 0.25 0.2 Seconds for the bolt to reach the target.
TurnRate 30 30 40 Aim swing speed.

Huntsman only

Key Default Description
TargetAnimals true Hunt non-tamed animals (deer, boar, etc.).
TargetMonsters false Also hunt hostile monsters.
TargetTamed false Also hunt tamed animals (will shoot your livestock).

Changelog

See CHANGELOG.md.