Plan: resolve Workbench wiring as option (a)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-05 13:36:02 -04:00
parent 39f9d15cfe
commit 6ff139a036

View file

@ -88,7 +88,9 @@ or during their task:
that array. Before starting #9, decide: (a) inject Workbench into `structures` via a non-purchased,
unvalidated variant of `place()` so it rides the existing damage/repair pipeline, or (b) give it
bespoke duplicate HP/damage/repair logic outside `StructureSystem`. This is a design decision, not
just a numeric default.
just a numeric default. **Resolved 2026-10-05: (a)** — inject Workbench into
`StructureSystem.structures` via a non-purchased, unvalidated `place()` variant so it reuses the
existing damage/repair/targeting/save pipeline.
- **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`.
Proceeding on the assumption that Supply Shed becomes its own purchase surface for weapons/items
@ -107,9 +109,9 @@ No dependency chain | Independent, safe to start anytime:
3. Pouch capacity rework: base 16→8, new `pouch_upgrade` entry raises it to 16.
4. Alien Goop resource + drop-on-kill from `thief`/Alien enemies (config: `alien_goop_drop_chance`
default 0.33, `alien_goop_drop_qty` default 1).
9. Workbench: auto-grant after Night 1, becomes a destructible/repairable world object. **Blocked on
a wiring decision** — see Open assumptions ("Workbench wiring gap"): it has no path into
`StructureSystem.structures` today since that array is only populated via player `place()`.
9. Workbench: auto-grant after Night 1, becomes a destructible/repairable world object. Wiring
decision resolved as option (a) — see Open assumptions ("Workbench wiring gap"): inject it into
`StructureSystem.structures` through a non-purchased, unvalidated `place()` variant.
10. Per-instance Turret/Tar Patch leveling (L1-L3), independent per placed structure.
11. Animal Pen: **not a new buildable type** (see corrected Decision 4) — remove the static decorative
fence (`Zones/AnimalPen` in `farm.tscn`) and make its boundary buildable using the existing