- type: entity
  abstract: true
  parent: BaseAction
  id: BaseMechAction
  components:
  - type: Action
    itemIconStyle: NoItem

- type: entity
  parent: BaseMechAction
  id: ActionMechCycleEquipment
  name: Cycle
  description: Cycles currently selected equipment
  components:
  - type: Action
    useDelay: 0.5
  - type: Sprite
    sprite: Interface/Actions/actions_mecha.rsi
    layers:
    - state: mech_cycle_equip_on
  - type: InstantAction
    event: !type:MechToggleEquipmentEvent

- type: entity
  parent: BaseMechAction
  id: ActionMechOpenUI
  name: Control Panel
  description: Opens the control panel for the mech
  components:
  - type: Action
    useDelay: 1
  - type: Sprite
    sprite: Interface/Actions/actions_mecha.rsi
    layers:
    - state: mech_view_stats
  - type: InstantAction
    event: !type:MechOpenUiEvent

- type: entity
  parent: BaseMechAction
  id: ActionMechEject
  name: Eject
  description: Ejects the pilot from the mech
  components:
  - type: Action
  - type: Sprite
    sprite: Interface/Actions/actions_mecha.rsi
    layers:
    - state: mech_eject
  - type: InstantAction
    event: !type:MechEjectPilotEvent
