Skip to content

Add harvester auto-resume#14

Open
schultzp2020 wants to merge 1 commit into
darkademic:devfrom
schultzp2020:feature/harvester-auto-resume
Open

Add harvester auto-resume#14
schultzp2020 wants to merge 1 commit into
darkademic:devfrom
schultzp2020:feature/harvester-auto-resume

Conversation

@schultzp2020
Copy link
Copy Markdown

@schultzp2020 schultzp2020 commented May 14, 2026

Adds automatic harvesting resumption for idle harvesters. When a harvester becomes idle (e.g., after completing a move order), it will automatically resume harvesting after a configurable delay.

User story:
As a player, I want my harvesters to automatically resume harvesting after I move them out of danger or slightly misclick, so that I don't lose income from forgetting to re-issue harvest orders.

Behavior:

  • After a harvester becomes idle for any reason, it waits a configurable delay then automatically queues a new harvest order
  • Default delay is 250 ticks (~10 seconds at normal game speed), giving the player time to issue follow-up orders
  • Works for all idle scenarios: completed move orders, attack orders, scatter, stop, etc.
  • Full harvesters will route to a refinery to unload first (handled by existing FindAndDeliverResources logic)
  • Implemented as a standalone conditional trait (HarvesterAutoResume) — can be disabled per-unit via conditions
  • Configurable via YAML: ResumeDelay

@schultzp2020 schultzp2020 force-pushed the feature/harvester-auto-resume branch from 7eab8f6 to 1187eb5 Compare May 14, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant