Production.Advance's comment names the room gate

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-11-28 18:15:49 +01:00
commit 088b2edec9

View file

@ -91,7 +91,8 @@ public static class Production
}
// The facility's state after `seconds` of sim time, and why it is not advancing. An idle facility (run null or Progress 0)
// starts the first recipe after the cursor, wrapping, whose units the hold grants, and takes them at once; a running one adds
// starts the first recipe after the cursor, wrapping, whose units the hold grants and whose output the hold has room for
// (IProductionHold.Room), and takes them at once; a recipe skipped for room leaves the facility on Stall.Room when none starts; a running one adds
// time; at Progress >= Cycle it stores the output and goes idle, the recipe staying as the cursor. A store the hold refuses
// holds the batch at Cycle (Room) and retries on the next call. Time left after a cycle ends runs the next one in the same call,
// so a long span runs several cycles (the rule that makes one span equal as many steps as it covers); time that no cycle can start is