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

  <ThingDef ParentName="BaseMeleeWeapon_Blunt">
    <defName>WULA_MeleeWeapon_Mace</defName>
    <label>战壕狼牙棒</label>
    <description>这种细长的狼牙棒很适合在狭窄空间挥舞，也是乌拉帝国王权的象征——尽管在你手里这只是一根带刺的棍子。</description>
    <graphicData>
      <texPath>Wula/Weapon/WULA_MeleeWeapon_Mace</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <!-- <drawSize>3</drawSize> -->
    </graphicData>
    <uiIconScale>1.1</uiIconScale>
    <techLevel>Medieval</techLevel>
    <weaponTags>
      <li>NeolithicMeleeBasic</li>
    </weaponTags>
    <weaponClasses>
      <li>Neolithic</li>
    </weaponClasses>
    <costStuffCount>40</costStuffCount>
    <statBases>
      <WorkToMake>1200</WorkToMake>
      <Mass>2</Mass>
    </statBases>
    <costList>
      <Steel>10</Steel>
    </costList>
    <equippedAngleOffset>-65</equippedAngleOffset>
    <stuffCategories>
      <li>Metallic</li>
      <li>Woody</li>
      <li>Stony</li>
    </stuffCategories>
    <recipeMaker>
      <recipeUsers>
        <li>ElectricSmithy</li>
        <li>FueledSmithy</li>
      </recipeUsers>
      <displayPriority>300</displayPriority>
    </recipeMaker>
    <tools>
      <li>
        <label>棍柄</label>
        <capacities>
          <li>Poke</li>
        </capacities>
        <power>9</power>
        <cooldownTime>1</cooldownTime>
        <chanceFactor>0.5</chanceFactor>
      </li>
      <li>
        <label>尖头</label>
        <labelUsedInLogging>false</labelUsedInLogging>
        <capacities>
          <li>Stab</li>
        </capacities>
        <power>18</power>
        <cooldownTime>1.25</cooldownTime>
      </li>
    </tools>
  </ThingDef>

  <!-- 乌拉帝国镇爆枪 -->
  <ThingDef ParentName="BaseHumanMakeableGun">
    <defName>WULA_RangedWeapon_Fractal_AR</defName>
    <label>分形步枪</label>
    <description>乌拉帝国镇暴部队使用的震爆武器之一，在发射前会照射目标并用微型处理器分析目标特征，随后经过编译的复合能量脉冲将以集束形式射出，瘫痪目标并点燃暴动者的身体，同时还不造成直击伤害。</description>
    <graphicData>
      <texPath>Wula/Weapon/WULA_RangedWeapon_Fractal_AR</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <drawSize>1.55</drawSize>
    </graphicData>
    <soundInteract>Interact_ChargeRifle</soundInteract>
    <weaponClasses>
      <li>LongShots</li>
      <li>RangedHeavy</li>
    </weaponClasses>
    <recipeMaker>
      <!-- <researchPrerequisite>GasOperation</researchPrerequisite> -->
      <skillRequirements>
        <Crafting>5</Crafting>
      </skillRequirements>
      <displayPriority>440</displayPriority>
    </recipeMaker>
    <thingSetMakerTags><li>RewardStandardQualitySuper</li></thingSetMakerTags>
    <statBases>
      <WorkToMake>45000</WorkToMake>
      <Mass>3.5</Mass>
      <AccuracyTouch>0.5</AccuracyTouch>
      <AccuracyShort>0.9</AccuracyShort>
      <AccuracyMedium>0.75</AccuracyMedium>
      <AccuracyLong>0.5</AccuracyLong>
      <RangedWeapon_Cooldown>1.65</RangedWeapon_Cooldown>
    </statBases>
    <costList>
      <Plasteel>75</Plasteel>
      <ComponentSpacer>4</ComponentSpacer>
    </costList>
    <verbs>
      <li>
        <verbClass>Verb_ShootBeam</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <warmupTime>0.5</warmupTime>
        <range>30</range>
        <minRange>0</minRange>
        <beamFullWidthRange>1</beamFullWidthRange>
        <burstShotCount>6</burstShotCount>
        <showBurstShotStats>false</showBurstShotStats>
        <beamWidth>3</beamWidth>
        <ticksBetweenBurstShots>6</ticksBetweenBurstShots>
        <beamDamageDef>Stun</beamDamageDef>
        <soundCastTail>GunTail_Medium</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
        <soundCastBeam>BeamGraser_Shooting</soundCastBeam>
        <beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
        <beamFleckChancePerTick>0.32</beamFleckChancePerTick>
        <beamMaxDeviation>0.1</beamMaxDeviation>
        <beamCurvature>0</beamCurvature>
        <beamMoteDef>Mote_GraserBeamBase</beamMoteDef>
        <beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
        <beamChanceToStartFire>0</beamChanceToStartFire>
        <beamChanceToAttachFire>1</beamChanceToAttachFire>
        <beamFireSizeRange>1</beamFireSizeRange>
        <beamLineFleckDef>Fleck_BeamSpark</beamLineFleckDef>
        <beamStartOffset>0.5</beamStartOffset>
        <beamLineFleckChanceCurve>
          <points>
            <li>(0, 0)</li><!--原版 (0, 0)-->
            <li>(0.2, 0.1)</li><!--原版 (0.65, 0.4)-->
            <li>(0.4, 0.2)</li><!--原版 (1, 0.75)-->
          </points>
        </beamLineFleckChanceCurve>
      </li>
    </verbs>
    <weaponTags>
      <li>MechanoidGunMedium</li>
      <li>SpacerGun</li>
    </weaponTags>
    <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="BaseHumanMakeableGun">
    <defName>WULA_RangedWeapon_StarDrift_SG</defName>
    <label>星流霰弹枪</label>
    <description>乌拉帝国配发的近距离霰弹枪，以威力巨大的梭镖破甲弹为核心，专注于在短距离上的快速反应战斗和持续性压制能力</description>
    <!-- <techLevel>Spacer</techLevel> -->
    <graphicData>
      <texPath>Wula/Weapon/WULA_RangedWeapon_StarDrift_SG</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <soundInteract>Interact_ChargeRifle</soundInteract>
    <statBases>
      <WorkToMake>45000</WorkToMake>
      <Mass>3.5</Mass>
      <AccuracyTouch>1</AccuracyTouch>
      <AccuracyShort>0.9</AccuracyShort>
      <AccuracyMedium>0.5</AccuracyMedium>
      <AccuracyLong>0.25</AccuracyLong>
      <RangedWeapon_Cooldown>1</RangedWeapon_Cooldown>
    </statBases>
    <weaponTags>
      <li>MechanoidGunShortRange</li>
      <li>SpacerGun</li>
    </weaponTags>
    <verbs>
      <li>
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>WULA_Bullet_StarDrift_Shotgun_Spear</defaultProjectile>
        <warmupTime>0.2</warmupTime>
        <range>15</range>
        <burstShotCount>6</burstShotCount>
        <ticksBetweenBurstShots>3</ticksBetweenBurstShots>
        <soundCast>ChargeLance_Fire</soundCast>
        <soundCastTail>GunTail_Heavy</soundCastTail>
        <muzzleFlashScale>7</muzzleFlashScale>
      </li>
    </verbs>
  </ThingDef>
  <ThingDef ParentName="BaseBullet">
    <defName>WULA_Bullet_StarDrift_Shotgun_Spear</defName>
    <label>梭镖</label>
    <graphicData>
      <texPath>Wula/Projectile/WULA_Bullet_StarDrift_Shotgun_Spear</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <projectile>
      <damageDef>Bullet</damageDef>
      <damageAmountBase>15</damageAmountBase>
      <stoppingPower>2.5</stoppingPower>
      <armorPenetrationBase>0.65</armorPenetrationBase>
      <speed>55</speed>
    </projectile>
  </ThingDef>
</Defs>