74233f5bc5c6365b7aed33fd44c11eeac845e1d8
tickProduction never starts a cycle in the tick one completed, so a building running back to back is idle for exactly one tick per cycle. The status light classified that tick as "output full" -- hasInputsToStart looks at the input buffers alone -- so the pill blinked green/yellow once per cycle, roughly once a second on a one-second recipe. REQ-UI-STATUS-LIGHT already says a building that is idle yet blocked by neither condition shows green. Add canStartCycle(), which requires a candidate recipe's inputs *and* room for its output, and classify on it; yellow now needs an output buffer that genuinely cannot take the next cycle. The Reprocessing Plant rolls its output in the simulation, so the classifier judges it by the smallest amount any roll could yield. tickProduction's space check goes through the same outputBufferHasRoom(), so the simulation and the light cannot drift apart. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ne3mejABZoLWKLh8fgpM3x
Description
No description provided
Languages
C++
96%
CMake
2.2%
Python
1.2%
C
0.6%