This commit is contained in:
2025-10-14 17:54:35 +08:00
parent c46cef4acc
commit e6ee6c4f8e
6 changed files with 107 additions and 7 deletions

Binary file not shown.

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<AnimationDef>
<defName>ARA_ShamblerSway</defName>
<durationTicks>1080</durationTicks>
<startOnRandomTick>true</startOnRandomTick>
<keyframeParts>
<li>
<key>Root</key>
<value>
<workerType>AnimationWorker_Keyframes</workerType>
<keyframes>
<li>
<tick>0</tick>
<angle>-3</angle>
</li>
<li>
<tick>240</tick>
<angle>3</angle>
</li>
<li>
<tick>540</tick>
<angle>3</angle>
</li>
<li>
<tick>780</tick>
<angle>-3</angle>
</li>
<li>
<tick>1080</tick>
<angle>-3</angle>
</li>
</keyframes>
<pivot>(0.5, 0)</pivot>
</value>
</li>
</keyframeParts>
</AnimationDef>
</Defs>

View File

@@ -1,7 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<MutantDef ParentName="BaseMutantEntity">
<MutantDef Abstract="True" Name="ARA_BaseMutantEntity">
<consideredSubhuman>true</consideredSubhuman>
<canCarryPawns>false</canCarryPawns>
<canTend>false</canTend>
<preventsMentalBreaks>true</preventsMentalBreaks>
<disablesIdeo>true</disablesIdeo>
<disableOwnership>true</disableOwnership>
<disablePolicies>true</disablePolicies>
<disableTitles>true</disableTitles>
<disableNeeds>true</disableNeeds>
<disableEatingAtTable>true</disableEatingAtTable>
<incapableOfSocialInteractions>true</incapableOfSocialInteractions>
<canBeCapturedToHoldingPlatform>true</canBeCapturedToHoldingPlatform>
<producesBioferrite>true</producesBioferrite>
<overrideLabel>true</overrideLabel>
<overrideInspectString>true</overrideInspectString>
<canBleed>false</canBleed>
<terminatePregnancy>true</terminatePregnancy>
<isImmuneToInfections>true</isImmuneToInfections>
<removeChronicIllnesses>true</removeChronicIllnesses>
<removeAddictions>true</removeAddictions>
<disableAging>true</disableAging>
<clearsEgo>true</clearsEgo>
<partsCleanAndDroppable>false</partsCleanAndDroppable>
<breathesAir>false</breathesAir>
<removesHediffs>
<li>CryptosleepSickness</li>
<li>LuciferiumHigh</li>
<li>LuciferiumAddiction</li>
<li>Scaria</li>
<li>CorpseTorment</li>
<li>CubeInterest</li>
<li>CubeWithdrawal</li>
<li>CubeComa</li>
<li>CubeRage</li>
<li>HeartAttack</li>
<li>Scaria</li>
<li MayRequire="Ludeon.RimWorld.Royalty">PsychicAmplifier</li>
<li MayRequire="Ludeon.RimWorld.Biotech">MechlinkImplant</li>
<li MayRequire="Ludeon.RimWorld.Biotech">PregnantHuman</li>
<li MayRequire="Ludeon.RimWorld.Biotech">PregnancyLabor</li>
<li MayRequire="Ludeon.RimWorld.Biotech">HemogenAmplified</li>
<li MayRequire="Ludeon.RimWorld.Biotech">DeathrestExhaustion</li>
<li MayRequire="Ludeon.RimWorld.Biotech">InterruptedDeathrest</li>
<li MayRequire="Ludeon.RimWorld.Biotech">HemogenCraving</li>
<li MayRequire="Ludeon.RimWorld.Biotech">Deathrest</li>
<li MayRequire="Ludeon.RimWorld.Biotech">RegenerationComa</li>
<li MayRequire="Ludeon.RimWorld.Biotech">PostpartumExhaustion</li>
<li>Inhumanized</li>
</removesHediffs>
<disablesGenes>
<li MayRequire="Ludeon.RimWorld.Biotech">Hemogenic</li>
<li MayRequire="Ludeon.RimWorld.Biotech">Deathrest</li>
</disablesGenes>
</MutantDef>
<MutantDef ParentName="ARA_BaseMutantEntity">
<defName>ARA_MimicNematodeShambler</defName>
<label>阿拉克涅拟线种寄生体</label>
<description>阿拉克涅拟线种是虫群中最神秘的分支之一。它们与原虫种同源,但在进化之路上并未发展出高级智慧,而是走向了一条截然不同的道路:寄生。拟线种是无法脱离宿主独立存活的寄生虫。一旦寄生于生物体内,它们会长期潜伏,最终逐步接管宿主的神经与代谢系统,将其变为受其操控的行尸走肉——“寄生体”。得益于超凡的细胞复制与再生能力,拟线种能够模仿并替代宿主的细胞结构,这使得寄生体拥有了惊人的自我修复能力。然而,这种寄生关系也极具侵略性:拟线种的虫卵遍布寄生体体表,任何被寄生体攻击的生物都有可能被感染,最终沦为新的寄生体。尽管拟线虫将寄生体的新陈代谢维持在极低水平,但寄生体本身并不会主动觅食。因此,当能量耗尽后,它们终将迎来“死亡”。</description>
@@ -11,14 +67,14 @@
<hideLabel>true</hideLabel>
<!--<namePrefix>拟线体 </namePrefix>-->
<useCorpseGraphics>false</useCorpseGraphics>
<isConsideredCorpse>true</isConsideredCorpse>
<isConsideredCorpse>false</isConsideredCorpse>
<bloodDef>Filth_BloodInsect</bloodDef>
<bloodSmearDef>Filth_BloodSmear</bloodSmearDef>
<entitledToMedicalCare>false</entitledToMedicalCare>
<removeAllInjuries>true</removeAllInjuries>
<restoreLegs>true</restoreLegs>
<defaultFaction>Entities</defaultFaction>
<standingAnimation>ShamblerSway</standingAnimation>
<defaultFaction>PlayerColony</defaultFaction>
<standingAnimation>ARA_ShamblerSway</standingAnimation>
<canOpenDoors>false</canOpenDoors>
<makesFootprints>false</makesFootprints>
<tameable>false</tameable>
@@ -56,7 +112,6 @@
<li>Hunting</li>
<li>Constructing</li>
<li>Cooking</li>
<li>Shooting</li>
</workDisables>
<!-- Rendering -->
<renderNodeProperties>

