This commit is contained in:
2026-03-27 12:01:28 +08:00
parent 75717ba814
commit 0603c60bde
19 changed files with 136 additions and 685 deletions

Binary file not shown.

View File

@@ -1,430 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!-- <AbilityDef>
<defName>ARA_Neurotyrant_Upgrade</defName>
<label>灵吸种进化</label>
<description>灵吸种以</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_PsychicBrainburn</iconPath>
<displayOrder>210</displayOrder>
<aiCanUse>false</aiCanUse>
<targetRequired>false</targetRequired>
<cooldownTicksRange>1</cooldownTicksRange>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<warmupTime>0</warmupTime>
<range>0</range>
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityHediffGacha">
<hediffPool>
<li>
<hediff>DD_Lantern_Shield_Adv_Wider</hediff>
<weight>1</weight>
<iconPath>DivineDiurganate/UI/Abilities/DD_Lantern_Shield_Adv_Wider</iconPath>
<iconColor>(1, 1, 1, 1)</iconColor>
<iconScale>1</iconScale>
<iconBackgroundColor>(1, 1, 1, 0)</iconBackgroundColor>
</li>
<li>
<hediff>DD_Lantern_Shield_Adv_Longer</hediff>
<weight>1</weight>
<iconPath>DivineDiurganate/UI/Abilities/DD_Lantern_Shield_Adv_Longer</iconPath>
<iconColor>(1, 1, 1, 1)</iconColor>
<iconScale>1</iconScale>
<iconBackgroundColor>(1, 1, 1, 0)</iconBackgroundColor>
</li>
<li>
<hediff>DD_Lantern_Shield_Adv_Extrabuff</hediff>
<weight>1</weight>
<iconPath>DivineDiurganate/UI/Abilities/DD_Lantern_Shield_Adv_Extrabuff</iconPath>
<iconColor>(1, 1, 1, 1)</iconColor>
<iconScale>1</iconScale>
<iconBackgroundColor>(1, 1, 1, 0)</iconBackgroundColor>
</li>
</hediffPool>
<choiceCount>3</choiceCount>
<useWeights>true</useWeights>
<allowDuplicates>false</allowDuplicates>
<windowTitle>DD_MyCustomGacha_Title</windowTitle>
<allowCancel>true</allowCancel>
<showSelectionMessage>true</showSelectionMessage>
<selectionMessageKey>DD_Upgrade_Lantern_Selected</selectionMessageKey>
<cardDefaultBackground>(0.1, 0.1, 0.12, 1)</cardDefaultBackground>
<cardHoverBackground>(0.2, 0.2, 0.25, 1)</cardHoverBackground>
<cardDefaultBorder>(0.3, 0.3, 0.35, 1)</cardDefaultBorder>
<cardHoverBorder>(0.9, 0.8, 0.5, 1)</cardHoverBorder>
</li>
</comps>
</AbilityDef> -->
<AbilityDef>
<defName>ARA_Neurotyrant_Harvest</defName>
<label>进化点收割</label>
<description>灵吸种抽干目标的智识,转化为进化点点数,虽然需要一点时间完成吸食,但是会直接杀死目标。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Fighter_Invisibility_Execution</iconPath>
<cooldownTicksRange>30</cooldownTicksRange>
<cooldownPerCharge>true</cooldownPerCharge>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<stunTargetWhileCasting>true</stunTargetWhileCasting>
<warmupMote>Mote_HoraxSmallSpellWarmup</warmupMote>
<warmupEffecter>HoraxianAbilityCasting</warmupEffecter>
<warmupSound>AnomalyAbilityWarmup</warmupSound>
<jobDef>CastAbilityOnThingMelee</jobDef>
<aiCanUse>true</aiCanUse>
<verbProperties>
<verbClass>Verb_CastAbilityTouch</verbClass>
<drawAimPie>false</drawAimPie>
<range>-1</range>
<warmupTime>10</warmupTime>
<targetParams>
<canTargetSelf>false</canTargetSelf>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<canTargetBuildings>false</canTargetBuildings>
<canTargetEntities>false</canTargetEntities>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityPsychicResearchHarvest">
<!-- 科研点计算设置 -->
<baseAmount>50</baseAmount>
<intelligenceMultiplier>50</intelligenceMultiplier>
<consciousnessMultiplier>200</consciousnessMultiplier>
<overallMultiplier>1.0</overallMultiplier>
<useRandomRange>false</useRandomRange>
<!-- <randomRange>
<min>0.7</min>
<max>1.3</max>
</randomRange> -->
<minimumAmount>50</minimumAmount>
<allowOverflow>false</allowOverflow>
<!-- 目标选择 -->
<canTargetDowned>true</canTargetDowned>
<requireConsciousnessSource>true</requireConsciousnessSource>
<showDetailedCalculation>true</showDetailedCalculation>
<!-- 器官摧毁设置 -->
<partDestructionDamageMult>9999</partDestructionDamageMult>
<destroyDamageType>Burn</destroyDamageType>
<!-- <destroyFleck>PsycastPsychicEffect</destroyFleck> -->
<showDestroyMessage>true</showDestroyMessage>
<canKillTarget>true</canKillTarget>
<killChanceOnCompleteDestruction>1</killChanceOnCompleteDestruction>
<killDamageType>Burn</killDamageType>
<showKillMessage>true</showKillMessage>
<!-- 效果设置 -->
<!-- <harvestEffecter>PsycastSkipEffect</harvestEffecter>
<penaltyEffecter>PsychicPulse</penaltyEffecter> -->
<consciousnessPenaltyHediff>Scaria</consciousnessPenaltyHediff>
<unconsciousnessHediff>Anesthetic</unconsciousnessHediff>
<showHarvestMessage>true</showHarvestMessage>
<customHarvestMessageKey>ARA_SwarmSpell_ResearchHarvest_Message</customHarvestMessageKey>
<showTargetDamageMessage>true</showTargetDamageMessage>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityPsychicLoadCost">
<!-- 负载消耗设置 -->
<loadCostRange>
<min>1</min>
<max>2</max>
</loadCostRange>
<showCostInGizmo>true</showCostInGizmo>
<!-- <customLabel>Psychic Load Cost</customLabel> -->
<ignoreOverloadCheck>true</ignoreOverloadCheck>
<!-- 效果设置 -->
<!-- <successEffecter>PsychicPulse</successEffecter>
<overloadEffecter>ExplosionFlash</overloadEffecter> -->
<!-- 超载惩罚设置 -->
<applyOverloadPenalty>true</applyOverloadPenalty>
<consciousnessSourceDamageMult>99999</consciousnessSourceDamageMult>
<overloadPenaltyHediff>ARA_SwarmSpell_Overdrive</overloadPenaltyHediff>
<destroyConsciousnessSource>true</destroyConsciousnessSource>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>ARA_Neurotyrant_PsychicLoadDump</defName>
<label>负荷反冲</label>
<description>灵吸种将承受的强大负荷输出到目标身上,如果目标没有灵能能力,这种反冲会立刻杀死目标;拥有灵能能力的个体则可以免除这种死亡性的冲击,但是会累计大量的心灵熵。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Fighter_Invisibility_Execution</iconPath>
<cooldownTicksRange>30</cooldownTicksRange>
<cooldownPerCharge>true</cooldownPerCharge>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<stunTargetWhileCasting>true</stunTargetWhileCasting>
<warmupMote>Mote_HoraxSmallSpellWarmup</warmupMote>
<warmupEffecter>HoraxianAbilityCasting</warmupEffecter>
<warmupSound>AnomalyAbilityWarmup</warmupSound>
<jobDef>CastAbilityOnThingMelee</jobDef>
<aiCanUse>false</aiCanUse>
<verbProperties>
<verbClass>Verb_CastAbilityTouch</verbClass>
<drawAimPie>false</drawAimPie>
<range>-1</range>
<warmupTime>5</warmupTime>
<targetParams>
<canTargetSelf>false</canTargetSelf>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<canTargetBuildings>false</canTargetBuildings>
<canTargetEntities>false</canTargetEntities>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityPsychicLoadDump">
<!-- 转化设置 -->
<conversionRatio>10</conversionRatio>
<scaleBySensitivity>true</scaleBySensitivity>
<allowOverLimit>true</allowOverLimit>
<!-- 目标选择 -->
<canTargetDowned>true</canTargetDowned>
<!-- 器官摧毁设置 -->
<partDestructionDamageMult>9999</partDestructionDamageMult>
<loadDamageMultiplier>9999</loadDamageMultiplier>
<noConsciousnessDamageMultiplier>9999</noConsciousnessDamageMultiplier>
<fallbackDamageMultiplier>9999</fallbackDamageMultiplier>
<destroyDamageType>Burn</destroyDamageType>
<fallbackDamageType>Burn</fallbackDamageType>
<!-- 效果设置 -->
<!-- <mainEffecter>PsycastPsychicPulse</mainEffecter> -->
<!-- <entropyTransferEffecter>PsycastSkipEffect</entropyTransferEffecter> -->
<consciousnessDestroyFleck>PsycastPsychicEffect</consciousnessDestroyFleck>
<!-- <penaltyEffecter>PsychicPulse</penaltyEffecter> -->
<consciousnessPenaltyHediff>Scaria</consciousnessPenaltyHediff>
<!-- 消息设置 -->
<showDumpMessage>true</showDumpMessage>
<showEntropyTransferMessage>true</showEntropyTransferMessage>
<showConsciousnessDestroyMessage>true</showConsciousnessDestroyMessage>
<showNoConsciousnessMessage>true</showNoConsciousnessMessage>
<showOverloadReliefMessage>true</showOverloadReliefMessage>
</li>
</comps>
</AbilityDef>
<!-- T1 -->
<AbilityDef>
<defName>ARA_Neurotyrant_T1_PsyShoot</defName>
<label>灵能射弹</label>
<description>短暂蓄能之后发射一组灵能射弹。</description>
<writeCombatLog>True</writeCombatLog>
<showPsycastEffects>False</showPsycastEffects>
<cooldownTicksRange>30</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Toxic_Needle_Fire</iconPath>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>24</range>
<warmupTime>1</warmupTime>
<soundCast>ARA_Psi_Ability_Sound</soundCast>
<targetParams>
<canTargetPawns>True</canTargetPawns>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityLaunchMultiProjectile">
<!-- 默认状态参数 -->
<projectileDef>Bullet_ARA_Neurotyrant_T1_PsyShoot</projectileDef>
<numProjectiles>24</numProjectiles>
<!-- 偏移配置 -->
<offsetRadius>0</offsetRadius>
<useRandomOffset>true</useRandomOffset>
<offsetInCircle>true</offsetInCircle>
<avoidOverlap>false</avoidOverlap>
<shotIntervalTicks>3</shotIntervalTicks>
</li>
<!-- <li Class="ArachnaeSwarm.CompProperties_AbilityResearchPrereq">
<requiredResearch>ARA_Technology_5PAV</requiredResearch>
</li> -->
<li Class="ArachnaeSwarm.CompProperties_AbilityPsychicLoadCost">
<!-- 负载消耗设置 -->
<loadCostRange>
<min>0.25</min>
<max>0.5</max>
</loadCostRange>
<showCostInGizmo>true</showCostInGizmo>
<!-- <customLabel>Psychic Load Cost</customLabel> -->
<ignoreOverloadCheck>true</ignoreOverloadCheck>
<!-- 效果设置 -->
<!-- <successEffecter>PsychicPulse</successEffecter>
<overloadEffecter>ExplosionFlash</overloadEffecter> -->
<!-- 超载惩罚设置 -->
<applyOverloadPenalty>true</applyOverloadPenalty>
<consciousnessSourceDamageMult>99999</consciousnessSourceDamageMult>
<overloadPenaltyHediff>ARA_SwarmSpell_Overdrive</overloadPenaltyHediff>
<destroyConsciousnessSource>true</destroyConsciousnessSource>
</li>
</comps>
</AbilityDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_ARA_Neurotyrant_T1_PsyShoot</defName>
<label>灵能射弹</label>
<graphicData>
<texPath>ArachnaeSwarm/Mote/ARA_Spike_Shell</texPath>
<graphicClass>Graphic_Single_AgeSecs</graphicClass>
<shaderType>MoteGlow</shaderType>
<drawSize>(0.5,0.75)</drawSize>
<color>(159, 38, 146, 250)</color>
</graphicData>
<projectile>
<damageDef>ARA_Psi_Damage</damageDef>
<damageAmountBase>5</damageAmountBase>
<armorPenetrationBase>2</armorPenetrationBase>
<speed>40</speed>
</projectile>
</ThingDef>
<AbilityDef>
<defName>ARA_Neurotyrant_T1_PsyPsuh</defName>
<label>灵能推击</label>
<description>瞬间释放指向性的灵能能量伤害靠近的敌人,随后击飞并眩晕它们。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Praetorian_TailSweep</iconPath>
<aiCanUse>true</aiCanUse>
<hostile>true</hostile>
<casterMustBeCapableOfViolence>true</casterMustBeCapableOfViolence>
<cooldownTicksRange>30</cooldownTicksRange>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>6</range>
<warmupTime>0.6</warmupTime>
<soundCast>ARA_Psi_Ability_Sound</soundCast>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityFanShapedStunKnockback">
<!-- 扇形参数 -->
<range>6</range>
<coneSizeDegrees>100</coneSizeDegrees>
<lineWidthEnd>12</lineWidthEnd>
<!-- 伤害参数 -->
<damageDef>ARA_Psi_Damage</damageDef>
<damageAmount>35</damageAmount>
<armorPenetration>1</armorPenetration>
<!-- 眩晕参数 -->
<stunTicks>180</stunTicks>
<!-- 击退参数 -->
<maxKnockbackDistance>4</maxKnockbackDistance>
<canKnockbackIntoWalls>false</canKnockbackIntoWalls>
<requireLineOfSight>false</requireLineOfSight>
<affectNonPawnThings>true</affectNonPawnThings>
<canDamageNonPawnThings>true</canDamageNonPawnThings>
<nonPawnDamageMultiplier>5</nonPawnDamageMultiplier>
<applySpecialEffectsToNonPawn>false</applySpecialEffectsToNonPawn>
<!-- 视觉效果 -->
<impactEffecter>ARA_Psy_Shockwave</impactEffecter>
<impactSound>Pawn_Melee_BigBash_HitPawn</impactSound>
<!-- 飞行效果 -->
<knockbackFlyerDef>PawnFlyer</knockbackFlyerDef>
<!-- <flightEffecterDef>FlightEffect_Knockback</flightEffecterDef> -->
<landingSound>Longjump_Land</landingSound>
<!-- 过滤设置 -->
<affectCaster>false</affectCaster>
<canHitFilledCells>true</canHitFilledCells>
<onlyAffectEnemies>false</onlyAffectEnemies>
<requireLineOfSightToTarget>true</requireLineOfSightToTarget>
<!-- 近战伤害系数加成 -->
<multiplyDamageByMeleeFactor>false</multiplyDamageByMeleeFactor>
<multiplyStunTimeByMeleeFactor>false</multiplyStunTimeByMeleeFactor>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityPsychicLoadCost">
<!-- 负载消耗设置 -->
<loadCostRange>
<min>0.5</min>
<max>1.25</max>
</loadCostRange>
<showCostInGizmo>true</showCostInGizmo>
<!-- <customLabel>Psychic Load Cost</customLabel> -->
<ignoreOverloadCheck>true</ignoreOverloadCheck>
<!-- 效果设置 -->
<!-- <successEffecter>PsychicPulse</successEffecter>
<overloadEffecter>ExplosionFlash</overloadEffecter> -->
<!-- 超载惩罚设置 -->
<applyOverloadPenalty>true</applyOverloadPenalty>
<consciousnessSourceDamageMult>99999</consciousnessSourceDamageMult>
<overloadPenaltyHediff>ARA_SwarmSpell_Overdrive</overloadPenaltyHediff>
<destroyConsciousnessSource>true</destroyConsciousnessSource>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>ARA_Neurotyrant_T1_PsyHemostasis</defName>
<label>止血</label>
<description>使用灵能强行封住目标伤口,短暂地阻止失血。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Genestealer_InjectGenes</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<stunTargetWhileCasting>true</stunTargetWhileCasting>
<warmupMote>Mote_HoraxSmallSpellWarmup</warmupMote>
<warmupEffecter>HoraxianAbilityCasting</warmupEffecter>
<warmupSound>AnomalyAbilityWarmup</warmupSound>
<jobDef>CastAbilityOnThingMelee</jobDef>
<aiCanUse>false</aiCanUse>
<statBases>
<Ability_Duration>120</Ability_Duration>
</statBases>
<verbProperties>
<verbClass>Verb_CastAbilityTouch</verbClass>
<drawAimPie>false</drawAimPie>
<range>-1</range>
<warmupTime>3</warmupTime>
<targetParams>
<onlyTargetColonistsOrPrisonersOrSlaves>true</onlyTargetColonistsOrPrisonersOrSlaves>
<canTargetSelf>false</canTargetSelf>
<canTargetMechs>false</canTargetMechs>
<canTargetBuildings>false</canTargetBuildings>
</targetParams>
</verbProperties>
<comps>
<li Class ="CompProperties_AbilityGiveHediff">
<compClass>CompAbilityEffect_GiveHediff</compClass>
<hediffDef>ARA_PsyHemostasis_Hediff</hediffDef>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityPsychicLoadCost">
<!-- 负载消耗设置 -->
<loadCostRange>
<min>0.5</min>
<max>1.5</max>
</loadCostRange>
<showCostInGizmo>true</showCostInGizmo>
<!-- <customLabel>Psychic Load Cost</customLabel> -->
<ignoreOverloadCheck>true</ignoreOverloadCheck>
<!-- 效果设置 -->
<!-- <successEffecter>PsychicPulse</successEffecter>
<overloadEffecter>ExplosionFlash</overloadEffecter> -->
<!-- 超载惩罚设置 -->
<applyOverloadPenalty>true</applyOverloadPenalty>
<consciousnessSourceDamageMult>99999</consciousnessSourceDamageMult>
<overloadPenaltyHediff>ARA_SwarmSpell_Overdrive</overloadPenaltyHediff>
<destroyConsciousnessSource>true</destroyConsciousnessSource>
</li>
</comps>
</AbilityDef>
</Defs>

