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

  <!--=============== Bases ==============-->

	<ThingDef Name="MoteBase" Abstract="True">
		<thingClass>MoteThrown</thingClass>
		<label>Mote</label>
		<category>Mote</category>
		<graphicData>
			<graphicClass>Graphic_Mote</graphicClass>
			<shaderType>Mote</shaderType>
		</graphicData>
		<altitudeLayer>MoteLow</altitudeLayer>
		<tickerType>Normal</tickerType>
		<useHitPoints>false</useHitPoints>
		<isSaveable>false</isSaveable>
		<rotatable>false</rotatable>
	</ThingDef>

  <!--=============== Explosions ================-->

	<ThingDef ParentName="MoteBase">
		<defName>Mote_IGC_GreenSPlat</defName>
		<graphicData>
			<texPath>Things/IGCore/Mote/IGC_GreenSplat</texPath>
			<shaderType>TransparentPostLight</shaderType>
		</graphicData>
		<altitudeLayer>MoteOverhead</altitudeLayer>
		<mote>
			<solidTime>0</solidTime>
			<fadeOutTime>0.2</fadeOutTime>
		</mote>
	</ThingDef>

  <!--=================== Visual - Fire ==================-->
  
  <ThingDef ParentName="MoteBase">
    <defName>Mote_FireGlow</defName>
    <graphicData>
      <texPath>Things/Mote/FireGlow</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.75</fadeInTime>
      <solidTime>1.08</solidTime>
      <fadeOutTime>0.8</fadeOutTime>
    </mote>
  </ThingDef>
  <ThingDef ParentName="MoteBase">
    <defName>Mote_MicroSparks</defName>
    <graphicData>
      <texPath>Things/Mote/MicroSparks</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.75</fadeInTime>
      <solidTime>0.5</solidTime>
      <fadeOutTime>0.65</fadeOutTime>
    </mote>
  </ThingDef>

  <!--=================== Visual - Heat ==================-->

  <ThingDef ParentName="MoteBase">
    <defName>Mote_HeatGlow</defName>
    <graphicData>
      <texPath>Things/Mote/FireGlow</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>2.6</fadeInTime>
      <solidTime>1.5</solidTime>
      <fadeOutTime>3.3</fadeOutTime>
    </mote>
  </ThingDef>


  <!--=================== Visual - Lightning ==================-->

  <ThingDef ParentName="MoteBase">
    <defName>Mote_LightningGlow</defName>
    <graphicData>
      <texPath>Things/Mote/LightningGlow</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.08</fadeInTime>
      <solidTime>0.08</solidTime>
      <fadeOutTime>0.35</fadeOutTime>
    </mote>
  </ThingDef>


  <!--=================== Eating ==================-->

  <ThingDef ParentName="MoteBase" Name="FoodBitBase" Abstract="True">
    <graphicData>
      <shaderType>Cutout</shaderType>
    </graphicData>
    <altitudeLayer>Projectile</altitudeLayer>
    <mote>
      <fadeInTime>0.08</fadeInTime>
      <solidTime>0.4</solidTime>
      <fadeOutTime>0.25</fadeOutTime>
    </mote>
  </ThingDef>
  
  <ThingDef ParentName="FoodBitBase">
    <defName>Mote_FoodBitVegetarian</defName>
    <graphicData>
      <texPath>Things/Mote/FoodBitVegetarian</texPath>
			<shaderType>Mote</shaderType>
    </graphicData>
  </ThingDef>
  
  <ThingDef ParentName="FoodBitBase">
    <defName>Mote_FoodBitMeat</defName>
    <graphicData>
      <texPath>Things/Mote/FoodBitMeat</texPath>
			<shaderType>Mote</shaderType>
		</graphicData>
  </ThingDef>
  
  <ThingDef ParentName="FoodBitBase">
    <defName>Mote_StoneBit</defName>
    <graphicData>
      <texPath>Things/Mote/StoneBit</texPath>
			<shaderType>Mote</shaderType>
		</graphicData>
  </ThingDef>
  
  <ThingDef ParentName="FoodBitBase">
    <defName>Mote_CookBit</defName>
    <graphicData>
      <texPath>Things/Mote/CookBit</texPath>
			<shaderType>Mote</shaderType>
		</graphicData>
  </ThingDef>
  
  <ThingDef ParentName="FoodBitBase">
    <defName>Mote_VomitBit</defName>
    <graphicData>
      <texPath>Things/Mote/VomitBit</texPath>
			<shaderType>Mote</shaderType>
		</graphicData>
  </ThingDef>

  <!--=============== Puffs ==============-->
  
  <ThingDef ParentName="MoteBase">
    <defName>Mote_AirPuff</defName>
    <graphicData>
      <texPath>Things/Mote/AirPuff</texPath>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.04</fadeInTime>
      <solidTime>0.03</solidTime>
      <fadeOutTime>1</fadeOutTime>
    </mote>
  </ThingDef>
  
  <ThingDef ParentName="MoteBase">
    <defName>Mote_DustPuff</defName>
    <graphicData>
      <texPath>Things/Mote/DustPuff</texPath>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.04</fadeInTime>
      <solidTime>0.03</solidTime>
      <fadeOutTime>1</fadeOutTime>
    </mote>
  </ThingDef>
  
  <ThingDef ParentName="MoteBase">
    <defName>Mote_MetaPuff</defName>
    <graphicData>
      <texPath>Things/Mote/MetaPuff</texPath>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <realTime>true</realTime>
      <fadeInTime>0.04</fadeInTime>
      <solidTime>0.03</solidTime>
      <fadeOutTime>1</fadeOutTime>
    </mote>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_TornadoDustPuff</defName>
    <graphicData>
      <texPath>Things/Mote/MetaPuff</texPath>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.04</fadeInTime>
      <solidTime>0.03</solidTime>
      <fadeOutTime>1</fadeOutTime>
    </mote>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_Smoke</defName>
    <graphicData>
      <texPath>Things/Mote/Smoke</texPath>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.50</fadeInTime>
      <solidTime>6</solidTime>
      <fadeOutTime>3.2</fadeOutTime>
      <growthRate>0.005</growthRate>
    </mote>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_DustSlow</defName>
    <graphicData>
      <texPath>Things/Mote/DustPuff</texPath>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.40</fadeInTime>
      <solidTime>2</solidTime>
      <fadeOutTime>2</fadeOutTime>
    </mote>
  </ThingDef>

  <!-- Bombardment -->

  <ThingDef ParentName="MoteBase">
    <defName>Mote_Bombardment</defName>
    <graphicData>
      <texPath>Things/Mote/Bombardment</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <drawOffscreen>true</drawOffscreen>
    <mote>
      <fadeInTime>0.5</fadeInTime>
      <solidTime>6.8</solidTime>
      <fadeOutTime>1.0</fadeOutTime>
    </mote>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_PowerBeam</defName>
    <graphicData>
      <texPath>Things/Mote/PowerBeam</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <drawOffscreen>true</drawOffscreen>
    <mote>
      <fadeInTime>0.5</fadeInTime>
      <solidTime>9.3</solidTime>
      <fadeOutTime>1.0</fadeOutTime>
    </mote>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_GiantExplosion</defName>
    <graphicData>
      <texPath>Things/Mote/PowerBeam</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <drawOffscreen>true</drawOffscreen>
    <mote>
      <fadeInTime>0.01</fadeInTime>
      <solidTime>0</solidTime>
      <fadeOutTime>0.4</fadeOutTime>
      <growthRate>325</growthRate>
    </mote>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_GiantExplosionInner</defName>
    <graphicData>
      <texPath>Things/Mote/PowerBeam</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <drawOffscreen>true</drawOffscreen>
    <mote>
      <fadeInTime>0.01</fadeInTime>
      <solidTime>0</solidTime>
      <fadeOutTime>0.4</fadeOutTime>
      <growthRate>200</growthRate>
    </mote>
  </ThingDef>

</Defs>
