边缘世界 RimWorld

边缘世界 RimWorld

Gulden Biome
此主题已被锁定
Raizan 2024 年 7 月 4 日 上午 1:00
Fix for the gulden rat.
<ThingDef Abstract="True" ParentName="AnimalThingBase" Name="GuldenRatThingBase">
<statBases>
<MoveSpeed>4.0</MoveSpeed>
<MarketValue>35</MarketValue>
<ComfyTemperatureMin>-30</ComfyTemperatureMin>
<ToxicEnvironmentResistance MayRequire="Ludeon.RimWorld.Biotech">0.9</ToxicEnvironmentResistance>
</statBases>
<tools>
<li>
<label>left claw</label>
<labelNoLocation>claw</labelNoLocation>
<capacities>
<li>Scratch</li>
</capacities>
<power>3.6</power>
<cooldownTime>1.5</cooldownTime>
<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
</li>
<li>
<label>right claw</label>
<labelNoLocation>claw</labelNoLocation>
<capacities>
<li>Scratch</li>
</capacities>
<power>3.6</power>
<cooldownTime>1.5</cooldownTime>
<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
</li>
<li>
<capacities>
<li>Bite</li>
</capacities>
<power>6</power>
<cooldownTime>2</cooldownTime>
<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
<chanceFactor>0.7</chanceFactor>
</li>
<li>
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>2</power>
<cooldownTime>2</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
<chanceFactor>0.2</chanceFactor>
</li>
</tools>
<race>
<body>QuadrupedAnimalWithPaws</body>
<baseBodySize>0.2</baseBodySize>
<baseHungerRate>0.1</baseHungerRate>
<baseHealthScale>0.29</baseHealthScale>
<foodType>OmnivoreRoughAnimal</foodType>
<leatherDef>Leather_Light</leatherDef>
<wildness>0.50</wildness>
<trainability>None</trainability>
<petness>0.15</petness>
<mateMtbHours>8</mateMtbHours>
<gestationPeriodDays>5.661</gestationPeriodDays>
<soundEating>Rodent_Eat</soundEating>
<litterSizeCurve>
<points>
<li>(0.5, 0)</li>
<li>(1, 1)</li>
<li>(2.2, 1)</li>
<li>(2.8, 0)</li>
</points>
</litterSizeCurve>
<lifeExpectancy>8</lifeExpectancy>
<lifeStageAges>
<li>
<def>AnimalBaby</def>
<minAge>0</minAge>
</li>
<li>
<def>AnimalJuvenile</def>
<minAge>0.1</minAge>
</li>
<li>
<def>AnimalAdult</def>
<minAge>0.2222</minAge>
<soundWounded>Pawn_Boomrat_Wounded</soundWounded>
<soundDeath>Pawn_Boomrat_Death</soundDeath>
<soundCall>Pawn_Boomrat_Call</soundCall>
<soundAngry>Pawn_Boomrat_Angry</soundAngry>
</li>
</lifeStageAges>
<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
<headPosPerRotation>
<li>(0.0, 0, 0.2)</li>
<li>(0.33, 0, 0.03)</li>
<li>(0.0, 0, -0.28)</li>
<li>(-0.33, 0, 0.03)</li>
</headPosPerRotation>
</race>
<tradeTags>
<li>AnimalCommon</li>
</tradeTags>
</ThingDef>

<PawnKindDef Abstract="True" ParentName="AnimalKindBase" Name="GuldenRatKindBase">
<combatPower>30</combatPower>
<ecoSystemWeight>0.20</ecoSystemWeight>
</PawnKindDef>


<!-- =============================================================== -->

<ThingDef ParentName="GuldenRatThingBase" Name="GuldenRatThing">
<defName>Gulden_Rat</defName>
<label>gulden rat</label>
<description>A lustrous rodent that traverses through the forest undergrowth, blending in with the fallen golden leaves to avoid predators. Members of high society often seek them out as pets and status symbols due to their glistening fur and elusive nature. Originally created as part of a cosmetic bioengineering project, gulden rats managed to spread across the galaxy via a cycle of being purchased, reproducing, and sold through trade ships. Despite their skittishness, they typically have a gentle temperament, making them ideal companions.</description>
</ThingDef>

<PawnKindDef ParentName="GuldenRatKindBase" Name="GuldenRatKind">
<defName>Gulden_Rat</defName>
<label>gulden rat</label>
<race>Gulden_Rat</race>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Animal/GuldenRat/GuldenRat</texPath>
<drawSize>1.0</drawSize>
</bodyGraphicData>
<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Rat/Dessicated_Rat</texPath>
<drawSize>1.0</drawSize>
</dessicatedBodyGraphicData>
</li>
<li>
<bodyGraphicData>
<texPath>Animal/GuldenRat/GuldenRat</texPath>
<drawSize>1.1</drawSize>
</bodyGraphicData>
<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Rat/Dessicated_Rat</texPath>
<drawSize>1.1</drawSize>
</dessicatedBodyGraphicData>
</li>
<li>
<bodyGraphicData>
<texPath>Animal/GuldenRat/GuldenRat</texPath>
<drawSize>1.25</drawSize>
</bodyGraphicData>

<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Rat/Dessicated_Rat</texPath>
<drawSize>1.25</drawSize>
</dessicatedBodyGraphicData>
</li>
</lifeStages>
</PawnKindDef>

</Defs>
< >
正在显示第 1 - 3 条,共 3 条留言
Sovereign  [开发者] 2024 年 7 月 5 日 上午 10:49 
what exactly is fixed here that seems to be an issue?
Raizan 2024 年 7 月 8 日 下午 6:13 
Your golden rat is replacing the vanilla rat according to all your base. So in first instance I tried to make the gulden rat a proper animal without modifying vanilla assets. There is also a bit more mimicking the rest of your animals to avoid other errors.
Sovereign  [开发者] 2024 年 7 月 9 日 上午 3:53 
引用自 Raizan
Your golden rat is replacing the vanilla rat according to all your base. So in first instance I tried to make the gulden rat a proper animal without modifying vanilla assets. There is also a bit more mimicking the rest of your animals to avoid other errors.
So i forgot to remove the =Name
thanks man
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50