View File

@@ -1950,34 +1950,27 @@
</HediffDef>
<HediffDef>
<defName>ArachnaeQueen_Neurotyrant_1Stage</defName>
<label>术法强度</label>
<description>术法强度</description>
<defName>ArachnaeQueen_Titan_Hediff</defName>
<label>泰坦种</label>
<description>阿拉克涅泰坦种是女皇种亚种之一,归属于阿拉克涅的泰坦触须。她们指挥着阿拉克涅虫群中最坚韧、最具有适应力的主力集团族群,承担在战场上维持战线的任务。\n\n泰坦种女皇除了可以提供泰坦触须的独特科技外自身也有强大的甲壳作为防御层还可以通过践踏和高额的近战伤害攻击靠近的敌人。</description>
<hediffClass>HediffWithComps</hediffClass>
<defaultLabelColor>(0.6, 0.4, 0.8)</defaultLabelColor>
<isBad>false</isBad>
<scenarioCanAdd>false</scenarioCanAdd>
<maxSeverity>1.0</maxSeverity>
<stages>
<li>
<label>等级1</label>
<statOffsets>
<ARA_SwarmSpell_Level>1</ARA_SwarmSpell_Level>
</statOffsets>
</li>
</stages>
<comps>
<!-- <li Class="HediffCompProperties_GiveAbility">
<abilityDefs>
<li>ArachnaeQueen_Neurotyrant_2Stage</li>
</abilityDefs>
<li Class="ArachnaeSwarm.HediffCompProperties_ProductionQueue">
<productionQueue>
<li>
<pawnKind>ArachnaeBase_Race_Larva</pawnKind>
<count>5</count>
<cooldownTicks>1000</cooldownTicks>
</li>
</productionQueue>
</li>
<li Class="HediffCompProperties_RemoveIfOtherHediff">
<hediffs>
<li>ArachnaeQueen_Neurotyrant_2Stage</li>
</hediffs>
</li> -->
</comps>
</HediffDef>
</Defs>

