{
  cooldown: 0.0,
  areas: [
    {
      name: "ANYWHERE",
      rect: { x: 0, y: 0, w: 100, h: 100 },
      model: "*FILLAREA*",
      activeAreaColor: "REF: clr_menuBKG",
      isEnterable: 1
    },
    {
      name: "TITLE",
      rect: { x: 5, y:3 , w: 90, h: 10 },
      areaColor: "",
      activeAreaColor: "",
      model: "HELP",
      material: "REF: mat_menuTitle",
      isEnterable: 0
    },
    {
      name: "PAGE1_ITEM1",
      rect: { x: 30, y:17.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<[KEY: W] [KEY: A] [KEY: S] [KEY: D]\nOR USE CONTROLLER\nTO MOVE THE PLAYER",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE1_ITEM2",
      rect: { x: 30, y:37.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<[KEY: P]  [JPAD: B1]  [MOUSE: LMB]\nHOLD TO CHARGE PUNCH\nRELEASE TO PUNCH\nLONGER CHARGE=HARDER",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE1_ITEM3",
      rect: { x: 30, y:57.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<[KEY: L]  [JPAD: B2]  [MOUSE: RMB]\nHOLD TO USE SHIELD\nPRESS DIRECTION TO CHANGE WAY FACING",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE2_ITEM1",
      rect: { x: 30, y:17.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<[KEY: SPACE]  [JPAD: B3]  [MOUSE: MMB]\nUSE SUPER-PUNCH POWER-UP",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE2_ITEM2",
      rect: { x: 30, y:37.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<PROTECTIVE ARMOUR\nACTIVATES WHEN PICKED UP\nLASTS FOR FIXED AMOUNT OF TIME",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE2_ITEM3",
      rect: { x: 30, y:57.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<BERNARD THE MURDER FISH\nACTIVATES WHEN TOUCHED\nPICKS FIGHTS WITH ROBOTS",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE3_ITEM1",
      rect: { x: 30, y:17.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<TRONSPORTER ROBOT\nDESTROY IT TO GET POWER-UP BOX",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE3_ITEM2",
      rect: { x: 30, y:37.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<POWER-UP BOX\nCOLLECT THIS TO GET ONE OF THE POWER-UPS",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE3_ITEM3",
      rect: { x: 30, y:57.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<POWER-UPS\nFIST  SHIELD   BERNARD\nSEE PREVIOUS PAGE",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE4_ITEM1",
      rect: { x: 30, y:17.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<PRISONER\nSMASH CELL DOOR AND RESCUE ALL PRISONERS ON LEVEL",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE4_ITEM2",
      rect: { x: 30, y:37.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<MAP NODE\nTOUCH TO VIEW MAP OF LEVEL AND LOCATION OF PRISONERS AND ROBOTS",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE4_ITEM3",
      rect: { x: 30, y:57.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<LIFT BUTTON\nRETURN TO STARTING LIFT ONCE ALL PRISONERS HAVE BEEN RESCUED",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE5_ITEM1",
      rect: { x: 30, y:17.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<ROBOT\nPUNCH TO DESTROY\nUSE YOUR SHIELD FOR PROTECTION",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE5_ITEM2",
      rect: { x: 30, y:37.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<ANOTHER ROBOT\nTHERE ARE SEVERAL DIFFERENT TYPES OF ROBOTS",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    // HACK of newline to force shrink since when non-vector
    // see InputRenderer.cpp
    {
      name: "PAGE5_ITEM3",
      rect: { x: 30, y:57.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<THEY SHOOT BEAMS OR ENERGY BOLTS OR LIGHTNING\n",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE6_ITEM1",
      rect: { x: 30, y:17.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<HEAD CRAWLER\nSTICKS TO YOUR HEAD\nKNOCK IT OFF BY BANGING IT INTO A WALL",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE6_ITEM2",
      rect: { x: 30, y:37.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<SECURITY TOWER\nNEAR INDESTRUCTIBLE\nAVOID RATHER THAN FIGHT",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "PAGE6_ITEM3",
      rect: { x: 30, y:57.5 , w: 60, h: 15 },
      areaColor: "",
      activeAreaColor: "",
      model: "$<SPINNER\nEXPLODES ON IMPACT\nPUNCH IT BEFORE IT HITS YOU",
      material: "REF: mat_menuOptSimplex3",
      isEnterable: 0
    },
    {
      name: "HELP_PAGE_DEC",
      rect: { x: 8, y: 72, w: 8, h: 8 },
      activeAreaColor: "REF: clr_menuATV",
      areaColor: "REF: clr_menuCLR",
      model: "-",
      material: "REF: mat_menuOpt5",
      isEnterable: 1
    },
    {
      name: "HELP_PAGE_INC",
      rect: { x: 84, y: 72, w: 8, h: 8 },
      activeAreaColor: "REF: clr_menuATV",
      areaColor: "REF: clr_menuCLR",
      model: "+",
      material: "REF: mat_menuOpt5",
      isEnterable: 1
    },
    {
      name: "BACK",
      rect: { x: 30, y: 82, w: 40, h: 10 },
      activeAreaColor: "REF: clr_menuATV",
      areaColor: "REF: clr_menuCLR",
      model: "BACK",
      material: "REF: mat_menuOpt5",
      isEnterable: 1
    },
  ],
  switches: [
    {
      areas: [ "*ALL*" ],
      triggersRef: "menu_escape",
      delays: { },
      actions: { press:    [ { id: "LOGIC_RETURN", info: "BACK" } ] }
    },
    // Press anything when not on menu then move to menu top
    {
      areas: [ "ANYWHERE" ],
      triggersRef: "menu_pressAny",
      delays: { },
      actions: { press:       [ { id: "GOTO_AREA", info: "BACK" } ] }
    },
    // Press LEFT then move to DEC
    {
      areas: [ "*ALL*" ],
      triggersRef: "menu_pressLF",
      delays: { },
      actions: { press:       [ { id: "GOTO_AREA", info: "HELP_PAGE_DEC" } ] }
    },
    // Press RIGHT anywhere then move to INC
    {
      areas: [ "*ALL*" ],
      triggersRef: "menu_pressRT",
      delays: { },
      actions: { press:       [ { id: "GOTO_AREA", info: "HELP_PAGE_INC" } ] }
    },
    // Press UP in INC/DEC then goto BACK
    {
      areas: [ "HELP_PAGE_DEC", "HELP_PAGE_INC" ],
      triggersRef: "menu_pressUP",
      delays: { },
      actions: { press:       [ { id: "GOTO_AREA", info: "BACK" } ] }
    },
    // Press DN in INC/DEC then goto BACK
    {
      areas: [ "HELP_PAGE_DEC", "HELP_PAGE_INC" ],
      triggersRef: "menu_pressDN",
      delays: { },
      actions: { press:       [ { id: "GOTO_AREA", info: "BACK" } ] }
    },
    // DEC page button
    {
      areas: [ "HELP_PAGE_DEC" ],
      triggersRef: "menu_pressSelect",
      delays: { },
      actions: { press:       [ { id: "PAGE_DEC", info: "[AREA_NAME]" } ] }
    },
    // DEC page button
    {
      areas: [ "HELP_PAGE_DEC" ],
      triggersRef: "menu_pressLF",
      delays: { },
      actions: { press:       [ { id: "PAGE_DEC", info: "[AREA_NAME]" } ] }
    },
    // INC buttons
    {
      areas: [ "HELP_PAGE_INC" ],
      triggersRef: "menu_pressSelect",
      delays: { },
      actions: { press:       [ { id: "PAGE_INC", info: "[AREA_NAME]" } ] }
    },
    // INC buttons
    {
      areas: [ "HELP_PAGE_INC" ],
      triggersRef: "menu_pressRT",
      delays: { },
      actions: { press:       [ { id: "PAGE_INC", info: "[AREA_NAME]" } ] }
    },
    // Press select then logic returns the area name
    {
      areas: [ "BACK" ],
      triggersRef: "menu_pressSelect",
      delays: { },
      actions: { press:       [ { id: "LOGIC_RETURN", info: "[AREA_NAME]" } ] }
    },
  ]
}
