Files
WulaFallenEmpireRW/1.6/1.6/Defs/HediffDefs/Hediffs_BodyParts_WULA.xml
2025-11-26 17:12:31 +08:00

154 lines
6.0 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!-- 关机 -->
<RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
<defName>WULA_Shutdown_Synth</defName>
<label>紧急关机</label>
<description>将这只机械乌拉的所有系统关闭,以规避一段时间内的潜在风险。需要一位殖民者协助关机工作,同时若想开机也需要一位殖民者协助。</description>
<jobString>正在紧急关机。</jobString>
<workAmount>100</workAmount>
<workerClass>Recipe_AddHediff</workerClass>
<hideBodyPartNames>true</hideBodyPartNames>
<targetsBodyPart>false</targetsBodyPart>
<isViolation>true</isViolation>
<researchPrerequisites>
<li>WULA_Shutdown_Technology</li>
</researchPrerequisites>
<uiIconPath>Wula/UI/Commands/WULA_Shutdown_Synth</uiIconPath>
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<anesthetize>false</anesthetize>
<skillRequirements Inherit="False">
<Medicine>0</Medicine>
</skillRequirements>
<recipeUsers Inherit="False">
<li>WulaSpecies</li> <!-- 只能在乌拉族上执行 -->
</recipeUsers>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<ingredients Inherit="False"/>
<addsHediff>WULA_Shutdown_Synth_Hediff</addsHediff>
</RecipeDef>
<RecipeDef ParentName="FertilitySurgery">
<defName>WULA_Synth_Power_On</defName>
<label>开机</label>
<description>重启该合成人,恢复其系统机能运行。</description>
<workerClass>Recipe_RemoveHediff</workerClass>
<jobString>正在重启合成人。</jobString>
<successfullyRemovedHediffMessage>{0} 成功重启了 {1}。</successfullyRemovedHediffMessage>
<uiIconPath>Wula/UI/Commands/WULA_Synth_Power_On</uiIconPath>
<removesHediff>WULA_Shutdown_Synth_Hediff</removesHediff>
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<anesthetize>false</anesthetize>
<addsHediffOnFailure Inherit="False" />
<ingredients Inherit="False" />
<researchPrerequisites Inherit="False">
<li>WULA_Shutdown_Technology</li>
</researchPrerequisites>
<recipeUsers Inherit="False">
<li>WulaSpecies</li> <!-- 只能在乌拉族上执行 -->
</recipeUsers>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
</RecipeDef>
<HediffDef ParentName="ImplantHediffBase">
<defName>WULA_Shutdown_Synth_Hediff</defName>
<hediffClass>HediffWithComps</hediffClass>
<label>关机</label>
<description>这只机械乌拉的所有系统都已经关闭了。</description>
<descriptionShort>这只机械乌拉的所有系统都已经关闭了——如果需要唤醒,则需要另一位殖民者的协助。</descriptionShort>
<!-- <initialSeverity>0.5</initialSeverity> -->
<minSeverity>0.01</minSeverity>
<maxSeverity>1</maxSeverity>
<alwaysShowSeverity>true</alwaysShowSeverity>
<isBad>true</isBad>
<duplicationAllowed>true</duplicationAllowed>
<keepOnBodyPartRestoration>true</keepOnBodyPartRestoration> <!-- true -->
<!-- <defaultInstallPart>Brain</defaultInstallPart> -->
<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>
<!-- 特殊-传送器 -->
<HediffDef ParentName="ImplantHediffBase">
<defName>WULA_AutoJumpdrive</defName>
<label>微型传送装置</label>
<description>安装在乌拉帝国合成人军团体内的微型跃迁引擎,会在合成人到达指定作战时间或死亡时将其回收</description>
<spawnThingOnRemoved>WULA_AutoJumpdrive</spawnThingOnRemoved>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_DisappearWithEffect">
<disappearsAfterTicks>15000</disappearsAfterTicks>
<showRemainingTime>true</showRemainingTime>
<fleckDef>PsycastAreaEffect</fleckDef>
<fleckScale>2.5</fleckScale>
<dropEquipment>false</dropEquipment>
<destroyCorpse>true</destroyCorpse>
<playSound>true</playSound>
<messageOnDisappear>{0} 通过传送离开了殖民地</messageOnDisappear>
</li>
</comps>
</HediffDef>
<ThingDef ParentName="BodyPartBase">
<defName>WULA_AutoJumpdrive</defName>
<label>death acidifier</label>
<description>A chest implant for preventing enemy use of captured equipment. Upon the user's death, it releases powerful chemicals that dissolve gear in contact with the user's body. It doesn't damage others.</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Things/Item/Health/HealthItem</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>0.80</drawSize>
<color>(189,169,118)</color>
</graphicData>
<statBases>
<MarketValue>400</MarketValue>
</statBases>
<thingCategories>
<li>BodyPartsBionic</li>
</thingCategories>
</ThingDef>
<RecipeDef ParentName="SurgeryInstallImplantBase">
<defName>Install_WULA_AutoJumpdrive</defName>
<label>install death acidifier</label>
<description>Install a death acidifier.</description>
<jobString>Installing death acidifier.</jobString>
<ingredients>
<li>
<filter>
<thingDefs>
<li>WULA_AutoJumpdrive</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>WULA_AutoJumpdrive</li>
</thingDefs>
</fixedIngredientFilter>
<appliedOnFixedBodyParts>
<li>Torso</li>
</appliedOnFixedBodyParts>
<addsHediff>WULA_AutoJumpdrive</addsHediff>
</RecipeDef>
</Defs>