View File

@@ -33,15 +33,6 @@
<li Class="ArachnaeSwarm.HediffCompProperties_GestaltNode">
<nodeType>OverlordNode</nodeType>
</li>
<li Class="ArachnaeSwarm.HediffCompProperties_ProductionQueue">
<productionQueue>
<li>
<pawnKind>ArachnaeBase_Race_Larva</pawnKind>
<count>5</count>
<cooldownTicks>1000</cooldownTicks>
</li>
</productionQueue>
</li>
<!-- <li Class="ArachnaeSwarm.HediffCompProperties_HiveMindMaster">
<scanIntervalTicks>3200</scanIntervalTicks>
</li> -->

View File

@@ -146,37 +146,6 @@
</alienrefugeekinds>
</pawnKindSettings>
</AlienRace.RaceSettings>
<PawnKindDef ParentName="ArachnaeQueenBasePawnKind">
<defName>ArachnaeQueen_Race_Neurotyrant</defName>
<label>阿拉克涅灵吸种</label>
<race>ArachnaeQueen_Race_Neurotyrant</race>
<defaultFactionType>PlayerColony</defaultFactionType>
<invNutrition>0</invNutrition>
<flyingAnimationFramePathPrefix>ArachnaeSwarm/Things/ARA_Skyhive/Flying/Flying_</flyingAnimationFramePathPrefix>
<flyingAnimationFrameCount>1</flyingAnimationFrameCount>
<flyingAnimationTicksPerFrame>2</flyingAnimationTicksPerFrame>
<flyingAnimationDrawSize>1</flyingAnimationDrawSize>
<flyingAnimationDrawSizeIsMultiplier>false</flyingAnimationDrawSizeIsMultiplier>
<flyingAnimationInheritColors>true</flyingAnimationInheritColors>
<backstoryFiltersOverride>
<li>
<categories>
<li>ArachnaeQueen_spawnCategoriesA</li>
<li>ArachnaeQueen_spawnCategoriesB</li>
</categories>
</li>
</backstoryFiltersOverride>
<apparelTags>
</apparelTags>
<apparelMoney>0</apparelMoney>
<abilities>
<li>ARA_BindDrone</li>
<li>ARA_Neurotyrant_Harvest</li>
<li>ARA_Neurotyrant_PsychicLoadDump</li>
<li>ARA_Neurotyrant_T1_PsyShoot</li>
<li>ARA_Neurotyrant_T1_PsyPsuh</li>
</abilities>
</PawnKindDef>
<PawnKindDef Name="ArachnaeNodeABasePawnKind" Abstract="True">
<combatPower>50</combatPower>

