<?xml version="1.0" encoding="utf-8" ?>
<Defs>
  <!--==================================== 베이스 ====================================-->
  <ThingDef Abstract="True" Name="PN_BaseWeapon">
    <thingClass>ThingWithComps</thingClass>
    <category>Item</category>
    <drawGUIOverlay>true</drawGUIOverlay>
    <altitudeLayer>Item</altitudeLayer>
    <alwaysHaulable>true</alwaysHaulable>
    <tickerType>Never</tickerType>
    <equipmentType>Primary</equipmentType>
    <useHitPoints>true</useHitPoints>
    <pathCost>14</pathCost>
    <selectable>true</selectable>
    <statBases>
      <MaxHitPoints>100</MaxHitPoints>
      <Flammability>1.0</Flammability>
      <DeteriorationRate>2</DeteriorationRate>
      <Beauty>-3</Beauty>
      <SellPriceFactor>0.20</SellPriceFactor>
    </statBases>
    <comps>
      <li Class="CompProperties_Forbiddable"/>
      <li>
        <compClass>CompEquippable</compClass>
      </li>
    </comps>
    <graphicData>
      <onGroundRandomRotateAngle>35</onGroundRandomRotateAngle>
    </graphicData>
  </ThingDef>

  <!--==================================== 근접 베이스 ====================================-->
  <ThingDef Name="PN_BaseMeleeWeapon" Abstract="True" ParentName="PN_BaseWeapon">
    <techLevel>Industrial</techLevel>
    <smeltable>true</smeltable>
    <burnableByRecipe>true</burnableByRecipe>
    <thingCategories>
      <li>WeaponsMelee</li>
    </thingCategories>
    <recipeMaker>
      <workSpeedStat>GeneralLaborSpeed</workSpeedStat>
      <workSkill>Crafting</workSkill>
      <effectWorking>Smith</effectWorking>
      <soundWorking>Recipe_Smith</soundWorking>
      <recipeUsers>
        <li>ElectricSmithy</li>
        <li>FueledSmithy</li>
      </recipeUsers>
      <unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
    </recipeMaker>
    <inspectorTabs>
      <li>ITab_Art</li>
    </inspectorTabs>
    <weaponTags>
      <li>PN_Melee</li>
    </weaponTags>
  </ThingDef>

  <ThingDef Name="PN_BaseMeleeWeapon_Sharp" ParentName="PN_BaseMeleeWeapon" Abstract="True">
    <recipeMaker>
      <defaultIngredientFilter>
        <categories>
          <li>Root</li>
        </categories>
        <disallowedThingDefs>
          <li>Silver</li>
          <li>Gold</li>
          <li>WoodLog</li>
        </disallowedThingDefs>
      </defaultIngredientFilter>
    </recipeMaker>
    <comps>
      <li>
        <compClass>CompQuality</compClass>
      </li>
      <li Class="CompProperties_Art">
        <nameMaker>NamerArtWeaponMelee</nameMaker>
        <descriptionMaker>ArtDescription_WeaponMelee</descriptionMaker>
        <minQualityForArtistic>Excellent</minQualityForArtistic>
      </li>
    </comps>
  </ThingDef>

  <ThingDef Name="PN_BaseMeleeWeapon_Blunt" ParentName="PN_BaseMeleeWeapon" Abstract="True">
    <recipeMaker>
      <defaultIngredientFilter>
        <categories>
          <li>Root</li>
        </categories>
        <disallowedThingDefs>
          <li>Silver</li>
          <li>Gold</li>
        </disallowedThingDefs>
      </defaultIngredientFilter>
    </recipeMaker>
    <comps>
      <li>
        <compClass>CompQuality</compClass>
      </li>
      <li Class="CompProperties_Art">
        <nameMaker>NamerArtWeaponMelee</nameMaker>
        <descriptionMaker>ArtDescription_WeaponMelee</descriptionMaker>
        <minQualityForArtistic>Excellent</minQualityForArtistic>
      </li>
    </comps>
  </ThingDef>

  <!--==================================== 원거리 베이스 ====================================-->
  <ThingDef Name="PN_BaseGun" Abstract="True" ParentName="PN_BaseWeapon">
    <techLevel>Industrial</techLevel>
    <smeltable>true</smeltable>
    <thingCategories>
      <li>WeaponsRanged</li>
    </thingCategories>
    <inspectorTabs>
      <li>ITab_Art</li>
    </inspectorTabs>
    <statBases>
      <Flammability>0.5</Flammability>
    </statBases>
    <weaponTags>
      <li>PN_Gun</li>
    </weaponTags>
    <comps>
      <li Class="CompProperties_Art">
        <nameMaker>NamerArtWeaponGun</nameMaker>
        <descriptionMaker>ArtDescription_WeaponGun</descriptionMaker>
        <minQualityForArtistic>Excellent</minQualityForArtistic>
      </li>
      <li>
        <compClass>CompQuality</compClass>
      </li>
    </comps>
  </ThingDef>

  <ThingDef Name="PN_BaseMakeableGun" ParentName="PN_BaseGun" Abstract="True">
    <recipeMaker>
      <workSpeedStat>GeneralLaborSpeed</workSpeedStat>
      <workSkill>Crafting</workSkill>
      <effectWorking>Smith</effectWorking>
      <soundWorking>Recipe_Smith</soundWorking>
      <recipeUsers>
        <li>TableMachining</li>
      </recipeUsers>
      <unfinishedThingDef>UnfinishedGun</unfinishedThingDef>
      <researchPrerequisite>Gunsmithing</researchPrerequisite>
    </recipeMaker>
    <comps>
      <li Class="CompProperties_BiocodableWeapon"/>
    </comps>
  </ThingDef>

  <ThingDef Name="PN_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="PN_BaseMeleeWeapon_Sharp">
    <defName>PN_Chainsword</defName>
    <label>automaton chainsword</label>
    <description>...</description>
    <graphicData>
      <texPath>Things/Weapons/PNSword</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <shaderType>CutoutComplex</shaderType>
    </graphicData>
    <weaponTags>
      <li>PN_Chainsword</li>
    </weaponTags>
    <costStuffCount>100</costStuffCount>
    <thingSetMakerTags>
      <li>RewardStandardQualitySuper</li>
    </thingSetMakerTags>
    <statBases>
      <WorkToMake>18000</WorkToMake>
      <Mass>2</Mass>
    </statBases>
    <equippedAngleOffset>-65</equippedAngleOffset>
    <stuffCategories>
      <li>Metallic</li>
    </stuffCategories>
    <tools>
      <li>
        <label>handle</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
      <li>
        <label>point</label>
        <capacities>
          <li>Stab</li>
        </capacities>
        <power>23</power>
        <cooldownTime>2.6</cooldownTime>
      </li>
      <li>
        <label>edge</label>
        <capacities>
          <li>Cut</li>
        </capacities>
        <power>23</power>
        <cooldownTime>2.6</cooldownTime>
      </li>
    </tools>
    <recipeMaker>
      <researchPrerequisite>LongBlades</researchPrerequisite>
      <skillRequirements>
        <Crafting>5</Crafting>
      </skillRequirements>
    </recipeMaker>
  </ThingDef>
  <!--==================================== 리볼버 ====================================-->
  <ThingDef ParentName="PN_BaseMakeableGun">
    <defName>PN_Revolver</defName>
    <label>automaton revolver</label>
    <description>...</description>
    <graphicData>
      <texPath>Things/Weapons/PNRevolver</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <drawSize>1</drawSize>
    </graphicData>
    <uiIconScale>1</uiIconScale>
    <soundInteract>Interact_Revolver</soundInteract>
    <thingSetMakerTags>
      <li>RewardStandardQualitySuper</li>
    </thingSetMakerTags>
    <statBases>
      <WorkToMake>18000</WorkToMake>
      <Mass>1.4</Mass>
      <AccuracyTouch>0.50</AccuracyTouch>
      <AccuracyShort>0.35</AccuracyShort>
      <AccuracyMedium>0.15</AccuracyMedium>
      <AccuracyLong>0.05</AccuracyLong>
      <RangedWeapon_Cooldown>1.7</RangedWeapon_Cooldown>
    </statBases>
    <weaponTags>
      <li>PN_Revolver</li>
    </weaponTags>
    <costList>
      <Steel>50</Steel>
      <ComponentIndustrial>4</ComponentIndustrial>
    </costList>
    <recipeMaker>
      <skillRequirements>
        <Crafting>3</Crafting>
      </skillRequirements>
    </recipeMaker>
    <comps>
      <li>
        <compClass>AdditionalVerb.Comp_VerbSaveable</compClass>
      </li>
    </comps>
    <verbs>
      <li Class="AdditionalVerb.VerbProperties_Custom">
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_Revolver_Volley</defaultProjectile>
        <warmupTime>0.9</warmupTime>
        <range>12.9</range>
        <burstShotCount>6</burstShotCount>
        <ticksBetweenBurstShots>1</ticksBetweenBurstShots>
        <soundCast>Shot_Revolver</soundCast>
        <soundCastTail>GunTail_Light</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
        <desc>...</desc>
        <label>volley shot</label>
        <texPath>UI/Commands/Pew</texPath>
        <accuracyTouch>0.0</accuracyTouch>
        <accuracyShort>0.0</accuracyShort>
        <accuracyMedium>0.0</accuracyMedium>
        <accuracyLong>0.0</accuracyLong>
      </li>
      <li Class="AdditionalVerb.VerbProperties_Custom">
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_Revolver_Single</defaultProjectile>
        <warmupTime>0.9</warmupTime>
        <range>25.9</range>
        <burstShotCount>3</burstShotCount>
        <ticksBetweenBurstShots>10</ticksBetweenBurstShots>
        <soundCast>Shot_Revolver</soundCast>
        <soundCastTail>GunTail_Light</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
        <desc>...</desc>
        <label>triple shot</label>
        <texPath>UI/Commands/Snipe</texPath>
        <accuracyTouch>0.30</accuracyTouch>
        <accuracyShort>0.30</accuracyShort>
        <accuracyMedium>0.30</accuracyMedium>
        <accuracyLong>0.30</accuracyLong>
      </li>
    </verbs>
    <tools>
      <li>
        <label>grip</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
      <li>
        <label>barrel</label>
        <capacities>
          <li>Blunt</li>
          <li>Poke</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
    </tools>
  </ThingDef>

  <ThingDef ParentName="PN_BaseBullet">
    <defName>PN_Bullet_Revolver_Single</defName>
    <label>automaton revolver bullet</label>
    <graphicData>
      <texPath>Things/Projectile/Bullet_Small</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <projectile>
      <damageDef>Bullet</damageDef>
      <damageAmountBase>12</damageAmountBase>
      <stoppingPower>1</stoppingPower>
      <speed>55</speed>
    </projectile>
  </ThingDef>

  <ThingDef ParentName="PN_BaseBullet">
    <defName>PN_Bullet_Revolver_Volley</defName>
    <label>automaton revolver bullet</label>
    <graphicData>
      <texPath>Things/Projectile/Bullet_Small</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <projectile>
      <damageDef>Bullet</damageDef>
      <damageAmountBase>9</damageAmountBase>
      <stoppingPower>1</stoppingPower>
      <speed>55</speed>
    </projectile>
  </ThingDef>

  <!--==================================== 레버액션 ====================================-->
  <ThingDef ParentName="PN_BaseMakeableGun">
    <defName>PN_Rifle</defName>
    <label>automaton rifle</label>
    <description>...</description>
    <graphicData>
      <texPath>Things/Weapons/PNRifle</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <soundInteract>Interact_Rifle</soundInteract>
    <recipeMaker>
      <researchPrerequisite>PrecisionRifling</researchPrerequisite>
      <skillRequirements>
        <Crafting>6</Crafting>
      </skillRequirements>
    </recipeMaker>
    <thingSetMakerTags>
      <li>RewardStandardQualitySuper</li>
    </thingSetMakerTags>
    <statBases>
      <WorkToMake>40000</WorkToMake>
      <Mass>3.5</Mass>
      <AccuracyTouch>0.65</AccuracyTouch>
      <AccuracyShort>0.70</AccuracyShort>
      <AccuracyMedium>0.65</AccuracyMedium>
      <AccuracyLong>0.55</AccuracyLong>
      <RangedWeapon_Cooldown>0.7</RangedWeapon_Cooldown>
    </statBases>
    <costList>
      <Steel>60</Steel>
      <ComponentIndustrial>5</ComponentIndustrial>
    </costList>
    <comps>
      <li>
        <compClass>AdditionalVerb.Comp_VerbSaveable</compClass>
      </li>
    </comps>
    <verbs>
      <li Class="AdditionalVerb.VerbProperties_Custom">
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_Rifle</defaultProjectile>
        <warmupTime>0.7</warmupTime>
        <range>30.9</range>
        <soundCast>PNRifleSound</soundCast>
        <soundCastTail>GunTail_Heavy</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
        <desc>...</desc>
        <label>quick shot</label>
        <texPath>UI/Commands/Pew</texPath>
        <accuracyTouch>0.0</accuracyTouch>
        <accuracyShort>0.0</accuracyShort>
        <accuracyMedium>0.0</accuracyMedium>
        <accuracyLong>0.0</accuracyLong>
      </li>
      <li Class="AdditionalVerb.VerbProperties_Custom">
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_Rifle</defaultProjectile>
        <warmupTime>2.3</warmupTime>
        <range>36.9</range>
        <soundCast>PNRifleSound</soundCast>
        <soundCastTail>GunTail_Heavy</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
        <desc>...</desc>
        <label>accurate shot</label>
        <texPath>UI/Commands/Snipe</texPath>
        <accuracyTouch>0.0</accuracyTouch>
        <accuracyShort>0.10</accuracyShort>
        <accuracyMedium>0.25</accuracyMedium>
        <accuracyLong>0.25</accuracyLong>
      </li>
    </verbs>
    <weaponTags>
      <li>PN_Rifle</li>
    </weaponTags>
    <tools>
      <li>
        <label>stock</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
      <li>
        <label>barrel</label>
        <capacities>
          <li>Blunt</li>
          <li>Poke</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
    </tools>
    <equippedAngleOffset>45</equippedAngleOffset>
  </ThingDef>

  <ThingDef ParentName="PN_BaseBullet">
    <defName>PN_Bullet_Rifle</defName>
    <label>automaton rifle bullet</label>
    <projectile>
      <damageDef>Bullet</damageDef>
      <damageAmountBase>18</damageAmountBase>
      <stoppingPower>1.5</stoppingPower>
      <speed>70</speed>
    </projectile>
    <graphicData>
      <texPath>Things/Projectile/Bullet_big</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
  </ThingDef>

   <!--==================================== 기관총 ====================================-->
  <ThingDef ParentName="PN_BaseMakeableGun">
    <defName>PN_Machinegun</defName>
    <label>automaton machine gun</label>
    <description>...</description>
    <graphicData>
      <texPath>Things/Weapons/PNMachinegun</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <soundInteract>Interact_Rifle</soundInteract>
    <recipeMaker>
      <researchPrerequisite>MultibarrelWeapons</researchPrerequisite>
      <skillRequirements>
        <Crafting>7</Crafting>
      </skillRequirements>
    </recipeMaker>
    <thingSetMakerTags>
      <li>RewardStandardLowFreq</li>
      <li>RewardStandardQualitySuper</li>
    </thingSetMakerTags>
    <statBases>
      <WorkToMake>60000</WorkToMake>
      <Mass>10</Mass>
      <AccuracyTouch>0.15</AccuracyTouch>
      <AccuracyShort>0.25</AccuracyShort>
      <AccuracyMedium>0.25</AccuracyMedium>
      <AccuracyLong>0.18</AccuracyLong>
      <RangedWeapon_Cooldown>2.3</RangedWeapon_Cooldown>
    </statBases>
    <costList>
      <Steel>160</Steel>
      <ComponentIndustrial>10</ComponentIndustrial>
    </costList>
    <verbs>
      <li>
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>Bullet_Minigun</defaultProjectile>
        <warmupTime>2.5</warmupTime>
        <range>30.9</range>
        <burstShotCount>25</burstShotCount>
        <ticksBetweenBurstShots>5</ticksBetweenBurstShots>
        <soundCast>Shot_Minigun</soundCast>
        <soundCastTail>GunTail_Medium</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
      </li>
    </verbs>
    <weaponTags>
      <li>PN_Machinegun</li>
    </weaponTags>
    <tools>
      <li>
        <label>stock</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
      <li>
        <label>barrel</label>
        <capacities>
          <li>Blunt</li>
          <li>Poke</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
    </tools>
    <equippedAngleOffset>45</equippedAngleOffset>
  </ThingDef>

  <ThingDef ParentName="PN_BaseBullet">
    <defName>PN_Bullet_Machinegun</defName>
    <label>automaton machinegun bullet</label>
    <projectile>
      <damageDef>Bullet</damageDef>
      <damageAmountBase>10</damageAmountBase>
      <stoppingPower>1.0</stoppingPower>
      <speed>70</speed>
    </projectile>
    <graphicData>
      <texPath>Things/Projectile/Bullet_Small</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
  </ThingDef>

  <!--==================================== 포터블 캐논 ====================================-->
  <ThingDef ParentName="PN_BaseMakeableGun">
    <defName>PN_Cannon</defName>
    <label>automaton Cannon</label>
    <description>...</description>
    <graphicData>
      <texPath>Things/Weapons/PNCannon</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <soundInteract>Interact_Rifle</soundInteract>
    <recipeMaker>
      <researchPrerequisite>Mortars</researchPrerequisite>
      <skillRequirements>
        <Crafting>8</Crafting>
      </skillRequirements>
    </recipeMaker>
    <thingSetMakerTags>
      <li>RewardStandardQualitySuper</li>
    </thingSetMakerTags>
    <statBases>
      <WorkToMake>68000</WorkToMake>
      <Mass>9.5</Mass>
      <AccuracyTouch>0.65</AccuracyTouch>
      <AccuracyShort>0.65</AccuracyShort>
      <AccuracyMedium>0.85</AccuracyMedium>
      <AccuracyLong>0.75</AccuracyLong>
      <RangedWeapon_Cooldown>3.5</RangedWeapon_Cooldown>
    </statBases>
    <costList>
      <Steel>120</Steel>
      <ComponentIndustrial>8</ComponentIndustrial>
    </costList>
    <comps>
      <li>
        <compClass>AdditionalVerb.Comp_VerbSaveable</compClass>
      </li>
    </comps>
    <verbs>
      <li Class="AdditionalVerb.VerbProperties_Custom">
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_HE</defaultProjectile>
        <forcedMissRadius>0.01</forcedMissRadius>
        <warmupTime>4.5</warmupTime>
        <minRange>4.9</minRange>
        <range>49.9</range>
        <soundCast>PNCannonSound</soundCast>
        <soundCastTail>GunTail_Heavy</soundCastTail>
        <targetParams>
          <canTargetLocations>true</canTargetLocations>
        </targetParams>
        <muzzleFlashScale>14</muzzleFlashScale>
        <desc>...</desc>
        <label>HE</label>
        <texPath>UI/Commands/Pew</texPath>
        <accuracyTouch>0</accuracyTouch>
        <accuracyShort>0</accuracyShort>
        <accuracyMedium>0</accuracyMedium>
        <accuracyLong>0</accuracyLong>
      </li>
      <li Class="AdditionalVerb.VerbProperties_Custom">
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_AP</defaultProjectile>
        <warmupTime>4.5</warmupTime>
        <minRange>4.9</minRange>
        <range>49.9</range>
        <soundCast>PNCannonSound</soundCast>
        <soundCastTail>GunTail_Heavy</soundCastTail>
        <muzzleFlashScale>14</muzzleFlashScale>
        <desc>...</desc>
        <label>AP</label>
        <texPath>UI/Commands/Snipe</texPath>
        <accuracyTouch>0</accuracyTouch>
        <accuracyShort>0</accuracyShort>
        <accuracyMedium>0</accuracyMedium>
        <accuracyLong>0</accuracyLong>
      </li>
    </verbs>
    <weaponTags>
      <li>PN_Cannon</li>
    </weaponTags>
    <tools>
      <li>
        <label>stock</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
      <li>
        <label>barrel</label>
        <capacities>
          <li>Blunt</li>
          <li>Poke</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
    </tools>
    <equippedAngleOffset>45</equippedAngleOffset>
    <equippedStatOffsets>
      <MoveSpeed>-0.6</MoveSpeed>
    </equippedStatOffsets>
  </ThingDef>

  <ThingDef ParentName="BaseBullet">
    <defName>PN_Bullet_HE</defName>
    <label>automaton he bullet</label>
    <graphicData>
      <texPath>Things/Projectile/ShellHighExplosive</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <shaderType>TransparentPostLight</shaderType>
    </graphicData>
    <thingClass>Projectile_Explosive</thingClass>
    <projectile>
      <damageDef>PN_Bomb_Cannon</damageDef>
      <!-- damage amount is the damage def default -->
      <speed>100</speed>
      <explosionRadius>1.9</explosionRadius>
    </projectile>
  </ThingDef>

  <ThingDef ParentName="PN_BaseBullet">
    <defName>PN_Bullet_AP</defName>
    <label>automaton ap bullet</label>
    <projectile>
      <damageDef>Bullet</damageDef>
      <damageAmountBase>40</damageAmountBase>
      <stoppingPower>3</stoppingPower>
      <armorPenetrationBase>0.70</armorPenetrationBase>
      <speed>100</speed>
    </projectile>
    <graphicData>
      <texPath>Things/Projectile/ShellHighExplosive</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
  </ThingDef>

  <DamageDef>
    <defName>PN_Bomb_Cannon</defName>
    <label>bomb</label>
    <workerClass>DamageWorker_AddInjury</workerClass>
    <externalViolence>true</externalViolence>
    <isExplosive>true</isExplosive>
    <deathMessage>{0} has died in an explosion.</deathMessage>
    <hediff>Shredded</hediff>
    <hediffSolid>Crack</hediffSolid>
    <harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
    <impactSoundType>Blunt</impactSoundType>
    <armorCategory>Sharp</armorCategory>
    <minDamageToFragment>15</minDamageToFragment>
    <defaultDamage>32</defaultDamage>
    <defaultStoppingPower>0.5</defaultStoppingPower>
    <defaultArmorPenetration>0.10</defaultArmorPenetration>
    <buildingDamageFactor>3.125</buildingDamageFactor>
    <plantDamageFactor>3.125</plantDamageFactor>
    <explosionAffectOutsidePartsOnly>false</explosionAffectOutsidePartsOnly>
    <explosionHeatEnergyPerCell>5</explosionHeatEnergyPerCell>
    <explosionCellMote>Mote_BlastDry</explosionCellMote>
    <explosionColorCenter>(1, 0.5, 0.3)</explosionColorCenter>
    <explosionColorEdge>(0.6, 0.5, 0.4)</explosionColorEdge>
    <soundExplosion>Explosion_Bomb</soundExplosion>
    <combatLogRules>Damage_Bomb</combatLogRules>
  </DamageDef>

  <!--==================================== 로열 트윈 피스톨 ====================================-->
  <ThingDef ParentName="PN_BaseMakeableGun">
    <defName>PN_TwinPistol</defName>
    <label>automaton twin pistol</label>
    <description>...</description>
    <techLevel>Spacer</techLevel>
    <graphicData>
      <texPath>Things/Weapons/PNTwinpistol</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <soundInteract>Interact_Rifle</soundInteract>
    <recipeMaker>
      <researchPrerequisite>ChargedShot</researchPrerequisite>
      <skillRequirements>
        <Crafting>7</Crafting>
      </skillRequirements>
    </recipeMaker>
    <thingSetMakerTags>
      <li>RewardStandardLowFreq</li>
      <li>RewardStandardQualitySuper</li>
    </thingSetMakerTags>
    <statBases>
      <WorkToMake>45000</WorkToMake>
      <Mass>4.6</Mass>
      <AccuracyTouch>0.15</AccuracyTouch>
      <AccuracyShort>0.25</AccuracyShort>
      <AccuracyMedium>0.25</AccuracyMedium>
      <AccuracyLong>0.18</AccuracyLong>
      <RangedWeapon_Cooldown>2.5</RangedWeapon_Cooldown>
    </statBases>
    <costList>
      <Plasteel>50</Plasteel>
      <ComponentSpacer>2</ComponentSpacer>
    </costList>
    <verbs>
      <li>
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_TwinPistol</defaultProjectile>
        <warmupTime>1</warmupTime>
        <range>25.9</range>
        <ticksBetweenBurstShots>2</ticksBetweenBurstShots>
        <burstShotCount>12</burstShotCount>
        <soundCast>Shot_Autopistol</soundCast>
        <soundCastTail>GunTail_Light</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
      </li>
    </verbs>
    <weaponTags>
      <li>PN_RoyalRifle</li>
    </weaponTags>
    <tools>
      <li>
        <label>stock</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
      <li>
        <label>barrel</label>
        <capacities>
          <li>Blunt</li>
          <li>Poke</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
    </tools>
  </ThingDef>

  <ThingDef ParentName="PN_BaseBullet">
    <defName>PN_Bullet_TwinPistol</defName>
    <label>automaton rifle bullet</label>
    <projectile>
      <damageDef>Bullet</damageDef>
      <damageAmountBase>10</damageAmountBase>
      <stoppingPower>0.5</stoppingPower>
      <armorPenetrationBase>0.15</armorPenetrationBase>
      <speed>70</speed>
    </projectile>
    <graphicData>
      <texPath>Things/Projectile/Bullet_big</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
  </ThingDef>

  <!--==================================== 로열 라이플 ====================================-->
  <ThingDef ParentName="PN_BaseMakeableGun">
    <defName>PN_RoyalRifle</defName>
    <label>automaton royal rifle</label>
    <description>...</description>
    <techLevel>Spacer</techLevel>
    <graphicData>
      <texPath>Things/Weapons/PNRoyalRifle</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <soundInteract>Interact_Rifle</soundInteract>
    <recipeMaker>
      <researchPrerequisite>ChargedShot</researchPrerequisite>
      <skillRequirements>
        <Crafting>7</Crafting>
      </skillRequirements>
    </recipeMaker>
    <thingSetMakerTags>
      <li>RewardStandardLowFreq</li>
      <li>RewardStandardQualitySuper</li>
    </thingSetMakerTags>
    <statBases>
      <WorkToMake>45000</WorkToMake>
      <Mass>4.6</Mass>
      <AccuracyTouch>0.65</AccuracyTouch>
      <AccuracyShort>0.70</AccuracyShort>
      <AccuracyMedium>0.65</AccuracyMedium>
      <AccuracyLong>0.55</AccuracyLong>
      <RangedWeapon_Cooldown>0.7</RangedWeapon_Cooldown>
    </statBases>
    <costList>
      <Plasteel>50</Plasteel>
      <ComponentSpacer>2</ComponentSpacer>
    </costList>
    <comps>
      <li>
        <compClass>AdditionalVerb.Comp_VerbSaveable</compClass>
      </li>
    </comps>
    <verbs>
      <li Class="AdditionalVerb.VerbProperties_Custom">
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_RoyalRifle</defaultProjectile>
        <warmupTime>0.7</warmupTime>
        <range>25.9</range>
        <soundCast>Shot_NeedleGun</soundCast>
        <soundCastTail>GunTail_Heavy</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
        <desc>...</desc>
        <label>quick shot</label>
        <texPath>UI/Commands/Pew</texPath>
        <accuracyTouch>0.0</accuracyTouch>
        <accuracyShort>0.0</accuracyShort>
        <accuracyMedium>0.0</accuracyMedium>
        <accuracyLong>0.0</accuracyLong>
      </li>
      <li Class="AdditionalVerb.VerbProperties_Custom">
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>PN_Bullet_RoyalRifle</defaultProjectile>
        <warmupTime>2.3</warmupTime>
        <range>31.9</range>
        <soundCast>Shot_NeedleGun</soundCast>
        <soundCastTail>GunTail_Heavy</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
        <desc>...</desc>
        <label>accurate shot</label>
        <texPath>UI/Commands/Snipe</texPath>
        <accuracyTouch>0.0</accuracyTouch>
        <accuracyShort>0.10</accuracyShort>
        <accuracyMedium>0.25</accuracyMedium>
        <accuracyLong>0.25</accuracyLong>
      </li>
    </verbs>
    <weaponTags>
      <li>PN_RoyalRifle</li>
    </weaponTags>
    <tools>
      <li>
        <label>stock</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
      <li>
        <label>barrel</label>
        <capacities>
          <li>Blunt</li>
          <li>Poke</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
    </tools>
    <equippedAngleOffset>45</equippedAngleOffset>
  </ThingDef>

  <ThingDef ParentName="PN_BaseBullet">
    <defName>PN_Bullet_RoyalRifle</defName>
    <label>automaton rifle bullet</label>
    <projectile>
      <damageDef>Bullet</damageDef>
      <damageAmountBase>22</damageAmountBase>
      <stoppingPower>1.5</stoppingPower>
      <armorPenetrationBase>0.35</armorPenetrationBase>
      <speed>70</speed>
    </projectile>
    <graphicData>
      <texPath>Things/Projectile/Bullet_big</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
  </ThingDef>
</Defs>