RegionProductionUI

Overview

Star bar showing the region’s current production and the maximum cap for a Lab. Filled halves (white) indicate current production; remaining halves up to the cap are shown in black; anything beyond is hidden.

Serialized

  • FloatVariable maxLabProduction

Behavior

  • production = floor(LocalProduction * 2)
  • cap = floor(maxLabProduction * 2)
  • For each index:
    • < production → white
    • >= production && < cap → black
    • >= cap → hidden