- type: itemAction
  actionType: ToggleInternals
  icon: Interface/Actions/internal0.png
  iconOn: Interface/Actions/internal1.png
  name: "Toggle Internals"
  description: "Breathe from the equipped gas tank."
  requires: "Requires equipped breath mask and gas tank"
  filters:
    - common
    - atmos
  keywords:
    - gas
    - tank
    - breath
  behaviorType: Toggle
  behavior: !type:ToggleInternalsAction { }

- type: itemAction
  actionType: ToggleLight
  icon: Objects/Tools/flashlight.rsi/lantern_off.png
  iconOn: Objects/Tools/flashlight.rsi/lantern_on.png
  name: "Toggle Light"
  description: "Turn the light on."
  filters:
    - tools
  keywords:
    - lantern
    - lamp
  behaviorType: Toggle
  behavior: !type:ToggleLightAction { }

- type: itemAction
  actionType: DebugInstant
  icon: Interface/Alerts/human_health.rsi/health1.png
  iconStyle: BigAction
  name: "[color=red]Debug Item Instant[/color]"
  description: "This is a [color=red]debug message[/color]."
  requires: "Requires blah blah"
  filters:
    - debug
  behaviorType: Instant
  behavior: !type:DebugInstant
    message: Instant action was used!
    cooldown: 10

- type: itemAction
  actionType: DebugToggle
  iconStyle: BigItem
  icon: Interface/Alerts/human_health.rsi/health3.png
  name: "[color=red]Debug Item Toggle[/color]"
  description: "This is a [color=red]debug message[/color]."
  requires: "Requires blah blah"
  filters:
    - debug
  behaviorType: Toggle
  behavior: !type:DebugToggle
    messageOn: Toggled on!
    messageOff: Toggled off!

- type: itemAction
  actionType: DebugTargetPoint
  iconStyle: NoItem
  icon: Interface/Alerts/human_health.rsi/health4.png
  name: "[color=red]Debug Item Target Position[/color]"
  description: "This is a [color=red]debug message[/color]."
  filters:
    - debug
  behaviorType: TargetPoint
  behavior: !type:DebugTargetPoint { }

- type: itemAction
  actionType: DebugTargetPointRepeat
  iconStyle: BigAction
  icon: Interface/Alerts/human_health.rsi/health2.png
  name: "[color=red]Repeating Debug Item Target Position[/color]"
  description: "This is a [color=red]debug message[/color]."
  filters:
    - debug
  behaviorType: TargetPoint
  repeat: true
  behavior: !type:DebugTargetPoint { }

- type: itemAction
  actionType: DebugTargetEntity
  iconStyle: BigAction
  icon: Interface/Alerts/human_health.rsi/health6.png
  name: "[color=red]Debug Item Target Entity[/color]"
  description: "This is a [color=red]debug message[/color]."
  filters:
    - debug
  behaviorType: TargetEntity
  behavior: !type:DebugTargetEntity { }

- type: itemAction
  actionType: DebugTargetEntityRepeat
  icon: Interface/Alerts/human_health.rsi/health5.png
  name: "[color=red]Repeating Debug Item Target Entity[/color]"
  description: "This is a [color=red]debug message[/color]."
  filters:
    - debug
  behaviorType: TargetEntity
  repeat: true
  behavior: !type:DebugTargetEntity { }

- type: entity
  name: item action example
  parent: BaseItem
  id: ItemActionExample
  description: for testing item actions
  components:
    - type: Sprite
      sprite: Objects/Fun/bikehorn.rsi
      state: icon
    - type: ItemActions
      actions:
        - actionType: DebugInstant
        - actionType: DebugToggle
        - actionType: DebugTargetPoint
        - actionType: DebugTargetPointRepeat
        - actionType: DebugTargetEntity
        - actionType: DebugTargetEntityRepeat
