Log inGet started
Package

hud.module

Newest version

README.md

hud

What the operator reads while they work.

  • HUD.order(state, s) — the order docket pinned top right: paper, ink, a pine stamp, the customer / product / species / length / quantity rows, CUTS n OF m and a row of tick boxes.
  • HUD.gaugeBaseScreen(s) — the dial: the chipped orange arc (the paint is broken into runs with enamel missing), the dark rim under it, the ticks, the figures 0–15 and the thermometer's shell. Static.
  • HUD.gaugeLiveScreen(state, s) — the arc lit up to Shift.state.rpm, the red heat needle at those revs, the thermometer's column off Shift.state.heat, and the STALLED label while Shift.state.stalled.
  • HUD.controls(alpha, s) — the controls strip, printed once when the shift begins and faded out by GameHud.

The gauge's geometry is GEO at the top of the file; the chips are seeded so they fall in the same place every reload. game.ui.GameHud registers every one of these.