tasks: check off #9 — all 15 overhaul tasks merged; Workbench follow-ups

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-05 16:49:06 -04:00
parent 4e3692b99d
commit 3e85104de8
2 changed files with 13 additions and 1 deletions

View file

@ -41,6 +41,16 @@ and numbers (kept out of Batch 1 so no two workers edited `game/RULES.md` at onc
- `shuriken_count` > 1 fires every shuriken along the same line (no spread), though its comment
says "tunable up for a spread". Default is 1, so no gameplay impact today.
## Workbench (#9)
- `FarmNavigation._rasterize_into()` now tags a structure id even over cells already blocked by
scene collision (needed because the granted Workbench sits on its table prop's own collider).
Side effect: a player structure built flush against a wall also tags the wall cells in its
inflate band — movement is unchanged (still blocked), only barrier detection sees it. Cleaner
long-term: exclude the Workbench table's collider from the nav bake so the structure owns its cells.
- The Workbench is unconditionally a fence-breaker goal while unbroken (it never falls within
`guard_range` of the pen/shed/crop fields). Playtest whether breakers trekking to the house is fun.
- `game/LAYOUT.md`'s Work Area row (8…14, −24…−15) is stale: the zone sits at ~(28.6, −25.3).
## Structure levels (#10)
- Upgrading a turret/tar patch is daytime-only (a judgment call — repair stays any-phase). Flip by
dropping the `campaign.is_daytime()` checks in `interactions.gd`'s upgrade path.

View file

@ -39,7 +39,9 @@ this overhaul; judge tasks by *new* FAIL lines versus the baseline, not by a zer
*Acceptance:* new test killing N thief enemies and asserting goop drop rate roughly matches config
over many trials, or a deterministic seeded test; goop persists in save/retry.
- [ ] **#9 Workbench: auto-grant after Night 1 + destructible/repairable.**
- [x] **#9 Workbench: auto-grant after Night 1 + destructible/repairable.** *(merged 4e3692b —
`StructureSystem.grant_workbench()` at night 1's end; `workbench_hp` 50; broken at 0 HP until
repaired; always a fence-breaker goal while unbroken)*
Gate Workbench visibility/availability to auto-appear after Night 1 completes (campaign
controller's phase/night-advance signal), not buildable/placeable by the player. Once present,
give it HP and make it targetable by enemies, repairable via the existing proportional