View File

@@ -796,6 +796,13 @@
</tools>
<comps>
<li Class="ArachnaeSwarm.CompProperties_HediffGiver">
<hediffs>
<li>ArachnaeQueen_Titan_Hediff</li>
</hediffs>
<addChance>1.0</addChance>
<allowDuplicates>false</allowDuplicates>
</li>
<li Class="ArachnaeSwarm.CompProperties_AreaDamage">
<radius>3</radius>
<damageIntervalTicks>180</damageIntervalTicks>
@@ -811,117 +818,4 @@
</li>
</comps>
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="ARA_QueenBase">
<defName>ArachnaeQueen_Race_Neurotyrant</defName>
<label>阿拉克涅灵吸种</label>
<description>阿拉克涅灵吸种是女皇种亚种之一,归属于阿拉克涅的灵能触须。她们负责维持虫族蜂巢灵能网路的通讯,并作为中继节点链接各战区女皇种和虫巢舰队。\n\n灵吸种是天生的灵能大师她们强大的灵能使得她们可以通过超自然力量主宰当地战局随着她们不断吞噬本地物种其灵能能力还能得到适应性进化。</description>
<alienRace>
<!-- 核心设置 -->
<generalSettings>
<!-- 各种零件定义 -->
<alienPartGenerator>
<borderScale>2.5</borderScale>
<atlasScale>2.5</atlasScale>
<customDrawSize>(2,2)</customDrawSize>
<customHeadDrawSize>(1.0,1.0)</customHeadDrawSize>
<customPortraitDrawSize>(2,2)</customPortraitDrawSize>
</alienPartGenerator>
</generalSettings>
<!-- 图形 -->
<graphicPaths>
<!-- 皮肤颜色 -->
<skinColor>(1,1,1,1)</skinColor>
<!-- 皮肤着色器 -->
<skinShader>Cutout</skinShader>
<body>ArachnaeSwarm/Things/ARA_Neurotyrant/Bodies/</body>
<head>ArachnaeSwarm/Things/ARA_Neurotyrant/Heads/</head>
<skeleton>Things/Pawn/Humanlike/Bodies/Dessicated/Dessicated_Thin</skeleton>
<stump>ArachnaeSwarm/Things/ARA_Neurotyrant/Bodies/</stump>
</graphicPaths>
</alienRace>
<statBases>
<MarketValue>2000</MarketValue>
<MoveSpeed>2.5</MoveSpeed>
<Mass>250</Mass>
<EatingSpeed>2</EatingSpeed>
<MaxNutrition>1</MaxNutrition>
<CarryingCapacity>200</CarryingCapacity>
<MeatAmount>350</MeatAmount>
<LeatherAmount>300</LeatherAmount>
<PainShockThreshold>1.25</PainShockThreshold>
<PsychicSensitivity>2.5</PsychicSensitivity>
<MentalBreakThreshold>0</MentalBreakThreshold>
<ToxicResistance>0.95</ToxicResistance>
<ToxicEnvironmentResistance MayRequire="Ludeon.RimWorld.Biotech">0.95</ToxicEnvironmentResistance>
<Flammability>0.2</Flammability>
<MeleeDodgeChance>0.4</MeleeDodgeChance>
<ArmorRating_Blunt>0.35</ArmorRating_Blunt>
<ArmorRating_Sharp>0.35</ArmorRating_Sharp>
<ArmorRating_Heat>0.25</ArmorRating_Heat>
<InjuryHealingFactor>2</InjuryHealingFactor>
<ARA_GestaltBandwidth>18</ARA_GestaltBandwidth>
<MechControlGroups>1</MechControlGroups>
<MaxFlightTime>9999</MaxFlightTime>
<FlightCooldown>0</FlightCooldown>
<ARA_SwarmSpell_Cooldown_Delay>60</ARA_SwarmSpell_Cooldown_Delay>
</statBases>
<race>
<body>ArachnaeQueen_Neurotyrant_Body</body>
<baseBodySize>5</baseBodySize>
<baseHealthScale>4</baseHealthScale>
<canFlyInVacuum>true</canFlyInVacuum>
<flightStartChanceOnJobStart>1.0</flightStartChanceOnJobStart>
</race>
<tools>
<li>
<label>辅肢穿刺</label>
<capacities>
<li>Stab</li>
</capacities>
<power>8</power>
<cooldownTime>1.75</cooldownTime>
</li>
</tools>
<comps>
<li Class="ArachnaeSwarm.CompProperties_SwarmSpellHolder"/>
<li Class="ArachnaeSwarm.CompProperties_PawnFlight">
<flightCondition>Drafted</flightCondition>
<flyingAnimationNorth>ARA_Psi_FlyNorth</flyingAnimationNorth>
<flyingAnimationEast>ARA_Psi_FlyEast</flyingAnimationEast>
<flyingAnimationSouth>ARA_Psi_FlySouth</flyingAnimationSouth>
</li>
<li Class="ArachnaeSwarm.CompProperties_PawnResearchBlueprintReader">
<canResearch>true</canResearch>
<researchSpeedMultiplier>1.0</researchSpeedMultiplier>
<showResearchGizmo>true</showResearchGizmo>
<autoStartResearch>false</autoStartResearch>
<baseResearchPointsPerSecond>1.0</baseResearchPointsPerSecond>
<usePsychicResearchPoints>true</usePsychicResearchPoints>
<researchCompletedMessageKey>ARA_PawnResearch_Completed</researchCompletedMessageKey>
<researchStartedMessageKey>ARA_PawnResearch_Started</researchStartedMessageKey>
<researchNoPointsMessageKey>ARA_PawnResearch_NoPoints</researchNoPointsMessageKey>
</li>
<li Class="ArachnaeSwarm.CompProperties_HediffGiver">
<hediffs>
<li>ArachnaeQueen_Neurotyrant_1Stage</li>
</hediffs>
<addChance>1.0</addChance>
<allowDuplicates>false</allowDuplicates>
</li>
</comps>
</AlienRace.ThingDef_AlienRace>
</Defs>

