Files
WulaFallenEmpireRW/1.6/Defs/HediffDefs/Hediffs_WULA.xml
Tourswen fcc69aca33 2025-8-9
2025-08-09 19:54:43 +08:00

140 lines
5.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<HediffDef>
<defName>Wula_Synth</defName>
<label>合成人</label>
<description>乌拉帝国制式合成人,拥有一部分机械体的特性——她们无法被点燃、不会中毒、免疫大量疾病、不会抱怨温度,但是无法自我修复,并且需要获取能量以维持机体运转。</description>
<hediffClass>HediffWithComps</hediffClass>
<everCurableByItem>false</everCurableByItem>
<duplicationAllowed>false</duplicationAllowed>
<keepOnBodyPartRestoration>True</keepOnBodyPartRestoration>
<isBad>false</isBad>
<stages>
<li>
<!-- 流血速度 -->
<totalBleedFactor>0</totalBleedFactor>
<!-- 不会食物中毒 -->
<foodPoisoningChanceFactor>0</foodPoisoningChanceFactor>
<!-- 自然自愈系数0 -->
<naturalHealingFactor>0</naturalHealingFactor>
<!-- 不会感到痛苦 -->
<painFactor>0</painFactor>
<!-- 抗毒抗火抗寒热 -->
<statOffsets>
<ComfyTemperatureMin>-100</ComfyTemperatureMin>
<ComfyTemperatureMax>120</ComfyTemperatureMax>
<ToxicResistance>1</ToxicResistance>
<ToxicEnvironmentResistance MayRequire="Ludeon.RimWorld.Biotech">1</ToxicEnvironmentResistance>
</statOffsets>
<statFactors>
<!-- 易燃性,作为半机械生物很难起火 -->
<Flammability>0</Flammability>
</statFactors>
<!-- 免疫非纳米机械疾病 -->
<makeImmuneTo>
<li>Flu</li>
<li>Malaria</li>
<li>SleepingSickness</li>
<li>Plague</li>
<li>WoundInfection</li>
<li>LungRot</li>
<li>GutWorms</li>
<li>MuscleParasites</li>
<li>OrganDecay</li>
</makeImmuneTo>
<enablesNeeds>
<li>WULA_Energy</li>
</enablesNeeds>
<disablesNeeds>
<li>Food</li>
<li>Rest</li>
</disablesNeeds>
</li>
</stages>
</HediffDef>
<HediffDef>
<defName>WULA_ChargingHediff</defName>
<label>能量充盈</label>
<description>乌拉正在从能量核心中持续吸收能量。</description>
<hediffClass>HediffWithComps</hediffClass>
<defaultLabelColor>(0.5, 0.5, 0.9)</defaultLabelColor>
<isBad>false</isBad>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_WulaCharging">
<!-- 充能效果的总持续时间(以 tick 为单位60 ticks = 1 秒) -->
<durationTicks>600</durationTicks>
<!-- 备用能量恢复值:如果能量核心没有定义具体的能量值,则每 tick 恢复这么多能量 -->
<energyPerTick>0.02</energyPerTick>
</li>
</comps>
<stages>
<li>
<label>充能中</label>
<minSeverity>0</minSeverity>
</li>
</stages>
</HediffDef>
<HediffDef ParentName="ImplantHediffBase">
<defName>WULA_Heavy_Infantry_PowerArmor_PowerFist</defName>
<label>动力拳</label>
<labelNoun>动力拳</labelNoun>
<description>一个由外骨骼和加压线圈组成的拳套,内置于乌拉帝国重装装甲的夹层中,可以击碎任何胆敢靠近的敌军的头颅。这套武备是由神经系统直接驱动的——无论盔甲穿戴者是否还拥有生物学意义上的“手”。</description>
<comps>
<li Class="HediffCompProperties_VerbGiver">
<tools>
<li>
<label>动力拳</label>
<capacities>
<li>Poke</li>
</capacities>
<power>25</power>
<cooldownTime>2.2</cooldownTime>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>12</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<!-- <soundMeleeHit>Pawn_Melee_PowerClaw_Hit</soundMeleeHit>
<soundMeleeMiss>Pawn_Melee_PowerClaw_Miss</soundMeleeMiss> -->
</li>
</tools>
</li>
<li Class="HediffCompProperties_RemoveIfApparelDropped" />
</comps>
</HediffDef>
<HediffDef>
<defName>WULA_Shutdown</defName>
<label>停机</label>
<description>机械乌拉的机体能量已完全耗尽,所有非核心功能已下线,需要立刻补充能量。\n\n如果需要重启机械乌拉你需要建造一个抢修点或者合成人修复站可以从事医生职位的殖民者将会把失能的机械乌拉带到修复站并使用乌拉帝国能源核心重启机械乌拉。</description>
<hediffClass>HediffWithComps</hediffClass>
<isBad>true</isBad>
<stages>
<li>
<label>停机</label>
<minSeverity>0</minSeverity>
<capMods>
<li>
<capacity>Consciousness</capacity>
<setMax>0.1</setMax>
</li>
<li>
<capacity>Moving</capacity>
<setMax>0.1</setMax>
</li>
<li>
<capacity>Manipulation</capacity>
<setMax>0.1</setMax>
</li>
</capMods>
</li>
</stages>
</HediffDef>
</Defs>