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





NOTE: Old xml I wrote as my first ever mod try, it worked okay but I didn't like it
so I stuck it in here and I might use it in the future.









-->
<ThingDefs>

  <ThingDef Name="BaseGun" Abstract="True" ParentName="BaseWeapon">
		<techLevel>Industrial</techLevel>
		<smeltable>true</smeltable>
		<thingCategories>
      <li>WeaponsRanged</li>
    </thingCategories>
    <inspectorTabs>
      <li>ITab_Art</li>
    </inspectorTabs>
    <comps>
      <li>
        <compClass>CompQuality</compClass>
      </li>
      <li Class="CompProperties_Art">
        <nameMaker>ArtName_WeaponGun</nameMaker>
        <descriptionMaker>ArtDescription_WeaponGun</descriptionMaker>
        <minQualityForArtistic>Excellent</minQualityForArtistic>
      </li>
    </comps>
  </ThingDef>
<ThingDef Name="BaseMakeableGun" ParentName="BaseGun" Abstract="True">
    <recipeMaker>
      <workSpeedStat>SmithingSpeed</workSpeedStat>
      <workSkill>Crafting</workSkill>
      <effectWorking>Smith</effectWorking>
      <soundWorking>Recipe_Smith</soundWorking>
      <recipeUsers>
        <li>CraftingSpot</li>
      </recipeUsers>
      <unfinishedThingDef>UnfinishedGun</unfinishedThingDef>
    </recipeMaker>
  </ThingDef>

  <ThingDef Name="BaseHumanGun" ParentName="BaseGun" Abstract="True">
    <weaponTags>
      <li>Gun</li>
    </weaponTags>
  </ThingDef>

  <ThingDef Name="BaseBullet" Abstract="True">
    <category>Projectile</category>
    <tickerType>Normal</tickerType>
    <altitudeLayer>Projectile</altitudeLayer>
    <thingClass>Bullet</thingClass>
    <label>bullet</label>
    <useHitPoints>False</useHitPoints>
    <neverMultiSelect>True</neverMultiSelect>
    <graphicData>
      <shaderType>Transparent</shaderType>
    </graphicData>
  </ThingDef>

<ThingDef ParentName="BaseBullet">
<defName>PoisonBullet</defName>
<label> poison bullet</label>
<graphicData>
      <shaderType>Transparent</shaderType>
	  <texPath>Things/Projectile/Poison_Bullet</texPath>
    </graphicData>
<projectile>
<flyOverhead>false</flyOverhead>
		<damageDef>Bullet</damageDef>
		<DamageAmountBase>1000</DamageAmountBase>
		<Speed>10</Speed>
</projectile>
</ThingDef>
<ThingDef ParentName="BaseBullet">
    <defName>Bullet_Wallgun</defName>
    <label>wallgun bullet</label>
    <graphicData>
      <texPath>Things/Projectile/Bullet_Small</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <projectile>
      <flyOverhead>false</flyOverhead>
      <damageDef>Bullet</damageDef>
      <DamageAmountBase>9</DamageAmountBase>
      <Speed>5</Speed>
    </projectile>
  </ThingDef>

  <ThingDef ParentName="BaseHumanGun">
    <defName>Insta_Kill_Gun</defName>
    <label>insta-kill gun</label>
    <description>One shot, one kill... This gun's bullets are coated in a deadly poison before firing. They also fragment on contact, spreading the poison to hundreds of different points at once. If you see one, run. Seriously. This thing can drop a thrumbo in one shot.</description>
    <graphicData>
      <texPath>IKGun</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <soundInteract>InteractPistol</soundInteract>
    <statBases>
      <Mass>0.82</Mass>
      <AccuracyTouch>0.81</AccuracyTouch>
      <AccuracyShort>0.61</AccuracyShort>
      <AccuracyMedium>0.40</AccuracyMedium>
      <AccuracyLong>0.22</AccuracyLong>
      <RangedWeapon_Cooldown>0.1</RangedWeapon_Cooldown>
    </statBases>
    <verbs>
      <li>
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <projectileDef>PoisonBullet</projectileDef>
        <warmupTime>0.01</warmupTime>
        <range>120</range>
        <soundCast>ShotPistol</soundCast>
        <soundCastTail>GunTail_Light</soundCastTail>
        <muzzleFlashScale>5</muzzleFlashScale>
      </li>
    </verbs>
  </ThingDef>
</ThingDefs>