- type: entity
  parent: ActionXenoBase
  id: ActionXenoAcidNormal
  name: Corrosive Acid (100)  # TODO RMC14 proper plasma costs
  description: Melts down a structure or item over time.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: corrosive_acid
    checkCanInteract: false
  - type: TargetAction
  - type: EntityTargetAction
    event: !type:XenoCorrosiveAcidEvent
      acidId: XenoAcidNormal
      strength: Normal
      plasmaCost: 100
      time: 50 # seconds
      dps: 8
      expendableLightDps: 2.5

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoCorrosiveAcid
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: corrosive_acid

- type: entity
  parent: ActionXenoAcidNormal
  id: ActionXenoAcidWeak
  name: Weak Corrosive Acid (75)  # TODO RMC14 proper plasma costs
  description: Melts down a structure or item over time.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: corrosive_acid
    checkCanInteract: false
  - type: TargetAction
  - type: EntityTargetAction
    event: !type:XenoCorrosiveAcidEvent
      acidId: XenoAcidWeak
      strength: Weak
      plasmaCost: 75
      time: 125 # seconds or 2~ minutes
      dps: 4
      expendableLightDps: 0.3

- type: entity
  parent: ActionXenoAcidNormal
  id: ActionXenoAcidStrong
  name: Strong Corrosive Acid (125)  # TODO RMC14 proper plasma costs
  description: Melts down a structure or item over time.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: corrosive_acid
    checkCanInteract: false
  - type: TargetAction
  - type: EntityTargetAction
    event: !type:XenoCorrosiveAcidEvent
      acidId: XenoAcidStrong
      strength: Strong
      plasmaCost: 125
      time: 20 # seconds
      dps: 20
      expendableLightDps: 23.4375

- type: entity
  parent: ActionXenoAcidNormal
  id: ActionXenoAcidAcider
  name: Strong Corrosive Acid (100 acid)
  description: Melts down barricades or items over time. You cannot melt structures.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: corrosive_acid
    checkCanInteract: false
  - type: TargetAction
  - type: EntityTargetAction
    event: !type:XenoCorrosiveAcidEvent
      acidId: XenoAcidStrong
      strength: Strong
      plasmaCost: 0
      energyCost: 100
      applyTimeMultiplier: 0.25
      time: 20 # seconds
      dps: 20
      expendableLightDps: 23.4375

- type: entity
  id: ActionXenoRegurgitate
  parent: ActionXenoBase
  name: Regurgitate
  description: Eject any devoured marines.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: regurgitate
  - type: InstantAction
    event: !type:XenoRegurgitateActionEvent
  - type: RMCDazeableAction

- type: entity
  id: ActionXenoTailStab
  parent: ActionXenoBase
  name: Tail Stab
  description: Launches an attack towards a given direction. The cooldown is faster if you miss.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: tail_attack
    useDelay: 10
  - type: TargetAction
    range: 2.5
    checkCanAccess: false
  - type: EntityTargetAction
    targetCheckCanInteract: false
  - type: WorldTargetAction
    event: !type:XenoTailStabEvent
  - type: XenoTailStabAction
  - type: RMCDazeableAction
  - type: ActionInRangeUnobstructed
    range: 2.5

- type: entity
  id: ActionXenoTailSlam
  parent: ActionXenoTailStab
  name: Tail Slam

- type: entity
  parent: ActionXenoTailStab
  id: ActionXenoTailStabCorrosive
  name: Corrosive Tail Stab
  description: Launches an attack towards a given direction. The cooldown is faster if you miss. [color=red]It also injects diluted molecular acid into the target, dealing damage over time.[/color]
  components:
  - type: Action
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: tail_attack_acid

- type: entity
  parent: ActionXenoTailStabCorrosive
  id: ActionXenoTailStabBoiler
  name: Corrosive Tail Stab
  description: Launches an attack towards a given direction. The cooldown is faster if you miss. [color=red]It also injects diluted molecular acid or neurotoxin into the target, dealing damage or stunning over time. Which type depends on current gas type.[/color]

- type: entity
  id: ActionXenoLeap
  parent: ActionXenoBase
  name: Leap
  description: Jump towards a given location and knock down the first enemy hit.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: pounce
    useDelay: 3
  - type: TargetAction
    range: 15
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoLeapActionEvent
  - type: RMCDazeableAction

- type: entity
  id: ActionXenoRush
  parent: ActionXenoLeap
  name: Rush
  description: Jump towards a given location and slash the enemy you hit, shaking their screen.
  components:
  - type: Action
    itemIconStyle: NoItem
    useDelay: 6
  - type: TargetAction
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoLeapActionEvent

- type: entity
  parent: ActionXenoLeap
  id: ActionXenoPounce
  name: Pounce (20) # TODO RMC14 proper plasma costs
  description: Jump towards a given location and knock down the first enemy hit [color=red]if you are invisible.[/color]
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: pounce
    useDelay: 6
  - type: TargetAction
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoLeapActionEvent
  - type: RMCDazeableAction

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoPounce
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: pounce