View File

@@ -13,83 +13,4 @@
<ARA_GestaltBandwidthExceeded>警告:蜂巢网络正在超载,这将会直接影响女皇种的心情,并有可能导致整个网络的传导性崩溃!</ARA_GestaltBandwidthExceeded>
<ARA_NetworkOverloadCleared>蜂巢网络超载已结束</ARA_NetworkOverloadCleared>
<MessageGestaltLostControl>{1} 已经断开与 {0} 的链接!</MessageGestaltLostControl>
<!-- Gizmo 相关 -->
<ARA_SwarmSpell_Title>虫群术法 Lv.{0}</ARA_SwarmSpell_Title>
<ARA_SwarmSpell_Research>{0}/{1}</ARA_SwarmSpell_Research>
<ARA_SwarmSpell_Load>{0}/{1}</ARA_SwarmSpell_Load>
<!-- 工具提示 -->
<ARA_SwarmSpell_Research_Title>虫群进化点</ARA_SwarmSpell_Research_Title>
<ARA_SwarmSpell_Research_Current>储存: {0} / {1}</ARA_SwarmSpell_Research_Current>
<ARA_SwarmSpell_Research_Description>虫群进化点</ARA_SwarmSpell_Research_Description>
<ARA_SwarmSpell_Research_DescriptionText>虫群进化点是独属于阿拉克涅灵吸种的特殊资源,灵吸种可以通过吞噬失去行动能力的俘虏以获取进化点,并将其投入至个人能力的升级或研究虫群的特殊科技。</ARA_SwarmSpell_Research_DescriptionText>
<ARA_SwarmSpell_Load_Title>神经负荷</ARA_SwarmSpell_Load_Title>
<ARA_SwarmSpell_Load_Current>负荷量: {0} / {1}</ARA_SwarmSpell_Load_Current>
<ARA_SwarmSpell_Level_Title>术法等级</ARA_SwarmSpell_Level_Title>
<ARA_SwarmSpell_Level_Current>目前的等级: {0}</ARA_SwarmSpell_Level_Current>
<ARA_SwarmSpell_Load_CapacityFormula>灵能负荷最大值: 10 × {0} (术法等级)</ARA_SwarmSpell_Load_CapacityFormula>
<ARA_SwarmSpell_Load_Warning>警告: 高神经束负荷!</ARA_SwarmSpell_Load_Warning>
<ARA_SwarmSpell_Load_Critical>警告: 神经束负荷逼近极限!</ARA_SwarmSpell_Load_Critical>
<ARA_SwarmSpell_Load_Description>神经束负荷</ARA_SwarmSpell_Load_Description>
<ARA_SwarmSpell_Load_DescriptionText>神经束负荷是评估于阿拉克涅灵吸种使用虫群灵能法术导致的神经束负载程度——作为移动的法术炮台,灵吸种可以近乎无限地释放各种虫群灵能法术,代价就是有可能因此烧毁自己的大脑,必须在负载过大时将其作为心灵熵排出。</ARA_SwarmSpell_Load_DescriptionText>
<ARA_SwarmSpell_Gizmo_Title>虫群灵能法术</ARA_SwarmSpell_Gizmo_Title>
<ARA_SwarmSpell_Gizmo_Desc>虫群灵能法术</ARA_SwarmSpell_Gizmo_Desc>
<ARA_SwarmSpell_Gizmo_Hint>将鼠标放在指示条以进一步查看详细信息</ARA_SwarmSpell_Gizmo_Hint>
<!-- 消息 -->
<ARA_SwarmSpell_SystemNotAvailable>{0} 的虫群灵能法术系统不可用</ARA_SwarmSpell_SystemNotAvailable>
<!-- 超载相关 -->
<ARA_SwarmSpell_Title_Overload>[超载] 虫群灵能法术</ARA_SwarmSpell_Title_Overload>
<ARA_SwarmSpell_Load_Overload>{0}/{1} (+{2})</ARA_SwarmSpell_Load_Overload>
<ARA_SwarmSpell_Load_Title_Overload>神经束负荷 [超载]</ARA_SwarmSpell_Load_Title_Overload>
<ARA_SwarmSpell_Load_OverloadWarning>警告: 神经束负荷超过容量!</ARA_SwarmSpell_Load_OverloadWarning>
<ARA_SwarmSpell_Gizmo_OverloadWarning>警告: 单位处于超载状态,无法自行冷却!</ARA_SwarmSpell_Gizmo_OverloadWarning>
<!-- 冷却相关 -->
<ARA_SwarmSpell_Cooldown>{0}s</ARA_SwarmSpell_Cooldown>
<ARA_SwarmSpell_Cooldown_Status>神经束冷却</ARA_SwarmSpell_Cooldown_Status>
<ARA_SwarmSpell_Cooldown_Remaining>剩余时间: {0}秒</ARA_SwarmSpell_Cooldown_Remaining>
<ARA_SwarmSpell_Cooldown_Behavior>冷却结束后每2秒减少1点负荷</ARA_SwarmSpell_Cooldown_Behavior>
<ARA_SwarmSpell_Load_Recovery>冷却结束后将自动减少神经束负荷</ARA_SwarmSpell_Load_Recovery>
<ARA_PawnResearch_TooltipTitle>虫群特殊项目研究</ARA_PawnResearch_TooltipTitle>
<ARA_PawnResearch_TooltipProject>正在进行的研究:{0}</ARA_PawnResearch_TooltipProject>
<ARA_PawnResearch_TooltipProgress>项目进度:{0} / {1}</ARA_PawnResearch_TooltipProgress>
<ARA_PawnResearch_TooltipSpeed>研究速度:{0}</ARA_PawnResearch_TooltipSpeed>
<ARA_NotSpawned>不在地图上</ARA_NotSpawned>
<ARA_PawnResearch_TooltipPaused>手动暂停研究</ARA_PawnResearch_TooltipPaused>
<ARA_PawnResearch_TooltipNoProject>未选择研究项目</ARA_PawnResearch_TooltipNoProject>
<ARA_PawnResearch_TooltipPawnInfo>在阿拉克涅虫群中,灵能触须的突破性研究由灵能女皇——灵吸种亲自负责,她们会从倒霉的受害者的脑髓中获取必要的智识以推进研究,完善自己的虫群。</ARA_PawnResearch_TooltipPawnInfo>
<ARA_PawnResearch_TooltipPointsConsumption>每秒消耗进化点:{0}</ARA_PawnResearch_TooltipPointsConsumption>
<ARA_PawnResearch_TooltipCannotResearch>无法开始研究</ARA_PawnResearch_TooltipCannotResearch>
<ARA_PawnResearch_SelectProject>选择研究项目</ARA_PawnResearch_SelectProject>
<ARA_PawnResearch_SelectProjectDesc>选择一个虫群特殊研究项目以开始研究\n\n灵吸种完成虫群的特殊研究需要使用进化点使用技能从俘虏和敌人身上采收进化点以推进研究进程。</ARA_PawnResearch_SelectProjectDesc>
<ARA_PawnResearch_StopResearch>停止研究</ARA_PawnResearch_StopResearch>
<ARA_PawnResearch_StopResearchDesc>停止研究当前选择项目</ARA_PawnResearch_StopResearchDesc>
<ARA_PawnResearch_StartResearch>开始研究</ARA_PawnResearch_StartResearch>
<ARA_PawnResearch_StartResearchDesc>恢复科技的研究</ARA_PawnResearch_StartResearchDesc>
<ARA_PawnResearch_Completed>{0} 已经完成对 {1} 的研究</ARA_PawnResearch_Completed>
<ARA_PawnResearch_CompletedShort>研究完成</ARA_PawnResearch_CompletedShort>
<ARA_PawnResearch_Started>{0} 开始研究 {1}</ARA_PawnResearch_Started>
<ARA_PawnResearch_Stopped>{0} 暂停研究 {1}</ARA_PawnResearch_Stopped>
<ARA_PawnResearch_NoPoints>{0} 没有足够的虫群进化点继续推进 {1} 的研究——使用进化点收割技能,从俘虏和敌人身上采收进化点</ARA_PawnResearch_NoPoints>
<ARA_PawnResearch_PrerequisitesNotMet>{0} 的前置条件不满足</ARA_PawnResearch_PrerequisitesNotMet>
<ARA_PawnResearch_AlreadyCompleted>{0} 已经完成</ARA_PawnResearch_AlreadyCompleted>
<ARA_PawnResearch_NoProjectSelected>没有研究项目被选择</ARA_PawnResearch_NoProjectSelected>
<ARA_PawnResearch_ProjectCost>研究花费</ARA_PawnResearch_ProjectCost>
<ARA_PawnResearch_RequiredPoints>需求进化点</ARA_PawnResearch_RequiredPoints>
<ARA_PawnResearch_CurrentPoints>现有进化点</ARA_PawnResearch_CurrentPoints>
<ARA_PawnResearch_Speed>研究速度</ARA_PawnResearch_Speed>
<ARA_PawnResearch_EstimatedTime>预计完成耗时</ARA_PawnResearch_EstimatedTime>
<ARA_PawnResearch_InsufficientPoints>没有足够的进化点</ARA_PawnResearch_InsufficientPoints>
<ARA_PawnResearch_InsufficientPointsShort>进化点短缺</ARA_PawnResearch_InsufficientPointsShort>
<ARA_PawnResearch_Gizmo_Completed>研究完成</ARA_PawnResearch_Gizmo_Completed>
<ARA_PawnResearch_Gizmo_Researching>研究中</ARA_PawnResearch_Gizmo_Researching>
<ARA_PawnResearch_Gizmo_CannotResearch>无法研究</ARA_PawnResearch_Gizmo_CannotResearch>
<ARA_PawnResearch_Gizmo_Paused>研究暂停</ARA_PawnResearch_Gizmo_Paused>
</LanguageData>

