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

	<AlienRace.ThingDef_AlienRace ParentName="StudentThingBase">
		<defName>BANW_KivotosStudent</defName>
		<label>阿拜多斯学生</label>
		<description>[PlaceHolder]</description>
		<alienRace>
			<graphicPaths>
				<body>
					<path>Pawns/General/Invisible/Inv</path>
					<extendedGraphics>
						<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Body/Hikali_Body</Backstory>
					</extendedGraphics>
				</body>
				<head>Pawns/General/Invisible_Head/</head>
				<skinColor>(0,0,0,1)</skinColor>
			</graphicPaths>
			<generalSettings>
				<alienPartGenerator>
					<customDrawSize>(1, 1)</customDrawSize>					<!-- 小人整体大小 -->
					<bodyAddons>
						<!-- 光环 -->
						<li>
							<name>KivotosStudent_halo</name>
							<path>Pawns/General/Invisible/Inv</path>
							<conditions>
								<RotStage>Fresh,Rotting,Dessicated</RotStage>
								<BodyPart>
									<bodyPart>Halo</bodyPart>
									<bodyPartLabel>光环</bodyPartLabel>
									<drawWithoutPart>true</drawWithoutPart>
								</BodyPart>
								<Posture>
									<drawnStanding>true</drawnStanding>
									<drawnLaying>true</drawnLaying>
									<drawnInBed>false</drawnInBed>									<!-- 睡觉不显示光环 -->
								</Posture>
							</conditions>
							<scaleWithPawnDrawsize>true</scaleWithPawnDrawsize>
							<offsets>
								<north>
									<layerOffset>0.3</layerOffset>
									<offset>(0,0.6)</offset>
								</north>
								<south>
									<layerOffset>-0.29</layerOffset>
									<offset>(0,0.6)</offset>
								</south>
								<east>
									<layerOffset>-0.29</layerOffset>
									<offset>(0,0.6)</offset>
								</east>
							</offsets>
							<extendedGraphics>
								<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Halo/Hikali_Halo</Backstory>
							</extendedGraphics>
						</li>
						<!-- 头 -->
						<li>
							<name>KivotosStudent_head</name>
							<path>Pawns/General/Invisible/Inv</path>
							<inFrontOfBody>true</inFrontOfBody>
							<conditions>
								<BodyPart>
									<bodyPart>Head</bodyPart>
								</BodyPart>
								<RotStage>Fresh,Rotting,Dessicated</RotStage>
							</conditions>
							<alignWithHead>true</alignWithHead>
							<scaleWithPawnDrawsize>true</scaleWithPawnDrawsize>
							<offsets>
								<north>
									<layerOffset>-0.281</layerOffset>
									<offset>(0,-0.31)</offset>
								</north>
								<south>
									<layerOffset>-0.281</layerOffset>
									<offset>(0,-0.31)</offset>
								</south>
								<east>
									<layerOffset>-0.281</layerOffset>
									<offset>(0.1,-0.31)</offset>
								</east>
							</offsets>
							<extendedGraphics>
								<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Head/Hikali_Head</Backstory>
							</extendedGraphics>
						</li>
						<!-- 头发前 -->
						<li>
							<name>KivotosStudent_hairfront</name>
							<path>Pawns/General/Invisible/Inv</path>
							<inFrontOfBody>true</inFrontOfBody>
							<conditions>
								<BodyPart>
									<bodyPart>Head</bodyPart>
								</BodyPart>
								<RotStage>Fresh,Rotting,Dessicated</RotStage>
							</conditions>
							<alignWithHead>true</alignWithHead>
							<scaleWithPawnDrawsize>true</scaleWithPawnDrawsize>
							<offsets>
								<north>
									<layerOffset>-0.28</layerOffset>
									<offset>(0,-0.31)</offset>
								</north>
								<south>
									<layerOffset>-0.28</layerOffset>
									<offset>(0,-0.31)</offset>
								</south>
								<east>
									<layerOffset>-0.28</layerOffset>
									<offset>(0.1,-0.31)</offset>
								</east>
							</offsets>
							<extendedGraphics>
								<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Hair/Hikali_FrontHair</Backstory>
							</extendedGraphics>
						</li>
						<!-- 头发后 -->
						<li>
							<name>KivotosStudent_hairback</name>
							<path>Pawns/General/Invisible/Inv</path>
							<conditions>
								<BodyPart>
									<bodyPart>Head</bodyPart>
								</BodyPart>
								<RotStage>Fresh,Rotting,Dessicated</RotStage>
							</conditions>
							<alignWithHead>true</alignWithHead>
							<scaleWithPawnDrawsize>true</scaleWithPawnDrawsize>
							<offsets>
								<north>
									<layerOffset>-0.28</layerOffset>
									<offset>(0,-0.31)</offset>
								</north>
								<south>
									<layerOffset>-0.28</layerOffset>
									<offset>(0,-0.31)</offset>
								</south>
								<east>
									<layerOffset>-0.28</layerOffset>
									<offset>(0.1,-0.31)</offset>
								</east>
							</offsets>
							<extendedGraphics>
								<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Hair/Hikali_BackHair</Backstory>
							</extendedGraphics>
						</li>
					</bodyAddons>
				</alienPartGenerator>
			</generalSettings>
		</alienRace>
	</AlienRace.ThingDef_AlienRace>

		<AlienRace.ThingDef_AlienRace ParentName="BasePawn" Name="StudentThingBase" Abstract="True">
		<alienRace>
			<generalSettings>
				<maleGenderProbability>0.0</maleGenderProbability>
				<immuneToAge>false</immuneToAge>
				<canLayDown>true</canLayDown>
				<immuneToXenophobia>true</immuneToXenophobia>
				<notXenophobistTowards>
				</notXenophobistTowards>
				<humanRecipeImport>true</humanRecipeImport>
				<alienPartGenerator>
					<bodyTypes>
						<li>Thin</li>
					</bodyTypes>

					<headTypes Inherit="False">
						<li>Female_AverageNormal</li>
					</headTypes>
					<colorChannels>
						<li>
							<name>skin</name>
							<first Class="ColorGenerator_Options" Inherit="false">
								<options>
									<li>
										<weight>10</weight>
										<only>RGBA(1,1,1,1)</only>
									</li>
								</options>
							</first>
						</li>
					</colorChannels>
				</alienPartGenerator>
				<maxDamageForSocialfight>6</maxDamageForSocialfight>
				<reproduction>
					<femaleFertilityAgeFactor>
						<points>
						  <li>(0.01, 0)</li>
						  <li>(80,0)</li>
						</points>
					  </femaleFertilityAgeFactor>
				</reproduction>
			</generalSettings>

			<styleSettings>
				<li>
					<key>HairDef</key>
					<value>
						<hasStyle>false</hasStyle>
					</value>
				</li>
				<li>
					<key>TattooDef</key>
					<value>
						<hasStyle>false</hasStyle>
					</value>
				</li>
				<li>
					<key>BeardDef</key>
					<value>
						<hasStyle>false</hasStyle>
					</value>
				</li>
			</styleSettings>
			<raceRestriction>
			</raceRestriction>


		</alienRace>

		<tools>
			<li>
				<label>左手</label>
				<capacities>
					<li>Blunt</li>
				</capacities>
				<power>9</power>
				<cooldownTime>2</cooldownTime>
				<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
				<surpriseAttack>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>14</amount>
						</li>
					</extraMeleeDamages>
				</surpriseAttack>
			</li>
			<li>
				<label>右手</label>
				<capacities>
					<li>Blunt</li>
				</capacities>
				<power>9</power>
				<cooldownTime>2</cooldownTime>
				<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
				<surpriseAttack>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>14</amount>
						</li>
					</extraMeleeDamages>
				</surpriseAttack>
			</li>
		</tools>



		<race>
			<renderTree>Humanlike</renderTree>
			<thinkTreeMain>Humanlike</thinkTreeMain>
			<thinkTreeConstant>HumanlikeConstant</thinkTreeConstant>
			<intelligence>Humanlike</intelligence>
			<body Inherit="false">BANW_kivotos</body>
			<useMeatFrom>Human</useMeatFrom>
			<baseBodySize>1</baseBodySize>
			<baseHealthScale>2.5</baseHealthScale>
			<foodType>OmnivoreHuman</foodType>
			<lifeExpectancy>80</lifeExpectancy>
			<leatherDef>Leather_Human</leatherDef>
			<hasGenders>true</hasGenders>
			<gestationPeriodDays>18</gestationPeriodDays>
			<soundMeleeHitPawn>Pawn_Melee_Punch_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_Punch_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_Punch_Miss</soundMeleeMiss>
			<soundMeleeDodge>Pawn_MeleeDodge</soundMeleeDodge>
			
			<bloodDef>Filth_Blood</bloodDef>
			<bloodSmearDef>Filth_BloodSmear</bloodSmearDef>
			<canBecomeShambler>true</canBecomeShambler>
			<knowledgeCategory MayRequire="Ludeon.RimWorld.Anomaly">Basic</knowledgeCategory>
			<anomalyKnowledge>1</anomalyKnowledge>
			<makesFootprints>true</makesFootprints>

			<litterSizeCurve>
				<points>
					<li>(0.5, 0)</li>
					<li>(1, 0.30)</li>
					<li>(2, 0.40)</li>
					<li>(3, 0.10)</li>
					<li>(4, 0.20)</li>
					<li>(5, 0)</li>
				</points>
			</litterSizeCurve>
			<lifeStageAges>
				<li>
					<def>HumanlikeBaby</def>
					<minAge>0</minAge>
				</li>
				<li>
					<def>HumanlikeChild</def>
					<minAge>3</minAge>
				</li>
				<li MayRequire="Ludeon.RimWorld.Biotech">
					<def>HumanlikePreTeenager</def>
					<minAge>9</minAge>
				</li>
				<li>
					<def>HumanlikeTeenager</def>
					<minAge>13</minAge>
				</li>
				<li>
					<def>HumanlikeAdult</def>
					<minAge>18</minAge>
				</li>
			</lifeStageAges>


			<specialShadowData>
				<volume>(0.3, 0.8, 0.4)</volume>
				<offset>(0,0,-0.3)</offset>
			</specialShadowData>
			<ageGenerationCurve Inherit="false">
				<points>
					<li>(10,0)</li>
					<li>(16,100)</li>
					<li>(40,100)</li>
					<li>(50,30)</li>
					<li>(60,18)</li>
					<li>(65,10)</li>
					<li>(70,3)</li>
					<li>(80,0)</li>
				</points>
			</ageGenerationCurve>
		</race>

		<!--数据需要调整-->
		<statBases>
			<RoyalFavorValue>3</RoyalFavorValue>
			<MarketValue>2000</MarketValue>
			<Mass>50</Mass>
			<MoveSpeed>4.50</MoveSpeed>
			<Flammability>0.6</Flammability>
			<ComfyTemperatureMax>50</ComfyTemperatureMax>
			<ComfyTemperatureMin>-30</ComfyTemperatureMin>
			<ImmunityGainSpeed>1.30</ImmunityGainSpeed>
			<CarryingCapacity>60</CarryingCapacity>
			<PainShockThreshold>0.55</PainShockThreshold>
			<ToxicResistance>1.0</ToxicResistance>
			<MeatAmount>150</MeatAmount>
			<LeatherAmount>45</LeatherAmount>
			<AimingDelayFactor>0.9</AimingDelayFactor>
			<PlantWorkSpeed>1.1</PlantWorkSpeed>
			<ConstructionSpeed>1.15</ConstructionSpeed>
			<ResearchSpeed>1.0</ResearchSpeed>
		</statBases>

		<recipes>
			<li>ExciseCarcinoma</li>
			<li>AdministerMechSerumHealer</li>
			<li>RemoveBodyPart</li>
			<li>Euthanize</li>
			<li>Anesthetize</li>
		</recipes>

	</AlienRace.ThingDef_AlienRace>

</Defs>