Commit graph

3 commits

Author SHA1 Message Date
Forrest
aaf5a81b4e Task #21: animals roam the whole farm, never lost on their own
Loose animals now roam the whole playable map, day and night. Each walk
goes to a goal 4-8 m away that is walkable, in a clear straight line,
at least 2 m inside FarmZones.playable (passed into AnimalSystem.setup),
and neither inside the pen nor across it. Every morning a loose animal
is back at its loose spot (no save change).

Animals no longer escape on their own:
- _stray and LootSystem.animal_escaped are gone.
- A new LootSystem.animal_loose makes an animal LOOSE where it stands
  and unpens it. It covers a carrier killed or scared (drop), a broken
  follow leash, and an animal getting out of an open pen (animal_strays,
  which still records animals_strayed).
- An animal dropped inside the pen is home again.
- An animal let out of an open pen walks out along the escape field,
  then roams. If the pen shuts first, it stays home.
- return_dropped still pens followers at dawn's end, but leaves loose
  animals loose.
- The only loss paths left are a carrier leaving the farm
  (thief escape, or removal with reason LEFT).

Loose spots at x = -12 move inward to (6|9|12, 0.5). The toast,
review-panel, dropped-animal toast, RULES.md and header text no longer
promise animals wander off or run for the edge.

test_targets: _loose_start has a 90 s day + 90 s night roam run (every
animal >4 m, never off the map or into the pen, none lost), a morning
reset to the spots, a killed carrier leaving the animal loose, and an
unopposed thief carrying one off. _animal_theft, _leading, _breach and
_make_loose follow the new rules. AWAY moves off the map so roaming
animals can't start following the parked scarecrow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 13:07:13 -04:00
Forrest
8146567aac Enemy roster reskin: thief -> Alien, breaker -> Alien Robot display names
Renames player-visible text only (toasts, HUD hints, wave labels, night
and scenario titles, tutorial tips, review/end panel text): thief/thieves
display as alien/aliens, fence breaker/fence breakers display as alien
robot/alien robots. Crows keep their name; night 1's dusk hint and night
3's hint get brief alien-mind-control framing. All TYPE_* ids, "thief"/
"breaker"/"crow" data keys, class/function/variable names, and code
comments are unchanged. Adds EnemySystem.ARTICLES so "a"/"an" still
agrees with the new names. Updates the two tests that assert the old
display strings (test_flow.gd, test_save.gd); test_roster.gd and
test_theft.gd are untouched.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-05 13:48:00 -04:00
Forrest
4298caf5cb updates 2026-10-04 12:07:36 -04:00