View File

@@ -2,6 +2,14 @@
"Version": 1,
"WorkspaceRootPath": "D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|d:\\steamlibrary\\steamapps\\common\\rimworld\\mods\\arachnaeswarm\\source\\arachnaeswarm\\hediffs\\ara_gestaltnode\\compgestalt.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|solutionrelative:hediffs\\ara_gestaltnode\\compgestalt.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|d:\\steamlibrary\\steamapps\\common\\rimworld\\mods\\arachnaeswarm\\source\\arachnaeswarm\\hediffs\\ara_hivemind\\hediff_hivemindmaster.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|solutionrelative:hediffs\\ara_hivemind\\hediff_hivemindmaster.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|d:\\steamlibrary\\steamapps\\common\\rimworld\\mods\\arachnaeswarm\\source\\arachnaeswarm\\arachnaelog.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|solutionrelative:arachnaelog.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
@@ -23,12 +31,38 @@
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "CompGestalt.cs",
"DocumentMoniker": "D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\Hediffs\\ARA_GestaltNode\\CompGestalt.cs",
"RelativeDocumentMoniker": "Hediffs\\ARA_GestaltNode\\CompGestalt.cs",
"ToolTip": "D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\Hediffs\\ARA_GestaltNode\\CompGestalt.cs",
"RelativeToolTip": "Hediffs\\ARA_GestaltNode\\CompGestalt.cs",
"ViewState": "AgIAAEQAAAAAAAAAAAAUwF0AAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-03-27T03:57:27.664Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Hediff_HiveMindMaster.cs",
"DocumentMoniker": "D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\Hediffs\\ARA_HiveMind\\Hediff_HiveMindMaster.cs",
"RelativeDocumentMoniker": "Hediffs\\ARA_HiveMind\\Hediff_HiveMindMaster.cs",
"ToolTip": "D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\Hediffs\\ARA_HiveMind\\Hediff_HiveMindMaster.cs",
"RelativeToolTip": "Hediffs\\ARA_HiveMind\\Hediff_HiveMindMaster.cs",
"ViewState": "AgIAADQAAAAAAAAAAAAuwFkAAAAuAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-03-27T03:54:02.567Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "ArachnaeLog.cs",
"DocumentMoniker": "D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\ArachnaeLog.cs",
"RelativeDocumentMoniker": "ArachnaeLog.cs",
"ToolTip": "D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\ArachnaeLog.cs",
"RelativeToolTip": "ArachnaeLog.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAwAAAAAAAAAA==",
"ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAANAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-03-26T06:10:50.583Z",
"EditorCaption": ""

