Task #27: the thirty nights

- campaign_nights 5 -> 30. The old night 5 ("The last night") is now night 30, keeping its
  uid, title, hint, and 180 s. It grew to 73 base / 511 played in its three waves, with UFO
  groups added, at speed x1.25 and HP x1.625.
- New hand-authored night 5, "Lights in the sky": night 4's shape plus the first UFOs (two
  single-UFO groups, 14 as played), 24 base.
- New game/tools/make_nights.gd writes nights 6-29 by the plan's recipe (seed 30, sieges on
  10/15/20/25, mix, waves, scales, draft titles and hints) as .tres text with fresh uids. It
  skips existing files unless --force (which keeps their uids), refuses ranges outside 6..29,
  and checks every plan with NightPlan.problems() at the played scales (non-zero exit on any
  problem). Generated nights 6-29 are committed.
- test_nights: the arc (30 plans, breakers from night 3 and UFOs from night 5, no non-siege drop
  over 15% from night 3 on, sieges, last night longest), the per-night scales, the new night 5
  and night 30 designs. The back-to-back run plays nights 1-5, 10, and 30, skipping the rest
  with CampaignDebug.jump_morning.
- test_campaign, test_cycle, test_flow read campaign_nights instead of a hard-coded 5.
- RULES (the vacation, the Night row, the thirty nights and their table, the vacation's end),
  README, and a dated PLAYTEST section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-06 16:38:07 -04:00
parent 3bb835f7c3
commit ab1443325a
36 changed files with 2956 additions and 136 deletions

View file

@ -362,3 +362,37 @@ Nights 2–5 still use the config's 7x / 0.3. `--mode=cycle --cycles=1 --build=0
- Is night 1 now a fair place to learn the stab, or too quiet over 150 s?
- Night 2 is the cliff: 112 enemies, about ten times night 1. Does it need its own scale too, given
the corn shooter costs 10 scrap and 4 wood from day 2?
## Thirty nights (2026-10-06)
The vacation is now 30 nights (`GameConfig.campaign_nights`). The phase lengths stay the same,
so a whole vacation is about 3¼ hours, and losses still carry over. The nights, as played
(RULES, The thirty nights):
- **1–4:** unchanged.
- **5, "Lights in the sky" (new):** night 4's three moments plus the first UFOs, a group of 7 at
30 s and another at 80 s, arriving on their own. 168 enemies.
- **6–29:** written by `game/tools/make_nights.gd` (seed 30). They grow from 182 to 427 enemies
a night, in 3 to 5 waves. Every fifth night (10, 15, 20, 25) is a siege, 30% heavier: 294,
364, 427, and 504. Enemy speed rises 1% a night and HP 2.5% (a thief has 4 HP from night 19,
a breaker 9 from night 25). The titles and dusk hints are drafts.
- **30, "The last night":** the old night 5, with its title, hint, 180 s, and three-wave shape.
It's grown to 511 enemies (168 crows, 182 thieves, 91 breakers, 70 UFOs), at speed ×1.25 and
HP ×1.625.
**Measured** (`test_nights`, defenses only, the scarecrow away and unhurt; nights 1–5, 10, and
30 played, the rest skipped with F3):
- **Breakers stop at 20 a night.** That's the size of the breakers' character pool. Night 5 plans
21, night 10 plans 35, and night 30 plans 91, but exactly 20 arrive each time: in this setup no
breaker's character frees up during the night. #25 makes the extra breakers wait instead of
vanishing, and #28 sizes the pools.
- **Losses** (two runs): night 10 lost 95–105 supplies and night 30 lost 125–135, and neither
lost crops or animals. The test restocks the shed to 99 of each material every night.
**For the playtest:**
- Does night 5 read as "UFOs now"? Do the lone UFO groups give the player time to learn them
before the next wave?
- Do the sieges feel like an event, or just a longer night? Is 30% the right bump?
- Can the player feel the speed and HP rising, and when? Thieves at 4 HP from night 19 is the
biggest step.
- Rewrite the draft titles and hints of nights 6–29 (in the files, or in `make_nights.gd`'s lists
followed by `--force`).