harvest/game/tests
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
..
run_tests.gd updates 2026-10-04 12:07:36 -04:00
run_tests.gd.uid init 2026-10-03 12:14:28 -04:00
test_campaign.gd updates 2026-10-04 12:07:36 -04:00
test_campaign.gd.uid init 2026-10-03 12:14:28 -04:00
test_coop.gd Co-op voice/session work, config retune, net budget tool, overhaul plan 2026-10-05 13:35:53 -04:00
test_coop.gd.uid updates 2026-10-04 12:07:36 -04:00
test_cycle.gd Task #4: Alien Goop resource and drop-on-kill from Aliens 2026-10-05 14:23:22 -04:00
test_cycle.gd.uid updates 2026-10-04 12:07:36 -04:00
test_economy.gd Task #5: generic hidden/reveal shop item system 2026-10-05 14:38:42 -04:00
test_economy.gd.uid updates 2026-10-04 12:07:36 -04:00
test_farm_layout.gd updates 2026-10-04 12:07:36 -04:00
test_farm_layout.gd.uid init 2026-10-03 12:14:28 -04:00
test_farm_state.gd updates 2026-10-04 12:07:36 -04:00
test_farm_state.gd.uid init 2026-10-03 12:14:28 -04:00
test_flow.gd Enemy roster reskin: thief -> Alien, breaker -> Alien Robot display names 2026-10-05 13:48:00 -04:00
test_flow.gd.uid updates 2026-10-04 12:07:36 -04:00
test_nights.gd updates 2026-10-04 12:07:36 -04:00
test_nights.gd.uid updates 2026-10-04 12:07:36 -04:00
test_outcome.gd updates 2026-10-04 12:07:36 -04:00
test_outcome.gd.uid init 2026-10-03 12:14:28 -04:00
test_roster.gd updates 2026-10-04 12:07:36 -04:00
test_roster.gd.uid updates 2026-10-04 12:07:36 -04:00
test_save.gd Enemy roster reskin: thief -> Alien, breaker -> Alien Robot display names 2026-10-05 13:48:00 -04:00
test_save.gd.uid updates 2026-10-04 12:07:36 -04:00
test_scarecrow.gd updates 2026-10-04 12:07:36 -04:00
test_scarecrow.gd.uid updates 2026-10-04 12:07:36 -04:00
test_structures.gd updates 2026-10-04 12:07:36 -04:00
test_structures.gd.uid updates 2026-10-04 12:07:36 -04:00
test_targets.gd updates 2026-10-04 12:07:36 -04:00
test_targets.gd.uid updates 2026-10-04 12:07:36 -04:00
test_theft.gd updates 2026-10-04 12:07:36 -04:00
test_theft.gd.uid updates 2026-10-04 12:07:36 -04:00
test_weapons.gd updates 2026-10-04 17:30:48 -04:00
test_weapons.gd.uid updates 2026-10-04 12:07:36 -04:00