View File

@@ -3,7 +3,7 @@ using Verse;
namespace ArachnaeSwarm
{
// DefOf 类放在这里,以便在命名空间内共享
// <EFBFBD><EFBFBD> DefOf <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD><EFBFBD>ڹ<EFBFBD><EFBFBD><EFBFBD>
[DefOf]
public static class ARA_TrainableDefOf
{
@@ -93,7 +93,6 @@ namespace ArachnaeSwarm
{
public static StatDef ARA_GestaltBandwidth;
public static StatDef ARA_GestaltBandwidthCost;
public static StatDef ARA_SwarmSpell_Cooldown_Delay;
public static StatDef ARA_SwarmSpell_Level;
static ARA_StatDefOf()
{

View File

@@ -1,5 +1,6 @@
using System.Collections.Generic;
using RimWorld;
using System.Collections.Generic;
using System.Linq;
using Verse;
namespace ArachnaeSwarm
@@ -58,6 +59,7 @@ namespace ArachnaeSwarm
Pawn hiveNode = relation.otherPawn;
if (hiveNode != null && hiveNode.IsGestaltNode(GestaltNodeType.HiveNode))
{
if (tracker.GetControlGroup(hiveNode) == null)
{
tracker.AssignPawnToControlGroup(hiveNode);
@@ -92,7 +94,85 @@ namespace ArachnaeSwarm
GestaltTracker?.GameComponentTick();
}
/// <summary>
/// 强制将主节点的文化赋予无人机
/// </summary>
private void ForceMasterCultureToDrone(Pawn drone)
{
// 检查是否有意识形态系统Ideology DLC
if (ModsConfig.IdeologyActive)
{
// 获取主节点的意识形态
Ideo masterIdeo = this.pawn.Ideo;
if (masterIdeo != null)
{
// 设置无人机的意识形态为主节点的意识形态
if (drone.Ideo != masterIdeo)
{
drone.ideo.SetIdeo(masterIdeo);
ArachnaeLog.Debug($"[ArachnaeSwarm] Set drone {drone.LabelShort} ideology to master's ideology: {masterIdeo.name}");
}
}
else
{
ArachnaeLog.Debug($"[ArachnaeSwarm] Master {this.pawn.LabelShort} has no ideology to assign to drone {drone.LabelShort}");
}
// 强制同步文化相关记忆和状态
SyncCulturalMemories(drone);
}
else
{
ArachnaeLog.Debug($"[ArachnaeSwarm] Ideology DLC not active, skipping cultural assignment for drone {drone.LabelShort}");
}
}
/// <summary>
/// 同步文化相关记忆和状态
/// </summary>
private void SyncCulturalMemories(Pawn drone)
{
try
{
// 清除可能存在的文化冲突记忆
if (drone.needs?.mood != null)
{
// 移除与文化转换相关的负面想法
var thoughtsToRemove = drone.needs.mood.thoughts.memories.Memories
.Where(thought => thought.def.defName.Contains("Cultural") ||
thought.def.defName.Contains("Ideo") ||
thought.def.defName.Contains("Convert"))
.ToList();
foreach (var thought in thoughtsToRemove)
{
drone.needs.mood.thoughts.memories.RemoveMemory(thought);
}
if (thoughtsToRemove.Count > 0)
{
ArachnaeLog.Debug($"[ArachnaeSwarm] Removed {thoughtsToRemove.Count} cultural conflict thoughts from drone {drone.LabelShort}");
}
// 添加蜂群文化适应的正面想法
ThoughtDef culturalHarmonyThought = DefDatabase<ThoughtDef>.GetNamedSilentFail("ARA_CulturalHarmony");
if (culturalHarmonyThought != null)
{
drone.needs.mood.thoughts.memories.TryGainMemory(culturalHarmonyThought);
}
}
// 同步服装和文化偏好
ArachnaeLog.Debug($"[ArachnaeSwarm] Successfully synchronized cultural memories for drone {drone.LabelShort}");
}
catch (System.Exception ex)
{
ArachnaeLog.Debug($"[ArachnaeSwarm] Error synchronizing cultural memories for drone {drone.LabelShort}: {ex.Message}");
}
}
public override void PostExposeData()
{
base.PostExposeData();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB