Merge task #5: hidden/reveal shop items gated on Alien Goop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-05 14:40:37 -04:00
commit d68d37b40f
4 changed files with 111 additions and 2 deletions

View file

@ -141,6 +141,12 @@ extends Resource
"long_range": {"name": "Long-range defenses", "text": "Turrets reach 30% farther", "track": "Defenses", "stat": "turret_range", "mult": 1.3},
"sticky_tar": {"name": "Sticky tar", "text": "Tar patches hold 50% longer", "track": "Defenses", "stat": "trap_slow_time", "mult": 1.5},
}
## An upgrade with "hidden": true (e.g. Alien Ray, Radar, #7/#8) shows only a "?" (no name, text,
## or cost) and can't be bought until the player has collected this much Alien Goop in total
## (Upgrades.goop_collected); then it shows and buys normally for its defined cost. Overridable
## per item with its own "reveal_goop". 5 is about 15 Alien kills at the default 33% drop chance
## (alien_goop_drop_chance) — a few kills in, not instant and not a grind.
@export_range(0, 999) var hidden_reveal_goop: int = 5
@export_group("Assessment")
## The final assessment's weight per category (Assessment): the score is the weighted share of