Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ValheimFarmerNPC
Autonomous goblin farmers for Valheim. Place a homestead, mark your field, assign chests - farmers plant, harvest, and store crops. Multiplayer-safe; server and clients need the mod.
CHANGELOG
Changelog
1.0.13
- Fixed farmers shuttling between field and homestead while harvest/plant work remained (slot refresh no longer mis-marks mature crops as empty or moves slot anchors)
- Plantable-slot checks cover more of the field so a few blocked near plots don't skip the rest
1.0.12
- Sidestep only when crowded by another farmer and not making progress (no more random sidesteps while working)
1.0.11
- Packed chests next to the homestead can all be assigned (match radius was merging neighbors as duplicates)
1.0.10
- Chest assign uses full Container scan again (OverlapSphere was picking a distant chest and skipping nearby ones)
1.0.9
- Dedicated: chest assigns persist on the client-owned homestead ZDO (can assign multiple chests again)
- Only assign real farm chests (
piece_chest*) / carts — ignore dungeon containers - Server homestead saves claim ZDO ownership so fj_chests/slots replicate
1.0.8
- Dedicated field scan runs on the zone client (Physics) and syncs slots to the server
- Restored AABB full-ZDO fallback when iterative prefab lookup misses crops
1.0.7
- Dedicated server field scan finds crops again (ZDO lookup uses Pickable_* world prefabs)
- Dedicated unpause no longer falsely reports "no farmer" on the server
- Farmers rematerialize with FarmerNpc after zone reload; no longer spawn as vanilla Goblin fallback
1.0.6
- Stuck farmers briefly sidestep left/right to clear collisions before failing a task
1.0.5
- Fixed deposit/reserve restock loop (stale bag totals + only restock when still short)
- Chest resolve: OverlapSphere with FindObjectsOfType fallback so assigned chests are not missed
1.0.4
- Newly added farmers start working immediately (no pause/unpause needed)
- Preserve working state across Add Farmer reload; kick AI evaluate on spawn/unpause
1.0.3
- Homestead placement reliably spawns the starter farmer (retries until ready; ignores distant neighbors)
- Unpausing with no farmer nearby shows an on-screen message to use Add Farmer
1.0.2
Performance and AI cleanup.
1.0.1
- Homestead placement spawns one starter farmer; fixed Add/Remove farmer count messages
1.0.0
First public Thunderstore release.