fix(harvest): replant triggering crop
Release / release (push) Successful in 2m18s
CI / build (push) Successful in 57s

This commit is contained in:
dmg
2026-08-14 18:44:36 -04:00
parent d35c0197f5
commit 9f03abbefe
8 changed files with 184 additions and 21 deletions
@@ -11,6 +11,8 @@ As a **player**, I want harvested crops replanted and their useful drops deliver
## Acceptance criteria
- [x] The manually broken crop that starts auto-harvest is harvested and replanted exactly once as the first crop in the operation.
- [x] Automated regression tests cover the triggering-crop planning, cap accounting, and replant path.
- [x] Every crop successfully harvested by an auto-harvest operation is immediately replanted as the same crop at its minimum growth stage.
- [x] Replanting consumes one appropriate planting item from that crop's generated drops before remaining drops are delivered.
- [x] Wheat consumes one wheat seed, carrots consume one carrot, potatoes consume one potato, and beetroot consumes one beetroot seed when replanted.