- type: entity
  parent: ActionXenoLeap
  id: ActionXenoAssault
  name: Assault (25)
  description: Charge towards a location. Destroys some objects in your path. Melee slashes reduce assault's cooldown. If Super-Empowered, stuns and flings back the first enemy hit.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: charge
    useDelay: 14
  - type: TargetAction
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoLeapActionEvent

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoAssault
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: charge

- type: entity
  parent: ActionXenoLeap
  id: ActionXenoDash
  name: Dash (40)
  description: Dash a short distance towards a given location.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: prae_dash
    useDelay: 10
  - type: TargetAction
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoLeapActionEvent

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoDash
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: prae_dash

- type: entity
  id: ActionXenoHeadbutt
  parent: ActionXenoBase
  name: Headbutt (10) # TODO RMC14 proper plasma costs
  description: Charge towards the targeted enemy and push back the first enemy hit, piercing armor slightly. Does less damage but has more knockback when crest is lowered.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: headbutt
    useDelay: 6
  - type: TargetAction
    range: 3.5
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoHeadbuttActionEvent
  - type: XenoOffensiveAction
  - type: XenoActionPlasma
    cost: 10

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoHeadbutt
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: headbutt

- type: entity
  id: ActionXenoTailSweep
  parent: ActionXenoBase
  name: Tail Sweep (10) # TODO RMC14 proper plasma costs
  description: Knock down any enemies close to you.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: tail_sweep
    useDelay: 15
  - type: InstantAction
    event: !type:XenoTailSweepActionEvent
  - type: RMCDazeableAction

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoTailSweep
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: tail_sweep

- type: entity
  id: ActionXenoSlowingSpit
  parent: ActionXenoBase
  name: Slowing Spit (20) # TODO RMC14 proper plasma costs
  description: Launches a damageless projectile that will slow the first enemy that it hits, and paralyze them if they have no armor. It'll also drain helpful substances from their body.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: xeno_spit
    useDelay: 2
  - type: TargetAction
    repeat: true
    range: 15
    checkCanAccess: false
  - type: EntityTargetAction
  - type: WorldTargetAction
    event: !type:XenoSlowingSpitActionEvent
  - type: ActionBlockIfResting

- type: entity
  id: ActionXenoScatteredSpit
  parent: ActionXenoBase
  name: Scattered Spit (20) # TODO RMC14 proper plasma costs
  description: Launches multiple damageless projectiles that will briefly paralyze any enemies they hit.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: acid_shotgun
    useDelay: 7
  - type: TargetAction
    repeat: true
    range: 15
    checkCanAccess: false
  - type: EntityTargetAction
  - type: WorldTargetAction
    event: !type:XenoScatteredSpitActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoScatteredSpit
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: acid_shotgun

- type: entity
  id: ActionXenoSpit
  parent: ActionXenoBase
  name: Xeno Spit (25) # TODO RMC14 proper plasma costs
  description: Launches a projectile that will deal damage to the first enemy that it hits.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: xeno_spit
    useDelay: 2.5
  - type: TargetAction
    repeat: true
    range: 15
    checkCanAccess: false
  - type: EntityTargetAction
    targetCheckCanInteract: false
  - type: WorldTargetAction
    event: !type:XenoSpitActionEvent
  - type: ActionBlockIfResting

- type: entity
  id: ActionXenoSpitPraetorian
  parent: ActionXenoSpit
  components:
  - type: Action
    useDelay: 2

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoSpit
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: xeno_spit

- type: entity
  id: ActionXenoChargeSpit
  parent: ActionXenoBase
  name: Charge Spit (50) # TODO RMC14 proper plasma costs
  description: Charges up your next spit, making it deal more damage and coat the enemy in acid, but have less range. Increases your movement speed until the ability expires.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: charge_spit
    useDelay: 12
  - type: InstantAction
    event: !type:XenoChargeSpitActionEvent
  - type: XenoActionPlasma
    cost: 50

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoChargeSpit
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: charge_spit

- type: entity
  parent: ActionXenoBase
  id: ActionXenoSprayAcid
  name: Spray Acid (40)
  description: Sprays acid along the ground in a line, covering tiles with it. [color=red]Will coat barricades in acid and significantly strengthen acid inflicted from Charge Spit![/color]
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: spray_acid
    useDelay: 8
  - type: TargetAction
    range: 15
  - type: WorldTargetAction
    event: !type:XenoSprayAcidActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoSprayAcid
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: spray_acid

- type: entity
  parent: ActionXenoSprayAcid
  id: ActionXenoSprayAcidBoiler
  description: Sprays acid along the ground in a line, covering tiles with it. [color=red]Will coat barricades in acid![/color]
  components:
  - type: Action
    useDelay: 10
  - type: ActionSharedCooldown
    id: ActionXenoSprayAcidBoiler
    ids:
    - ActionXenoAcidShroud
    activeIds:
    - ActionXenoBombard

