190 lines
7.7 KiB
XML
190 lines
7.7 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
||
<Defs>
|
||
|
||
<HediffDef Name="ARA_AddedMutationBase" ParentName="AddedBodyPartBase" Abstract="True">
|
||
<organicAddedBodypart>true</organicAddedBodypart>
|
||
</HediffDef>
|
||
|
||
<HediffDef ParentName="AddedMutationBase">
|
||
<defName>ArachnaeFighter_Swarm_Claws_Part</defName>
|
||
<label>战士种虫镰</label>
|
||
<labelNoun>战士种虫镰</labelNoun>
|
||
<description>一个属于虫虫而不是人类的身体部件.</description>
|
||
<defaultLabelColor>(0.6, 0.4, 0.8)</defaultLabelColor>
|
||
<defaultInstallPart>Shoulder</defaultInstallPart>
|
||
<stages>
|
||
<li>
|
||
<statOffsets>
|
||
<PawnBeauty>-1</PawnBeauty>
|
||
</statOffsets>
|
||
</li>
|
||
</stages>
|
||
<renderNodeProperties>
|
||
<li>
|
||
<debugLabel>ARA_Swarm_claws</debugLabel>
|
||
<workerClass>PawnRenderNodeWorker_AttachmentBody</workerClass>
|
||
<texPaths>
|
||
<li>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_Fighter_Claw</li>
|
||
</texPaths>
|
||
<baseLayer>60</baseLayer>
|
||
<texSeed>1</texSeed>
|
||
</li>
|
||
</renderNodeProperties>
|
||
<addedPartProps>
|
||
<solid>true</solid>
|
||
<partEfficiency>1.20</partEfficiency>
|
||
</addedPartProps>
|
||
<comps>
|
||
<li Class="HediffCompProperties_VerbGiver">
|
||
<tools>
|
||
<li>
|
||
<label>巨镰</label>
|
||
<capacities>
|
||
<li>Cut</li>
|
||
</capacities>
|
||
<power>20</power>
|
||
<cooldownTime>2.5</cooldownTime>
|
||
<chanceFactor>0.5</chanceFactor>
|
||
</li>
|
||
</tools>
|
||
</li>
|
||
</comps>
|
||
</HediffDef>
|
||
|
||
<HediffDef ParentName="AddedMutationBase">
|
||
<defName>ArachnaeNode_Race_Myrmecocystus_Tail_Part</defName>
|
||
<label>蜜罐种虫尾</label>
|
||
<labelNoun>蜜罐种虫尾</labelNoun>
|
||
<description>一个属于虫虫而不是人类的身体部件.</description>
|
||
<descriptionHyperlinks>
|
||
<ThingDef>ARA_InsectJelly</ThingDef>
|
||
</descriptionHyperlinks>
|
||
<defaultLabelColor>(0.6, 0.4, 0.8)</defaultLabelColor>
|
||
<defaultInstallPart>Stomach</defaultInstallPart>
|
||
<stages>
|
||
<li>
|
||
<statOffsets>
|
||
<PawnBeauty>-1</PawnBeauty>
|
||
</statOffsets>
|
||
</li>
|
||
</stages>
|
||
<renderNodeProperties>
|
||
<li>
|
||
<debugLabel>ARA_Swarm_Myrmecocystus_Tail</debugLabel>
|
||
<workerClass>PawnRenderNodeWorker_AttachmentBody</workerClass>
|
||
<texPaths>
|
||
<li>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Myrmecocystus_Addons_Stomach</li>
|
||
</texPaths>
|
||
<baseLayer>60</baseLayer>
|
||
<texSeed>1</texSeed>
|
||
<drawData>
|
||
<dataNorth>
|
||
<layer>70</layer>
|
||
</dataNorth>
|
||
<dataSouth>
|
||
<layer>0</layer>
|
||
</dataSouth>
|
||
<dataEast>
|
||
<layer>50</layer>
|
||
</dataEast>
|
||
<dataWest>
|
||
<layer>50</layer>
|
||
</dataWest>
|
||
</drawData>
|
||
</li>
|
||
</renderNodeProperties>
|
||
<addedPartProps>
|
||
<solid>true</solid>
|
||
<partEfficiency>1.20</partEfficiency>
|
||
</addedPartProps>
|
||
<comps>
|
||
<li Class="ArachnaeSwarm.MoharHediffs.HediffCompProperties_Spawner">
|
||
<!--
|
||
==================================================
|
||
基础设置 (Basic Settings)
|
||
==================================================
|
||
-->
|
||
<!-- [DEBUG] 如果为true,则为此组件启用详细的调试日志记录。 -->
|
||
<debug>true</debug>
|
||
<!-- 要生成的物品的ThingDef。 -->
|
||
<thingToSpawn>ARA_InsectJelly</thingToSpawn>
|
||
<!-- 每次生成的基础物品数量。 -->
|
||
<spawnCount>5</spawnCount>
|
||
<!--
|
||
==================================================
|
||
生成周期 (Spawning Interval)
|
||
==================================================
|
||
-->
|
||
<!-- 下一次生成事件发生前的最少天数。 -->
|
||
<minDaysB4Next>1</minDaysB4Next>
|
||
<!-- 下一次生成事件发生前的最大天数。 -->
|
||
<maxDaysB4Next>1</maxDaysB4Next>
|
||
<randomGrace>0</randomGrace>
|
||
<!--
|
||
==================================================
|
||
与年龄相关的调整 (Age-Related Adjustments)
|
||
==================================================
|
||
-->
|
||
<!-- 如果为true,生成数量将根据宿主的年龄进行调整。 -->
|
||
<ageWeightedQuantity>false</ageWeightedQuantity>
|
||
<!-- 如果为true且ageWeightedQuantity为true,则随着宿主年龄增长,生成数量变多。 -->
|
||
<olderBiggerQuantity>true</olderBiggerQuantity>
|
||
<!-- 如果为true且ageWeightedQuantity为true,则随年龄增长的数量缩放将是指数性的而非线性的。 -->
|
||
<exponentialQuantity>true</exponentialQuantity>
|
||
<!-- 指数级数量缩放的最大乘数,以防止出现荒谬的数字。 -->
|
||
<exponentialRatioLimit>20</exponentialRatioLimit>
|
||
<!--
|
||
==================================================
|
||
生成条件 (Spawning Conditions)
|
||
==================================================
|
||
-->
|
||
<!-- 如果为true,当宿主Pawn饥饿时,生成将暂停。 -->
|
||
<hungerRelative>true</hungerRelative>
|
||
<!-- 如果为true,当宿主Pawn受伤时,生成将暂停。 -->
|
||
<healthRelative>false</healthRelative>
|
||
</li>
|
||
</comps>
|
||
</HediffDef>
|
||
|
||
<HediffDef ParentName="AddedMutationBase">
|
||
<defName>ArachnaeNode_Race_Skyraider_Wings_Part</defName>
|
||
<label>空天种翼翅</label>
|
||
<labelNoun>空天种翼翅</labelNoun>
|
||
<description>一个属于虫虫而不是人类的身体部件.</description>
|
||
<defaultLabelColor>(0.6, 0.4, 0.8)</defaultLabelColor>
|
||
<defaultInstallPart>Spine</defaultInstallPart>
|
||
<stages>
|
||
<li>
|
||
<statOffsets>
|
||
<PawnBeauty>-1</PawnBeauty>
|
||
</statOffsets>
|
||
</li>
|
||
</stages>
|
||
<renderNodeProperties>
|
||
<li>
|
||
<debugLabel>ARA_Swarm_Wings</debugLabel>
|
||
<workerClass>PawnRenderNodeWorker_AttachmentBody</workerClass>
|
||
<texPath>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_Skyraider_Wing</texPath>
|
||
<baseLayer>60</baseLayer>
|
||
<texSeed>1</texSeed>
|
||
<drawData>
|
||
<dataSouth>
|
||
<layer>-10</layer>
|
||
</dataSouth>
|
||
</drawData>
|
||
</li>
|
||
</renderNodeProperties>
|
||
<addedPartProps>
|
||
<solid>true</solid>
|
||
<partEfficiency>1.20</partEfficiency>
|
||
</addedPartProps>
|
||
<comps>
|
||
<li Class="HediffCompProperties_GiveAbility">
|
||
<abilityDefs>
|
||
<li>ARA_Skyraider_jump</li>
|
||
</abilityDefs>
|
||
</li>
|
||
</comps>
|
||
</HediffDef>
|
||
|
||
</Defs> |