View File

@@ -26,4 +26,8 @@
<ARA_CocoonCooldown>茧正在稳定中:{0}</ARA_CocoonCooldown>
<ARA_ProducingListTitle>正在生产:</ARA_ProducingListTitle>
<ProductionSlots>生产槽位: {0} / {1}</ProductionSlots>
<ProductionQueue>等待队列: {0}</ProductionQueue>
<ProductionSpeed>生产速度</ProductionSpeed>
</LanguageData>

View File

@@ -526,7 +526,7 @@ namespace ArachnaeSwarm
}
// 使用新的翻译键,包含种族信息和物品数量
return "ARA_NeedSpecificArachnaeToStartIncubation".Translate(allowedRaces, availableProcesses);
return "ARA_NeedSpecificArachnaeToStartIncubation".Translate(allowedRaces) + $" ({availableProcesses} " + "items available".Translate() + ")";
}
return null;
}

View File

@@ -294,7 +294,7 @@ namespace ArachnaeSwarm
else if (queuedCount == 0)
{
int availableProcesses = Processes.Count(p => p.requiredResearch == null || p.requiredResearch.IsFinished);
sb.AppendLine("ARA_NeedArachnaeToStartIncubation".Translate() + $" ({availableProcesses} items available)");
sb.AppendLine("ARA_NeedSpecificArachnaeToStartIncubation".Translate("阿拉克涅虫族", availableProcesses));
}
string tempStr = "CurrentTemperature".Translate(parent.AmbientTemperature.ToStringTemperature("F0"));