- type: entity
  parent: ActionXenoSprayAcid
  id: ActionXenoSprayAcidPraetorian
  name: Spray Acid (80)
  description: Sprays acid along the ground in a line, covering tiles with it. [color=red]Will coat barricades in acid![/color]
  components:
  - type: Action
    useDelay: 10

- type: entity
  parent: ActionXenoSprayAcidPraetorian
  id: ActionXenoSprayAcidWarden
  name: Spray Acid (130)
  components:
  - type: Action
    useDelay: 13

- type: entity
  id: ActionXenoAcidBall
  parent: ActionXenoBase
  name: Acid Ball (80) # TODO RMC14 proper plasma costs
  description: Throws a projectile that will explode into acid spit in all directions after a short delay.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: prae_acid_ball
    useDelay: 18
  - type: TargetAction
    range: 15
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoAcidBallActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoAcidBall
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: prae_acid_ball

- type: entity
  id: ActionXenoParalyzingSlash
  parent: ActionXenoBase
  name: Paralyzing Slash (50) # TODO RMC14 proper plasma costs
  description: Temporarily charge up a melee attack that will knockdown the first enemy it hits after a short delay.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: lurker_inject_neuro
    useDelay: 12
  - type: InstantAction
    event: !type:XenoParalyzingSlashActionEvent
  - type: XenoActionPlasma
    cost: 50

- type: entity
  parent: ActionXenoBase
  id: ActionXenoCripplingStrike
  name: Crippling Strike (20) # TODO RMC14 proper plasma costs
  description: Temporarily charge up a melee attack that will slow the first enemy it hits and do 20% more damage.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: lurker_inject_neuro
    useDelay: 10
  - type: InstantAction
    event: !type:XenoCripplingStrikeActionEvent
  - type: XenoActionPlasma
    cost: 20

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoCripplingStrike
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: lurker_inject_neuro

- type: entity
  id: ActionXenoBoneChips
  parent: ActionXenoBase
  name: Bone Chips
  description: Launch a projectile that will damage and slow down the first enemy it hits.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: runner_bonespur
    useDelay: 12
  - type: TargetAction
    range: 15
  - type: EntityTargetAction
  - type: WorldTargetAction
    event: !type:XenoBoneChipsActionEvent

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoBoneChips
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: runner_bonespur

- type: entity
  id: ActionXenoPunch
  parent: ActionXenoBase
  name: Punch
  description: Punches the targeted enemy to deal a hefty amount of damage, slowing them and pushing them away.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: punch
    useDelay: 4.5
  - type: TargetAction
    range: 1.5
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoPunchActionEvent
    toggleOutline: false
  - type: XenoOffensiveAction

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoPunch
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: punch

- type: entity
  id: ActionXenoFling
  parent: ActionXenoBase
  name: Fling
  description: Flings the targeted enemy a few tiles, knocking them down and damaging them.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: fling
    useDelay: 7
  - type: TargetAction
    range: 1.5
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoFlingActionEvent
    toggleOutline: false
  - type: XenoOffensiveAction
  - type: RMCDazeableAction

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoFling
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: fling

- type: entity
  id: ActionXenoLunge
  parent: ActionXenoBase
  name: Lunge
  description: Lunges towards the targeted enemy and grabs the first enemy hit.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: lunge
    useDelay: 10
  - type: TargetAction
    range: 5
    deselectOnMiss: false
  - type: EntityTargetAction
    toggleOutline: false
  - type: WorldTargetAction
    event: !type:XenoLungeActionEvent
  - type: XenoOffensiveAction
  - type: RMCDazeableAction
  - type: RMCCooldownOnMiss

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoLunge
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: lunge

- type: entity
  id: ActionXenoScreech
  parent: ActionXenoBase
  name: Screech (250)
  description: An ear-splitting screech that debilitates nearby enemies within 7 tiles. [color=red]Severely slows, deafens, restricts vision, and disrupts aim for 8 seconds. Blocked by solid walls, but not windows.[/color]
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: screech
    useDelay: 50
  - type: InstantAction
    event: !type:XenoScreechActionEvent
  - type: RMCDazeableAction

- type: entity
  id: ActionXenoGut
  parent: ActionXenoBase
  name: Gut (200)
  description: Gibs the mob you decide to gut.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: gut
  - type: TargetAction
    range: 2
  - type: EntityTargetAction
    event: !type:XenoGutActionEvent

- type: entity
  id: ActionXenoStomp
  parent: ActionXenoBase
  name: Stomp (30)
  description: Slam the ground with a 5x5 AOE, slowing down and disarming all enemies in range. Deals heavy damage to targets you are on top of.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: stomp
    useDelay: 18
  - type: InstantAction
    event: !type:XenoStompActionEvent

- type: entity
  id: ActionXenoDirectionalStomp
  parent: ActionXenoBase
  name: Stomp (30)
  description: Slam the ground in a cone in front of you, dealing heavy damage and knocking back all enemies caught in the blast.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: stomp
    useDelay: 18
  - type: TargetAction
    range: 15
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoDirectionalStompActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoStomp
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: stomp

