#Conditional Hooks

$Application: FS2_Open

$On Game Init: [
  TrainingGauge = require('trainingGauge')
  mn.LuaSEXPs['show-hud-control'].Action = TrainingGauge.showHudControl
  mn.LuaSEXPs['reset-hud-controls'].Action = TrainingGauge.reset
]

$On Mission Start: [
  TrainingGauge.reset()
]

$State: GS_STATE_GAME_PLAY
$On Frame: [
  TrainingGauge.onFrame()
]

#End

