harvest/game
Forrest af48cff80d Task #25: arrivals wait for a free character
A planned ground arrival whose type has no free character used to be
skipped (spawn_skipped) and lost. Now it waits and comes in as soon as
one frees, without holding back other types; any still waiting at
sunrise are dropped and counted.

- EnemySystem.can_spawn(type): room and, on foot, a free character
  (EnemyCharacters.has_free; a corpse counts), no side effects.
- WaveDirector.step: due arrivals that can't spawn go to a per-type
  FIFO; waiting ones are admitted first each tick. waited / dropped
  counters next to spawned, reset at nightfall; waiting() for tests.
- GameConfig.character_pool {"thief": 48, "breaker": 20} replaces
  EnemyCharacters.POOL; the pools are built from it at setup.
- RULES.md, Night plans: the real limits and the waiting rule.
- test_roster: full thief pool -> the thief waits, crows stay on time,
  a freed character (corpse) lets it in, sunrise drops and counts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 16:17:31 -04:00
..
resources Task #18: Alien Ray fires a beam 2026-10-06 13:39:00 -04:00
scenes Task #23: remove the zone banner and the message feed 2026-10-06 16:02:37 -04:00
scripts Task #25: arrivals wait for a free character 2026-10-06 16:17:31 -04:00
tests Task #25: arrivals wait for a free character 2026-10-06 16:17:31 -04:00
tools Merge task #22: the joining player can open the store 2026-10-06 13:48:30 -04:00
COOP.md Task #23: remove the zone banner and the message feed 2026-10-06 16:02:37 -04:00
LAYOUT.md Task #23: remove the zone banner and the message feed 2026-10-06 16:02:37 -04:00
PLAYTEST.md Task #24: nights by count, per-night enemy speed and HP 2026-10-06 16:05:12 -04:00
RULES.md Task #25: arrivals wait for a free character 2026-10-06 16:17:31 -04:00