- type: entity
  parent: ActionXenoStomp
  id: ActionXenoCrush
  name: Crush (25)
  description: Slam the ground with a 7x7 AOE, slowing down and disarming all enemies in range. Deals heavy damage to targets you are on top of.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: stomp
    useDelay: 12
  - type: InstantAction
    event: !type:XenoStompActionEvent

- type: entity
  id: ActionXenoCharge
  parent: ActionXenoBase
  name: Charge (20)
  description: Click on a tile you want to charge at, after a brief non cancel-able windup time. Slows around the impact area. [color=green]Cooldown is partially refunded upon attacking an enemy, scaling with the amount of enemies you cleave with your passive.[/color]
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: ready_charge
    useDelay: 14
  - type: TargetAction
    range: 15 # actual range is in XenoChargeComponent, this allows max-range clamp cast
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoChargeActionEvent

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoCharge
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: ready_charge

- type: entity
  parent: ActionXenoBase
  id: ActionXenoToggleCharging
  name: Toggle Charging
  description: Enable charging when moving in a straight line, which increases your speed and impact damage depending on the total distance travelled.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: ready_charge
    useDelay: 0.25
  - type: InstantAction
    event: !type:XenoToggleChargingActionEvent

- type: entity
  parent: ActionXenoFling
  id: ActionXenoRam
  name: Ram (10)
  components:
  - type: Action
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: fling # TODO RMC14 ram
    useDelay: 10
  - type: XenoActionPlasma
    cost: 10

- type: entity
  parent: ActionXenoBase
  id: ActionXenoBombard
  name: Bombard (200)
  description: Fire either an acidic or neurotoxic glob after a delay.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: bombard
    useDelay: 1
  - type: TargetAction
    range: 15 # the actual range is in XenoBombardComponent
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoBombardActionEvent
  - type: ActionSharedCooldown
    id: ActionXenoBombard
    ids:
    - ActionXenoAcidShroud
    cooldown: 30
    onPerform: false
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoBombard
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: bombard

- type: entity
  parent: ActionXenoBase
  id: ActionXenoToggleGasType
  name: Toggle Gas Type
  description: Toggle between Acid or Neurotoxic gas types. Your acidic globs will deal continual damage to anything caught in its radius, while neurotoxin will cause targets to suffocate, be slowed down and blinded, alongside eventually knocking them unconscious to be kidnapped.
  components:
  - type: Action
    itemIconStyle: NoItem
    backgroundOn: null
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: shift_spit_acid_glob
    iconOn:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: shift_spit_neuro_glob
    useDelay: 1
  - type: InstantAction
    event: !type:XenoGasToggleActionEvent

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoToggleGasType
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: shift_spit_acid_glob

- type: entity
  parent: ActionXenoBase
  id: ActionXenoAcidShroud
  name: Acid Shroud
  description: Create a small cloud of acidic or neurotoxic gas around you to cloak yourself. This will disable your other abilities for a short time to allow you to escape.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: acid_shroud
  - type: InstantAction
    event: !type:XenoAcidShroudActionEvent
  - type: ActionSharedCooldown
    id: ActionXenoAcidShroud
    ids:
    - ActionXenoBombard
    - ActionXenoAcidShroud
    - ActionXenoSprayAcidBoiler
    cooldown: 30
    onPerform: false

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoAcidShroud
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: acid_shroud

- type: entity
  id: ActionXenoTremor
  parent: ActionXenoBase
  name: Tremor (100)
  description: Slam the ground with a 7x7 AOE, stunning all enemies in range for a short period of time.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: tremor
    useDelay: 30
  - type: InstantAction
    event: !type:XenoStompActionEvent

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoTremor
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: tremor

- type: entity
  parent: ActionXenoBase
  id: ActionXenoForTheHive
  name: For The Hive!
  description: Prime yourself to detonate in a massive acid explosion in 20 seconds. Requires 200 acid at the minimum. The more acid reserves you have, the larger and more damaging the explosion will be. It will also coat barricades and mobs in acid, in a range equal to 1/2th the damage range. Damage is less the farther the mob is from the explosion. You will be slowed, change visually, and make an a loud wailing sound charging up. Dying will prevent the explosion from going off, but if successful you will respawn as a larva at your hive's hive core or at your corpse if theres none. Using this ability while primed will cancel the explosion at the cost of a 1/4th of your acid reserves.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: screech
  - type: InstantAction
    event: !type:XenoForTheHiveActionEvent

- type: entity
  parent: ActionXenoBase
  id: ActionXenoImpale
  name: Impale (80)
  description: Impales an adjacent enemy with your tail. Hits twice on a marked target and removes the mark. Pierces armor.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: dancer_impale
    useDelay: 13
  - type: TargetAction
    range: 2
    deselectOnMiss: false
  - type: EntityTargetAction
  - type: WorldTargetAction
    event: !type:XenoImpaleActionEvent
  - type: XenoOffensiveAction
  - type: ActionBlockIfResting
  - type: XenoActionPlasma
    cost: 80
  - type: RMCCooldownOnMiss
    missCooldown: 0.7

