From 088b2edec9caf60c37befa1ee6b365f5167fea09 Mon Sep 17 00:00:00 2001 From: soul Date: Sat, 28 Nov 2026 18:15:49 +0100 Subject: [PATCH] Production.Advance's comment names the room gate Co-Authored-By: Claude Sonnet 5.5 --- Assets/Scripts/ServerShared/Production.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/ServerShared/Production.cs b/Assets/Scripts/ServerShared/Production.cs index b1c8b6b1c..40fe32e23 100644 --- a/Assets/Scripts/ServerShared/Production.cs +++ b/Assets/Scripts/ServerShared/Production.cs @@ -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