
You are viewing a potentially older version of this package. View Latest Version
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.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
- Install through your mod manager (recommended) — BepInEx and Jotunn are installed automatically.
- Manual: drop
HarvestTurrets.dllintoBepInEx\plugins\.
How to use
- Restart the game after installing (the build pieces are registered at startup).
- Build one of the three turrets from the Hammer under Misc and place it near the resource you want worked.
- 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.
- 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.

