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
|
|
@ -113,7 +113,10 @@ or during their task:
|
||||||
non-lost animal to HOME each morning and FarmState only persists `lost_animals` — so "loose, not
|
non-lost animal to HOME each morning and FarmState only persists `lost_animals` — so "loose, not
|
||||||
reset into the pen each morning" needs a persisted per-animal penned/loose record in FarmState.
|
reset into the pen each morning" needs a persisted per-animal penned/loose record in FarmState.
|
||||||
Needs a design decision (calm "loose" grazing behavior vs. literal DROPPED) before #12 is
|
Needs a design decision (calm "loose" grazing behavior vs. literal DROPPED) before #12 is
|
||||||
dispatched.
|
dispatched. **Resolved 2026-10-05: calm grazing outside** — a new calm loose state: animals start
|
||||||
|
scattered outside the pen and graze in place until led in; Aliens can still steal them; an animal
|
||||||
|
an Alien drops still runs for the edge (existing DROPPED behavior unchanged); FarmState persists
|
||||||
|
which animals are penned so loose ones stay loose across mornings, save, and retry.
|
||||||
- **Supply Shed as a real purchase UI**: the review flagged that `shed_stock.gd` is currently just
|
- **Supply Shed as a real purchase UI**: the review flagged that `shed_stock.gd` is currently just
|
||||||
a stockpile zone, not a store — all purchasing happens through the Workbench's `UpgradePanel`.
|
a stockpile zone, not a store — all purchasing happens through the Workbench's `UpgradePanel`.
|
||||||
Proceeding on the assumption that Supply Shed becomes its own purchase surface for weapons/items
|
Proceeding on the assumption that Supply Shed becomes its own purchase surface for weapons/items
|
||||||
|
|
|
||||||
|
|
@ -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.
|
active enemy positions, hidden before purchase.
|
||||||
|
|
||||||
- [ ] **#12 Animals start loose; herd into the player-built pen.** Blocked by #11.
|
- [ ] **#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
|
*(Reworked 2026-10-05: reusing DROPPED as-is doesn't work — DROPPED animals inside the pen rect
|
||||||
in-pen grazing in animal_system.gd) in setup()/sync_from_state(), so they start loose across the
|
flip straight back to HOME, and outside it they walk to the map edge and are lost in any phase.
|
||||||
open farm rather than resetting into a fixed pen each morning. Reuse the existing follow-trail
|
User chose "calm grazing outside".)* Add a new calm loose status (e.g. `LootSystem.Status.LOOSE`):
|
||||||
mechanic (start_following/_follow) so the player can herd them into the pen once its boundary is
|
animals start scattered in open farmyard outside the pen rect and graze in place (HOME-style
|
||||||
built (#11). Handle the "no pen built yet" state for escape/theft logic.
|
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
|
*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.
|
freshly-enclosed pen, and behave per existing containment/escape/theft rules once penned.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue