Vanilla Motes

<?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>

  <!--=============== Flashes ================-->

  <ThingDef ParentName="MoteBase">
    <defName>Mote_ShotFlash</defName>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <solidTime>0.05</solidTime>
      <fadeOutTime>0.05</fadeOutTime>
    </mote>
    <graphicData>
      <texPath>Things/Mote/ShotFlash</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_SparkFlash</defName>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <solidTime>0.05</solidTime>
      <fadeOutTime>0.1</fadeOutTime>
    </mote>
    <graphicData>
      <texPath>Things/Mote/SparkFlash</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_YellowSparkFlash</defName>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <solidTime>0.05</solidTime>
      <fadeOutTime>0.1</fadeOutTime>
    </mote>
    <graphicData>
      <texPath>Things/Mote/YellowSparkFlash</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_ExplosionFlash</defName>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <solidTime>0.05</solidTime>
      <fadeOutTime>0.1</fadeOutTime>
    </mote>
    <graphicData>
      <texPath>Things/Mote/ExplosionFlash</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
  </ThingDef>

  <!--=============== Misc visuals ================-->

  <ThingDef ParentName="MoteBase">
    <defName>Mote_ShotHit_Spark</defName>
    <graphicData>
      <texPath>Things/Mote/ShotHit_Spark</texPath>
      <shaderType>TransparentPostLight</shaderType>
    </graphicData>
    <altitudeLayer>MoteLow</altitudeLayer>
    <mote>
      <solidTime>0.05</solidTime>
      <fadeOutTime>0.07</fadeOutTime>
    </mote>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_ShotHit_Dirt</defName>
    <graphicData>
      <texPath>Things/Mote/ShotHit_Dirt</texPath>
      <shaderType>Transparent</shaderType>
    </graphicData>
    <altitudeLayer>MoteLow</altitudeLayer>
    <mote>
      <solidTime>0.03</solidTime>
      <fadeOutTime>0.1</fadeOutTime>
    </mote>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_Leaf</defName>
    <thingClass>MoteLeaf</thingClass>
    <mote>
      <fadeInTime>1</fadeInTime>
      <solidTime>4</solidTime>
      <fadeOutTime>2</fadeOutTime>
    </mote>
    <altitudeLayer>Building</altitudeLayer>
    <graphicData>
      <texPath>Things/Mote/FoodBitVegetarian</texPath>
      <drawSize>0.40</drawSize>
    </graphicData>
  </ThingDef>

  <ThingDef ParentName="MoteBase">
    <defName>Mote_SandInEyes</defName>
    <graphicData>
      <texPath>Things/Mote/SandInEyes</texPath>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.04</fadeInTime>
      <solidTime>0.5</solidTime>
      <fadeOutTime>2</fadeOutTime>
    </mote>
  </ThingDef>

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

  <ThingDef ParentName="MoteBase">
    <defName>Mote_BlastDry</defName>
    <graphicData>
      <texPath>Things/Mote/BlastDry</texPath>
      <shaderType>TransparentPostLight</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <solidTime>0</solidTime>
      <fadeOutTime>0.2</fadeOutTime>
    </mote>
  </ThingDef>
  
  <ThingDef ParentName="MoteBase">
    <defName>Mote_BlastEMP</defName>
    <graphicData>
      <texPath>Things/Mote/BlastEMP</texPath>
      <shaderType>TransparentPostLight</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <solidTime>0</solidTime>
      <fadeOutTime>0.2</fadeOutTime>
    </mote>
  </ThingDef>
  
  <ThingDef ParentName="MoteBase">
    <defName>Mote_BlastFlame</defName>
    <graphicData>
      <texPath>Things/Mote/BlastFlame</texPath>
      <shaderType>TransparentPostLight</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <solidTime>0</solidTime>
      <fadeOutTime>0.2</fadeOutTime>
    </mote>
  </ThingDef>
  
  <ThingDef ParentName="MoteBase">
    <defName>Mote_ElectricalSpark</defName>
    <graphicData>
      <texPath>Things/Mote/ElectricalSpark</texPath>
      <shaderType>MoteGlow</shaderType>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.04</fadeInTime>
      <solidTime>0.08</solidTime>
      <fadeOutTime>0.13</fadeOutTime>
    </mote>
  </ThingDef>
  
  <ThingDef ParentName="MoteBase">
    <defName>Mote_BlastExtinguisher</defName>
    <graphicData>
      <texPath>Things/Mote/BlastExtinguisher</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" Name="Mote_MicroSparks">
    <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>
  <ThingDef ParentName="Mote_MicroSparks">
    <defName>Mote_MicroSparksFast</defName>
    <mote>
      <fadeInTime>0.15</fadeInTime>
      <solidTime>0.3</solidTime>
      <fadeOutTime>0.45</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_DustPuffThick</defName>
    <graphicData>
      <texPath>Things/Mote/DustPuff</texPath>
    </graphicData>
    <altitudeLayer>MoteOverhead</altitudeLayer>
    <mote>
      <fadeInTime>0.1</fadeInTime>
      <solidTime>0.6</solidTime>
      <fadeOutTime>1.4</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>
