harvest/game
Forrest 45f3e83e54 Task #5: generic hidden/reveal shop item system
An item definition in GameConfig.upgrades can set "hidden": true
(optionally its own "reveal_goop", else the new config-tunable
hidden_reveal_goop) so the workbench shows only a bare "?" (no name,
text, or cost), disabled, until the player has collected that much
Alien Goop in total. Upgrades.goop_collected()/revealed() derive this
from FarmState.totals() (completed nights) plus night_events (the
current cycle), so it persists through save and retry without any new
stored state. blocker() and buy() both gate on it (covering the co-op
buy-request path too), and UpgradePanel.refresh() shows the "?" row.

No real upgrade ships hidden yet; #7/#8 (Alien Ray, Radar) will use
this mechanism. Test flags a duplicated long_range/sticky_tar hidden
to exercise it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-05 14:38:42 -04:00
..
resources Merge task #14: enemy roster display names (Alien / Alien robot) 2026-10-05 13:51:27 -04:00
scenes Co-op voice/session work, config retune, net budget tool, overhaul plan 2026-10-05 13:35:53 -04:00
scripts Task #5: generic hidden/reveal shop item system 2026-10-05 14:38:42 -04:00
tests Task #5: generic hidden/reveal shop item system 2026-10-05 14:38:42 -04:00
tools Co-op voice/session work, config retune, net budget tool, overhaul plan 2026-10-05 13:35:53 -04:00
COOP.md Co-op voice/session work, config retune, net budget tool, overhaul plan 2026-10-05 13:35:53 -04:00
LAYOUT.md updates 2026-10-04 12:07:36 -04:00
PLAYTEST.md updates 2026-10-04 12:07:36 -04:00
RULES.md updates 2026-10-04 17:30:48 -04:00