- type: entity
  parent: ActionXenoBase
  id: ActionXenoTailTrip
  name: Tail Trip (30)
  description: Disarms and dazes an unmarked enemy. Stuns and dazes for longer on a marked target, and removes the mark.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: dancer_tail_trip
    useDelay: 13
  - type: TargetAction
    range: 2
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoTailTripActionEvent
  - type: XenoOffensiveAction
  - type: XenoActionPlasma
    cost: 30
  - type: ActionBlockIfResting
  - type: RMCCooldownOnMiss
    missCooldown: 0.7

- type: entity
  parent: ActionXenoBase
  id: ActionXenoPierce
  name: Pierce (50)
  description: Pierce through enemies in a 3 tile range, doing high damage and piercing some armor. Hitting 2 or more recharges your shield.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: prae_pierce
    useDelay: 3
  - type: TargetAction
    range: 15
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoPierceActionEvent
  - type: ActionBlockIfResting
  - type: XenoActionPlasma
    cost: 50

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoPierce
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: prae_pierce

- type: entity
  parent: ActionXenoDash
  id: ActionXenoBlitz
  name: Blitz (50)
  description: Dash a short distance towards a given location. After 3 seconds or if you use it again before then, damages enemies around you. Hitting 1 or more recharges your shield.
  components:
  - type: Action
    useDelay: 0
  - type: ActionBlockIfResting

- type: entity
  parent: ActionXenoBase
  id: ActionXenoCleaveRoot
  name: Cleave Root
  description: Root an enemy for a second. The duration is higher if your shield is up.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: prae_cleave_root
    useDelay: 12
  - type: TargetAction
    range: 1.5
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoCleaveActionEvent
  - type: ActionBlockIfResting
  - type: ActionSharedCooldown
    id: ActionXenoCleaveRoot
    ids:
    - ActionXenoCleaveFling
    cooldown: 12

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoCleaveRoot
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: prae_cleave_root

- type: entity
  parent: ActionXenoBase
  id: ActionXenoCleaveFling
  name: Cleave Fling
  description: Fling an enemy. The distance is doubled if your shield is up.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: prae_cleave_fling
    useDelay: 12
  - type: TargetAction
    range: 1.5
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoCleaveActionEvent
      flings: true
  - type: ActionBlockIfResting
  - type: ActionSharedCooldown
    id: ActionXenoCleaveFling
    ids:
    - ActionXenoCleaveRoot
    cooldown: 12

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoCleaveFling
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: prae_cleave_fling

#- type: entity
#  parent: ActionXenoBase
#  id: ActionXenoToggleCleave
#  name: Toggle Cleave Type
#  description: Toggle between your Cleave rooting enemies or flinging enemies.
#  components:
#  - type: Action
#    itemIconStyle: NoItem
#    backgroundOn: null
#    icon:
#      sprite: _RMC14/Actions/xeno_actions.rsi
#      state: prae_cleave_root
#    iconOn:
#      sprite: _RMC14/Actions/xeno_actions.rsi
#      state: prae_cleave_fling
#  - type: InstantAction
#    event: !type:XenoToggleCleaveActionEvent

- type: entity
  id: ActionXenoSpitQueen
  parent: ActionXenoSpit
  name: Xeno Spit (50/25)
  description: Launches a projectile that will either paralyze the first enemy it hits or damage them and cover them in acid.

- type: entity
  id: ActionXenoQueenSpit
  parent: ActionXenoBase
  name: Acid Volley (40)
  description: Launches three acid projectiles in a narrow cone. Each target can only be hit once.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: xeno_spit
    useDelay: 5
  - type: TargetAction
    repeat: true
    range: 30
    checkCanAccess: false
  - type: EntityTargetAction
    targetCheckCanInteract: false
  - type: WorldTargetAction
    event: !type:XenoQueenSpitActionEvent
  - type: ActionBlockIfResting
  - type: XenoActionPlasma
    cost: 40

- type: entity
  parent: ActionXenoBase
  id: ActionXenoToggleSpitType
  name: Toggle Spit Type
  description: Toggle between Neurotoxic or Acidic spit. Neurotoxic has less range and costs 50 plasma, and knocks down the first enemy it hits. Acidic has more range and costs 25 plasma, and damages and covers in acid the first enemy it hits.
  components:
  - type: Action
    itemIconStyle: NoItem
    backgroundOn: null
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: shift_spit_neurotoxin
    iconOn:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: shift_spit_xeno_acid
  - type: InstantAction
    event: !type:XenoSpitToggleActionEvent

- type: entity
  parent: ActionXenoBase
  id: ActionXenoHighGallop
  name: High Gallop
  description: Stuns foes in a 2x3 area in targeted direction, and slows them. Also flings back grenades.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: stomp
    useDelay: 12
  - type: TargetAction
    range: 15
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoHighGallopActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoHighGallop
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: stomp

