v0.3.0 — playtest fixes, two new rules, and §7 enforced

This commit is contained in:
Jesse
2026-08-12 21:08:28 -04:00
parent 6ead39c530
commit 1bf1e95058
38 changed files with 8514 additions and 5989 deletions
+2 -2
View File
@@ -460,8 +460,8 @@ export function impediments(s: GameState, player = 0): Impediment[] {
// A load that cannot move, with Laborers standing by, is the worst state a facility reaches:
// it also strips the industry track of Operational Rail status (§9.3), so no car can be
// brought in to rescue it.
for (let box = 0; box < f.menAtWork.length; box++) {
const load = f.menAtWork[box];
for (let box = 0; box < (f.menAtWork?.length ?? 0); box++) {
const load = f.menAtWork![box];
if (!load || canAdvanceLoad(f, box)) continue;
const reason =
laborersLeft(f) < 1