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

@ -211,8 +211,8 @@ func _totals_text(t: Dictionary, finished: bool) -> String:
_count(t["crops_recovered"], "crop"), _count(t["animals_recovered"], "animal"), int(t["supplies_recovered"]),
_count(t["crops_lost"], "crop"), _count(t["animals_lost"], "animal"), int(t["supplies_lost"])])
lines.append("Built %d, repaired %d, broken %d. Upgrades: %d of %d. Patched up %s, %d damage taken." % [
int(t["structures_built"]), int(t["repairs"]), int(t["structures_destroyed"]), s.upgrades.size(),
Upgrades.ORDER.size(), _count(t["patches"], "time"), int(t["scarecrow_damage"])])
int(t["structures_built"]), int(t["repairs"]), int(t["structures_destroyed"]), Upgrades.levels_bought(campaign.config, s),
Upgrades.levels_total(campaign.config), _count(t["patches"], "time"), int(t["scarecrow_damage"])])
lines.append("Gathered %s. Spent %s." % [Assessment.materials_line(t, "gathered_"), Assessment.materials_line(t, "spent_")])
return "\n".join(lines)