Add real farm worker harvesting

This commit is contained in:
CoalGov Deploy
2026-05-06 02:34:52 +00:00
parent 3fb2b5c323
commit cf0a71f900
5 changed files with 144 additions and 7 deletions

View File

@@ -135,13 +135,14 @@ CoalGov uses Citizens for NPC agents.
- Trader NPCs have their own inventory and coal account
- Worker NPCs patrol assigned polygon zones
- Worker roles are matched from NPC names, such as `Farmer` or `Baker`
- Farm workers can harvest mature crops in their assigned zone, collect drops, and replant from their inventory
- Workers can consume inputs, pull supplies from same-zone NPCs, produce outputs, and stock same-zone traders
- Traders can haggle through `/cgnpc haggle`
- Optional OpenRouter-backed AI can produce trader messages and counters
Default worker chain:
- `Farmer` produces `WHEAT`
- `Farmer` harvests and replants mature crops in its zone
- `Baker` consumes `WHEAT` and produces `BREAD`
- Same-zone traders accept worker outputs up to the configured restock target