<?xml version="1.0" encoding="utf-8"?>
<ThingDefs>
  <ThingDef Name="ApparelBase_MTV" Abstract="True">
    <thingClass>Apparel</thingClass>
    <techLevel>Ultra</techLevel>
    <category>Item</category>
    <selectable>True</selectable>
    <pathCost>10</pathCost>
    <useHitPoints>True</useHitPoints>
    <graphicData>
      <onGroundRandomRotateAngle>35</onGroundRandomRotateAngle>
    </graphicData>
    <drawGUIOverlay>true</drawGUIOverlay>
    <statBases>
      <MaxHitPoints>200</MaxHitPoints>
      <Flammability>0</Flammability>
      <DeteriorationRate>0</DeteriorationRate>
      <Beauty>0</Beauty>
      <SellPriceFactor>0.5</SellPriceFactor>
    </statBases>
    <altitudeLayer>Item</altitudeLayer>
    <alwaysHaulable>True</alwaysHaulable>
    <tickerType>Never</tickerType>
    <comps>
      <li Class="CompProperties_Forbiddable" />
      <li>
        <compClass>CompColorable</compClass>
      </li>
      <li>
        <compClass>CompQuality</compClass>
      </li>
    </comps>
    <tradeability>Sellable</tradeability>
  </ThingDef>
  <ThingDef Name="ApparelMakeableBase_MTV" ParentName="ApparelBase_MTV" Abstract="True">
    <recipeMaker>
      <workSpeedStat>WorkSpeedGlobal</workSpeedStat>
      <unfinishedThingDef>Vanya_UnfinishedMech</unfinishedThingDef>
      <skillRequirements>
        <li>
          <skill>Crafting</skill>
          <minLevel>12</minLevel>
        </li>
      </skillRequirements>
      <workSkill>Crafting</workSkill>
      <effectWorking>Repair</effectWorking>
      <soundWorking>Recipe_Smith</soundWorking>
      <recipeUsers>
        <li>Vanya_Assembler</li>
      </recipeUsers>
      <researchPrerequisite>Vanya_AssemTech</researchPrerequisite>
    </recipeMaker>
  </ThingDef>
  <ThingDef ParentName="ApparelBase_MTV">
    <defName>Vanya_HunterOnSkin</defName>
    <label>猎手内衬</label>
    <description>猎人舰队的专用内衬，防寒保暖。</description>
    <graphicData>
      <texPath>Vanya/Things/Pawn/Humanlike/Vanya_HunterOnSkin</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <thingCategories>
      <li>Apparel</li>
    </thingCategories>
    <statBases>
      <MarketValue>2000</MarketValue>
      <Mass>1</Mass>
      <ArmorRating_Blunt>0.1</ArmorRating_Blunt>
      <ArmorRating_Sharp>0.03</ArmorRating_Sharp>
      <ArmorRating_Heat>0.25</ArmorRating_Heat>
      <ArmorRating_Electric>0.2</ArmorRating_Electric>
      <Insulation_Cold>-50</Insulation_Cold>
      <Insulation_Heat>30</Insulation_Heat>
    </statBases>
    <apparel>
      <bodyPartGroups>
        <li>Torso</li>
        <li>UpperHead</li>
        <li>Shoulders</li>
        <li>Arms</li>
        <li>Legs</li>
      </bodyPartGroups>
      <worngraphicPath>Vanya/Things/Pawn/Humanlike/Vanya_HunterOnSkin</worngraphicPath>
      <layers>
        <li>OnSkin</li>
      </layers>
      <commonality>1</commonality>
      <tags>
        <li>MTVCAapparel</li>
      </tags>
      <defaultOutfitTags>
        <li>Worker</li>
        <li>Soldier</li>
      </defaultOutfitTags>
    </apparel>
    <equippedStatOffsets>
      <WorkSpeedGlobal>-1</WorkSpeedGlobal>
      <ShootingAccuracy>0.2</ShootingAccuracy>
      <AimingDelayFactor>-0.1</AimingDelayFactor>
      <MeleeHitChance>0.5</MeleeHitChance>
      <Flammability>-1</Flammability>
    </equippedStatOffsets>
  </ThingDef>
  <!--Armor-->
  <ThingDef ParentName="ApparelBase_MTV">
    <defName>Vanya_HunterArmor</defName>
    <label>猎人护甲</label>
    <description>猎人舰队的制式护甲，各方面防御都很靠谱。</description>
    <graphicData>
      <texPath>Vanya/Things/Pawn/Humanlike/Vanya_HunterArmor</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <statBases>
      <MarketValue>6000</MarketValue>
      <MaxHitPoints>450</MaxHitPoints>
      <Mass>15</Mass>
      <ArmorRating_Blunt>0.35</ArmorRating_Blunt>
      <ArmorRating_Sharp>0.2</ArmorRating_Sharp>
      <ArmorRating_Heat>0.67</ArmorRating_Heat>
      <ArmorRating_Electric>0.55</ArmorRating_Electric>
      <Insulation_Cold>-55</Insulation_Cold>
      <Insulation_Heat>55</Insulation_Heat>
    </statBases>
    <thingCategories>
      <li>Apparel</li>
    </thingCategories>
    <apparel>
      <bodyPartGroups>
        <li>Torso</li>
        <li>UpperHead</li>
        <li>Shoulders</li>
        <li>Arms</li>
        <li>Legs</li>
      </bodyPartGroups>
      <worngraphicPath>Vanya/Things/Pawn/Humanlike/Vanya_HunterArmor</worngraphicPath>
      <layers>
        <li>Shell</li>
      </layers>
      <commonality>1</commonality>
      <tags>
        <li>MTVCAapparel</li>
      </tags>
      <defaultOutfitTags>
        <li>Soldier</li>
      </defaultOutfitTags>
    </apparel>
    <equippedStatOffsets>
      <MoveSpeed>1</MoveSpeed>
      <WorkSpeedGlobal>-1</WorkSpeedGlobal>
      <PsychicSensitivity>-1.5</PsychicSensitivity>
    </equippedStatOffsets>
  </ThingDef>
  <!--Makeable-->
  <ThingDef ParentName="ApparelMakeableBase_MTV">
    <defName>Vanya_ValloyArmor</defName>
    <label>超合金装甲</label>
    <description>稀有金属打造的合金装甲，同时兼顾了轻便耐用和防御力。内置的辅助模块可以提高作战效率。</description>
    <graphicData>
      <texPath>Vanya/Things/Pawn/Humanlike/Vanya_ValloyArmor</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <statBases>
      <WorkToMake>1440000</WorkToMake>
      <MaxHitPoints>600</MaxHitPoints>
      <Mass>9</Mass>
      <ArmorRating_Blunt>0.60</ArmorRating_Blunt>
      <ArmorRating_Sharp>0.67</ArmorRating_Sharp>
      <ArmorRating_Heat>0.55</ArmorRating_Heat>
      <ArmorRating_Electric>0.45</ArmorRating_Electric>
      <Insulation_Cold>-55</Insulation_Cold>
      <Insulation_Heat>55</Insulation_Heat>
    </statBases>
    <thingCategories>
      <li>Apparel</li>
    </thingCategories>
    <apparel>
      <bodyPartGroups>
        <li>Torso</li>
        <li>UpperHead</li>
        <li>Shoulders</li>
        <li>Arms</li>
        <li>Legs</li>
      </bodyPartGroups>
      <worngraphicPath>Vanya/Things/Pawn/Humanlike/Vanya_ValloyArmor</worngraphicPath>
      <layers>
        <li>Shell</li>
      </layers>
      <commonality>0</commonality>
      <defaultOutfitTags>
        <li>Soldier</li>
      </defaultOutfitTags>
    </apparel>
    <equippedStatOffsets>
      <MoveSpeed>3</MoveSpeed>
      <ShootingAccuracy>0.4</ShootingAccuracy>
      <AimingDelayFactor>-0.2</AimingDelayFactor>
      <MeleeHitChance>0.75</MeleeHitChance>
      <Flammability>-1</Flammability>
      <PsychicSensitivity>-1.8</PsychicSensitivity>
    </equippedStatOffsets>
    <costList>
      <Vanya_Wolframium>20</Vanya_Wolframium>
      <Vanya_Cobalt>5</Vanya_Cobalt>
      <Vanya_InstabEnergon>5</Vanya_InstabEnergon>
      <Vanya_tombarthite>3</Vanya_tombarthite>
    </costList>
  </ThingDef>
</ThingDefs>