Upgrade counts are in levels; day-1 text no longer promises pumpkin bombs

The workbench label, the morning screen and the end screen counted an
upgrade as done at level 1 ("N of 17"); they now count levels bought
(Upgrades.levels_bought / levels_total). Pumpkin bombs arrive at the shed
on day 3, so the first-morning text and the shoot tip say more weapons
arrive over the days instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-06 16:24:30 -04:00
parent 787b36a1c2
commit 5fcb87941e
6 changed files with 26 additions and 19 deletions

View file

@ -42,9 +42,6 @@ func show_state(campaign: CampaignController, show: bool, focused: bool, broken:
_label.text = "Broken -- repair it" if focused else "Broken"
return
_label.modulate = NORMAL_COLOR
var done := 0
for id in Upgrades.ORDER:
if Upgrades.owned(campaign.state, id):
done += 1
var hint := ("[E / X] Upgrades" if campaign.is_daytime() else "Upgrades by day") if focused else "Upgrades"
_label.text = "%s\n%d of %d done" % [hint, done, Upgrades.ORDER.size()]
_label.text = "%s\n%d of %d levels" % [hint, Upgrades.levels_bought(campaign.config, campaign.state),
Upgrades.levels_total(campaign.config)]