<?xml version="1.0" encoding="utf-8"?>
<Defs>

<AbilityDef>
    <defName>ARA_EggSpew</defName>
    <label>egg spew</label>
    <description>Launch an egg sac and a spray of acidic sludge at the target area. The sludge will stick to targets and burn them.</description>
    <iconPath>UI/Commands/EggSpew</iconPath>
    <cooldownTicksRange>5000</cooldownTicksRange> <!-- 2 hours -->
    <aiCanUse>true</aiCanUse>
    <displayOrder>300</displayOrder>
    <displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
    <disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
    <warmupStartSound>AcidSpray_Warmup</warmupStartSound>
    <verbProperties>
      <verbClass>Verb_CastAbility</verbClass>
      <range>14.9</range>
      <warmupTime>0.25</warmupTime>
      <soundCast>AcidSpray_Resolve</soundCast>
      <targetParams>
        <canTargetLocations>true</canTargetLocations>
      </targetParams>
    </verbProperties>
    <comps>
      <li Class="CompProperties_AbilitySprayLiquid">
        <projectileDef>ARA_Proj_StrongSludgeSpray</projectileDef>
        <numCellsToHit>18</numCellsToHit>
        <sprayEffecter>AcidSpray_Directional</sprayEffecter>
      </li>
      <li Class="CompProperties_AbilityLaunchProjectile">
        <projectileDef>ARA_Proj_EggSac</projectileDef>
      </li>
    </comps>
  </AbilityDef>
  <ThingDef>
    <defName>ARA_Proj_StrongSludgeSpray</defName>
    <label>sludge</label>
    <thingClass>Projectile_Liquid</thingClass>
    <category>Projectile</category>
    <tickerType>Normal</tickerType>
    <altitudeLayer>Projectile</altitudeLayer>
    <useHitPoints>False</useHitPoints>
    <neverMultiSelect>True</neverMultiSelect>
    <graphicData>
      <texPath>Things/Projectile/SludgeSpray</texPath>
      <graphicClass>Graphic_Random</graphicClass>
      <shaderType>MoteGlow</shaderType>
      <drawSize>0.85</drawSize>
    </graphicData>
    <projectile>
      <damageDef>AcidBurn</damageDef>
      <speed>25</speed>
      <damageAmountBase>18</damageAmountBase>
      <arcHeightFactor>0.4</arcHeightFactor>
      <armorPenetrationBase>0.1</armorPenetrationBase>
      <stoppingPower>1</stoppingPower>
      <shadowSize>0</shadowSize>
      <spawnTerrain>InsectSludge</spawnTerrain>
      <terrainChance>0.75</terrainChance>
      <filth>Filth_Slime</filth>
      <filthCount>1</filthCount>
      <filthChance>0.25</filthChance>
    </projectile>
  </ThingDef>
  <ThingDef ParentName="BaseGrenadeProjectile">
    <defName>ARA_Proj_EggSac</defName>
    <label>egg sac</label>
    <thingClass>Projectile_SpawnsThing</thingClass>
    <graphicData>
      <texPath>Things/Projectile/EggSac</texPath>
      <graphicClass>Graphic_Random</graphicClass>
    </graphicData>
    <projectile>
      <damageDef>Bullet</damageDef>
      <speed>21</speed>
      <damageAmountBase>0</damageAmountBase>
      <spawnsThingDef>EggSac</spawnsThingDef>
      <tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
    </projectile>
  </ThingDef>

  </Defs>