- type: entity
  parent: ActionXenoBase
  id: ActionXenoScissorCut
  name: Scissor Cut (25)
  description: Cuts enemies and fences in a straight line. If Super-Empowered, slows enemies hit too.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: rav_scissor_cut
    useDelay: 6
  - type: TargetAction
    checkCanAccess: false
    range: 15
  - type: WorldTargetAction
    event: !type:XenoScissorCutActionEvent
  - type: ActionBlockIfResting
  - type: XenoActionPlasma
    cost: 25

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoScissorCut
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: rav_scissor_cut

- type: entity
  parent: ActionXenoBase
  id: ActionXenoTailSeize
  name: Tail Seize
  description: Throw out your tail in front of you. Uses up your melee attack. Pulls in the first enemy hit to you and roots and slows them on arrival. [color=red]Has a 3-tile range![/color]
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: tail_seize
    useDelay: 15
  - type: TargetAction
    range: 15
    deselectOnMiss: false
    checkCanAccess: false
  - type: EntityTargetAction
  - type: WorldTargetAction
    event: !type:XenoTailSeizeActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoTailSeize
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: tail_seize

- type: entity
  parent: ActionXenoBase
  id: ActionXenoAbduct
  name: Abduct (180)
  description: Cast out a line that after a small doafter pulls in enemies towards you, disarming them. Catching 1 target slows them, 2 roots them, and 3 or more stuns them.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: abduct
    useDelay: 15
  - type: TargetAction
    range: 15 # the actual range is in XenoAbductComponent
    deselectOnMiss: false
    checkCanAccess: false
  - type: EntityTargetAction
  - type: WorldTargetAction
    event: !type:XenoAbductActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoAbduct
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: abduct

- type: entity
  parent: ActionXenoBase
  id: ActionXenoTailLash
  name: Tail Lash (80)
  description: Fling back foes in a 2x3 area in targeted direction after a very short doafter. Also slows.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: prae_tail_lash
    useDelay: 13
  - type: TargetAction
    range: 15
    deselectOnMiss: false
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoTailLashActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoTailLash
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: prae_tail_lash

- type: entity
  id: ActionXenoDislocate
  parent: ActionXenoBase
  name: Dislocate (55)
  description: Punch a targeted enemy, doing some damage and pushing them back. If the target is slowed, stunned, downed, or rooted, instead roots and completely pierces armor. Reduces the cooldown of Abduct and Tail Lash.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: dislocate
    useDelay: 10
  - type: TargetAction
    range: 1.5
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoDislocateActionEvent
  - type: XenoOffensiveAction
  - type: ActionBlockIfResting
  - type: XenoActionPlasma
    cost: 55

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoDislocate
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: dislocate

- type: entity
  parent: ActionXenoBase
  id: ActionXenoTailJab
  name: Tail Jab
  description: Jab an enemy in a 2.5 tile range, doing high damage and slowing them.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: prae_pierce
    useDelay: 7
  - type: TargetAction
    range: 2.5
    checkCanAccess: false
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoTailJabActionEvent
  - type: ActionBlockIfResting
  - type: ActionInRangeUnobstructed
    range: 2.5
  - type: XenoOffensiveAction

- type: entity
  parent: ActionXenoBase
  id: ActionXenoFlurry
  name: Flurry
  description: An attack that has a range of 1x3 tiles, dealing damage per target and healing you.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: rav_spike
    useDelay: 3
  - type: TargetAction
    checkCanAccess: false
    range: 15
  - type: WorldTargetAction
    event: !type:XenoFlurryActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoFlurry
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: rav_spike

- type: entity
  parent: ActionXenoBase
  id: ActionXenoHeadbite
  name: Headbite
  description: Instantly kills unconscious targets and heals you for 150 HP.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: headbite
    useDelay: 10
  - type: TargetAction
    range: 1.5
    checkCanAccess: false
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoHeadbiteActionEvent
  - type: ActionBlockIfResting
  - type: XenoOffensiveAction

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoHeadbite
  categories: [ HideSpawnMenu ]
  components:
    - type: Sprite
      state: headbite

- type: entity
  parent: ActionXenoBase
  id: ActionXenoApprehend
  name: Apprehend
  description: Increases your movement speed and applies a slow on the next target you slash.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: rav_enrage
    useDelay: 18
  - type: InstantAction
    event: !type:XenoCripplingStrikeActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: ActionXenoBase
  id: ActionXenoEviscerate
  name: Eviscerate
  description: Eviscerate nearby enemies after a short delay. Costs 1 rage stack.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: rav_eviscerate
    useDelay: 23
  - type: InstantAction
    event: !type:XenoEviscerateActionEvent
  - type: ActionBlockIfResting
  - type: RMCDazeableAction

- type: entity
  parent: ActionXenoBase
  id: ActionXenoClothesline
  name: Clothesline
  description: Flings a target, doing minimal damage and healing you. The amount healed is higher the more rage stacks you have.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: prae_cleave_fling
    useDelay: 16
  - type: TargetAction
    range: 1.5
    deselectOnMiss: false
  - type: EntityTargetAction
    event: !type:XenoFlingActionEvent
  - type: XenoOffensiveAction
  - type: RMCDazeableAction

- type: entity
  parent: ActionXenoBase
  id: ActionXenoTumble
  name: Tumble (25) # TODO RMC14 proper plasma costs
  description: Charge towards your side and push back the first enemy hit. Can only be used towards either side of where you are facing.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: tumble
    useDelay: 10
  - type: TargetAction
    range: 20
    deselectOnMiss: false
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoTumbleActionEvent
    rotateOnUse: false
  - type: ActionBlockIfResting
  - type: XenoActionPlasma
    cost: 25

- type: entity
  parent: ActionXenoBase
  id: ActionXenoFireSpikes
  name: Fire Spikes (75 shards)
  description: Launch 8 small shards of spikes in the direction you click.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: rav_spike
    useDelay: 10
  - type: TargetAction
    range: 15
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoScatteredSpitActionEvent
  - type: ActionBlockIfResting
  - type: XenoActionEnergy
    cost: 75

- type: entity
  parent: ActionXenoBase
  id: ActionXenoSpikeShed
  name: Spike Shed (all shards)
  description: Shred all of your shards to launch them all in all directions around yourself. Lose the bonus armor in the process while also gaining a speed boost. This will disable you from gaining any shards for 30 seconds. Requires 50 shards minimum
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: rav_shard_shed
    useDelay: 30
  - type: InstantAction
    event: !type:ActionXenoSpikeShedEvent
  - type: ActionBlockIfResting
  - type: RMCDazeableAction

- type: entity
  parent: ActionXenoBase
  id: ActionXenoRend
  name: Rend (25)
  description: Claw at enemies around you.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: rav_eviscerate
    useDelay: 2.5
  - type: InstantAction
    event: !type:XenoRendActionEvent
  - type: ActionBlockIfResting
  - type: XenoActionPlasma
    cost: 50

- type: entity
  parent: ActionXenoBase
  id: ActionXenoDestroy
  name: Destroy
  description: After a short time, jump to the targeted location, destroying structures and gibbing hostiles within a 3x3 range. Works over barricades and other short barriers.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: charge
    useDelay: 60
  - type: TargetAction
    range: 7
    deselectOnMiss: false
  - type: WorldTargetAction
    event: !type:XenoDestroyActionEvent

# Trapper Actions
- type: entity
  parent: ActionXenoBase
  id: ActionXenoAcidMine
  name: Acid Mine (40)
  description: Cause an acid explosion at the targeted location.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: acid_mine
    useDelay: 5.5
  - type: XenoAcidMine
    actionIconEmpowered:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: acid_mine_empowered
  - type: TargetAction
    deselectOnMiss: false
    checkCanAccess: false
    range: 15 #Actual range on the AcidMine component.
  - type: WorldTargetAction
    event: !type:XenoAcidMineActionEvent
  - type: ActionBlockIfResting

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoAcidMine
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: acid_mine

- type: entity
  id: ActionXenoAcidShotgun
  parent: ActionXenoBase
  name: Acid Shotgun (40)
  description: Launches multiple acid projectiles that deal increased damage to trapped targets.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: acid_shotgun
    useDelay: 13
  - type: TargetAction
    range: 15
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:XenoAcidShotgunActionEvent
  - type: ActionBlockIfResting
  - type: XenoActionPlasma
    cost: 40

- type: entity
  id: ActionXenoDeployTraps
  parent: ActionXenoBase
  name: Deploy Traps (60)
  description: Deploys a line of snaring traps.
  components:
  - type: Action
    useDelay: 20.5
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: gas_mine
  - type: XenoDeployTraps
    actionIconEmpowered:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: gas_mine_empowered
  - type: TargetAction
    checkCanAccess: false
    deselectOnMiss: false
    range: 15 #Actual range on the AcidMine component.
  - type: WorldTargetAction
    event: !type:XenoDeployTrapsActionEvent
  - type: XenoActionPlasma
    cost: 60

- type: entity
  parent: CMGuidebookActionXenoBase
  id: RMCGuidebookActionXenoDeployTraps
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: gas_mine

- type: entity
  id: ActionXenoTailLance
  parent: ActionXenoTailStab
  name: Tail Lance
  description: Launches a fast tail thrust. The cooldown is shorter if you miss.
  components:
  - type: Action
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: dancer_tail_lance
  - type: XenoTailStabAction
    missCooldown: 0.7

- type: entity
  id: ActionXenoVenatorCorrosiveSpit
  parent: ActionXenoBase
  name: Corrosive Spit (45)
  description: Spit concentrated acid that leaves a small corrosive pool.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: venator_corrosive_spit
    useDelay: 11
  - type: TargetAction
    repeat: true
    range: 8
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:Content.Shared._RMC14.Xenonids.Venator.XenoVenatorSpitActionEvent
      projectile: XenoVenatorCorrosiveProjectile
      speed: 24
  - type: XenoActionPlasma
    cost: 45
  - type: ActionSharedCooldown
    id: ActionXenoVenatorCorrosiveSpit
    ids:
    - ActionXenoVenatorAcidBlob
    - ActionXenoVenatorEnzymaticBreath
    cooldown: 11
  - type: ActionBlockIfResting

- type: entity
  id: ActionXenoVenatorAcidBlob
  parent: ActionXenoVenatorCorrosiveSpit
  name: Acid Blob (65)
  description: Lob a heavier glob of acid that knocks down a direct hit and spreads pools around impact.
  components:
  - type: Action
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: venator_acid_blob
  - type: WorldTargetAction
    event: !type:Content.Shared._RMC14.Xenonids.Venator.XenoVenatorSpitActionEvent
      projectile: XenoVenatorAcidBlobProjectile
      speed: 7.5
      sound:
        path: /Audio/_RMC14/Xeno/blobattack.ogg
      stopAtTarget: true
  - type: XenoActionPlasma
    cost: 65
  - type: ActionSharedCooldown
    id: ActionXenoVenatorAcidBlob
    ids:
    - ActionXenoVenatorCorrosiveSpit
    - ActionXenoVenatorEnzymaticBreath
    cooldown: 11

- type: entity
  id: ActionXenoVenatorEnzymaticBreath
  parent: ActionXenoVenatorCorrosiveSpit
  name: Enzymatic Breath (55)
  description: Spit a short spread of acid that marks an area with corrosive pools.
  components:
  - type: Action
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: venator_enzymatic_breath
  - type: WorldTargetAction
    event: !type:Content.Shared._RMC14.Xenonids.Venator.XenoVenatorSpitActionEvent
      projectile: XenoVenatorBreathProjectile
      shots: 5
      deviation: 25
      speed: 22
  - type: XenoActionPlasma
    cost: 55
  - type: ActionSharedCooldown
    id: ActionXenoVenatorEnzymaticBreath
    ids:
    - ActionXenoVenatorCorrosiveSpit
    - ActionXenoVenatorAcidBlob
    cooldown: 11

- type: entity
  id: ActionXenoPlateBash
  parent: ActionXenoBase
  name: Plate Bash
  description: Bash a nearby enemy with your crest plates.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: bulwark_plate_bash
    useDelay: 8
  - type: TargetAction
    range: 3
  - type: EntityTargetAction
    event: !type:Content.Shared._RMC14.Xenonids.Bulwark.XenoPlateBashActionEvent
  - type: XenoOffensiveAction
  - type: ActionBlockIfResting
  - type: ActionInRangeUnobstructed
    range: 3

- type: entity
  id: ActionXenoBulwarkTailSwing
  parent: ActionXenoBase
  name: Tail Swing
  description: Sweep nearby enemies with your tail.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: bulwark_tail_swing
    useDelay: 12
  - type: InstantAction
    event: !type:Content.Shared._RMC14.Xenonids.Bulwark.XenoBulwarkTailSwingActionEvent
  - type: XenoOffensiveAction
  - type: ActionBlockIfResting

- type: entity
  id: ActionXenoTailInjection
  parent: ActionXenoBase
  name: Tail Injection
  description: Inject your stored chemical mixture into a nearby target.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: tail_attack_acid
    useDelay: 8
  - type: TargetAction
    range: 2
  - type: EntityTargetAction
    event: !type:Content.Shared._RMC14.Xenonids.Alchemist.XenoTailInjectionActionEvent
  - type: XenoOffensiveAction
  - type: ActionBlockIfResting
  - type: ActionInRangeUnobstructed
    range: 2

- type: entity
  id: ActionXenoRapture
  parent: ActionXenoBase
  name: Rapture
  description: Rip flesh resin from a nearby enemy.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _CM13/Actions/xeno_strain_actions.rsi
      state: reaper_rapture
    useDelay: 15
  - type: TargetAction
    range: 3
  - type: EntityTargetAction
    event: !type:Content.Shared._RMC14.Xenonids.Reaper.XenoRaptureActionEvent
  - type: XenoOffensiveAction
  - type: ActionBlockIfResting
  - type: ActionInRangeUnobstructed
    range: 3

- type: entity
  id: ActionXenoReaperRedGas
  parent: ActionXenoBase
  name: Red Gas
  description: Spend flesh resin to send a widening cloud of toxic gas marching toward a target.
  components:
  - type: Action
    itemIconStyle: NoItem
    icon:
      sprite: _RMC14/Actions/xeno_actions.rsi
      state: gas_mine
    useDelay: 25
  - type: TargetAction
    range: 7
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:Content.Shared._RMC14.Xenonids.Reaper.XenoReaperRedGasActionEvent
  - type: XenoOffensiveAction
  - type: ActionBlockIfResting
  - type: ActionInRangeUnobstructed
    range: 7
