Plan/tasks: #12 uses a new calm loose state, penned set persisted in FarmState
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8c9097d75e
commit
df096dc3fa
2 changed files with 15 additions and 6 deletions
|
|
@ -140,10 +140,16 @@ this overhaul; judge tasks by *new* FAIL lines versus the baseline, not by a zer
|
|||
active enemy positions, hidden before purchase.
|
||||
|
||||
- [ ] **#12 Animals start loose; herd into the player-built pen.** Blocked by #11.
|
||||
Set animals' initial status to the existing DROPPED/loose state (not HOME — that already means
|
||||
in-pen grazing in animal_system.gd) in setup()/sync_from_state(), so they start loose across the
|
||||
open farm rather than resetting into a fixed pen each morning. Reuse the existing follow-trail
|
||||
mechanic (start_following/_follow) so the player can herd them into the pen once its boundary is
|
||||
built (#11). Handle the "no pen built yet" state for escape/theft logic.
|
||||
*(Reworked 2026-10-05: reusing DROPPED as-is doesn't work — DROPPED animals inside the pen rect
|
||||
flip straight back to HOME, and outside it they walk to the map edge and are lost in any phase.
|
||||
User chose "calm grazing outside".)* Add a new calm loose status (e.g. `LootSystem.Status.LOOSE`):
|
||||
animals start scattered in open farmyard outside the pen rect and graze in place (HOME-style
|
||||
wandering around their spot, not down `escape_field`) until the player leads them in with the
|
||||
existing follow-trail mechanic (start_following/_follow) — entering the pen makes them HOME.
|
||||
Aliens can still claim/steal loose animals; an animal an Alien drops stays DROPPED (unchanged:
|
||||
runs for the edge). Persist which animals are penned in FarmState (to_dict/from_dict, morning
|
||||
snapshot) so `sync_from_state()` restores penned animals HOME and the rest LOOSE each morning,
|
||||
instead of resetting everyone into the pen. Handle the "no pen built yet" state for escape/theft
|
||||
logic.
|
||||
*Acceptance:* new test confirming animals spawn loose at campaign start, can be led into a
|
||||
freshly-enclosed pen, and behave per existing containment/escape/theft rules once penned.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue