精神崩溃

This commit is contained in:
Tourswen
2025-10-21 19:43:30 +08:00
parent ef79645c19
commit fc9bd81f88
11 changed files with 361 additions and 190 deletions

Binary file not shown.

View File

@@ -57,6 +57,12 @@
<!-- <li>Artistic</li> -->
<!-- <li>Intellectual</li> -->
</workDisables>
<forcedTraitsChance>
<li>
<defName Degree="0">ARA_Queen_Main_Trait</defName>
<chance>100</chance>
</li>
</forcedTraitsChance>
<spawnCategories>
<li>ArachnaeQueen_spawnCategoriesB</li>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<MentalStateDef Name="ARA_HiveMindCascade">
<defName>ARA_HiveMindCascade</defName>
<label>蜂巢网络崩溃</label>
<beginLetterLabel>蜂巢网络崩溃</beginLetterLabel>
<beginLetter>女皇种 {0} 陷入了精神崩溃状态,这种精神崩溃状态会通过蜂巢网络传导给每一个与其连接的督虫!</beginLetter>
<stateClass>ArachnaeSwarm.MentalState_HiveMindCascade</stateClass>
<minTicksBeforeRecovery>30000</minTicksBeforeRecovery>
<maxTicksBeforeRecovery>45000</maxTicksBeforeRecovery>
<recoveryMtbDays>0.166</recoveryMtbDays>
<recoverFromSleep>true</recoverFromSleep>
<blockNormalThoughts>true</blockNormalThoughts>
<escapingPrisonersIgnore>true</escapingPrisonersIgnore>
<colonistsOnly>true</colonistsOnly>
<modExtensions>
<li Class="ArachnaeSwarm.MentalStateDefExtension_HiveMindCascade">
<mentalStatesToSpread>
<li>BedroomTantrum</li>
<li>Berserk</li>
<li>Binging_Food</li>
<li>MurderousRage</li>
<li>SadisticRage</li>
<li>Tantrum</li>
<li>Wander_Psychotic</li>
<li>GiveUpExit</li>
</mentalStatesToSpread>
<spreadChance>1.0</spreadChance>
<includeMasterInSpread>true</includeMasterInSpread>
</li>
</modExtensions>
</MentalStateDef>
<MentalBreakDef Name="MentalBreak_HiveMindCascade">
<defName>MentalBreak_HiveMindCascade</defName>
<label>蜂巢网络崩溃</label>
<intensity>Extreme</intensity>
<mentalState>ARA_HiveMindCascade</mentalState>
<baseCommonality>1</baseCommonality>
<workerClass>ArachnaeSwarm.MentalBreakWorker_HiveMindCascade</workerClass>
</MentalBreakDef>
</Defs>

View File

@@ -4,10 +4,6 @@
<thingClass>ArachnaeSwarm.Building_Incubatable</thingClass>
<category>Building</category>
<size>(1,1)</size>
<!-- <minifiedDef>MinifiedThing</minifiedDef> -->
<!-- <thingCategories>
<li>BuildingsMisc</li>
</thingCategories> -->
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_EggSac</texPath>
<graphicClass>Graphic_Single</graphicClass>
@@ -22,6 +18,9 @@
<tickerType>Normal</tickerType>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories>
<li>BuildingsMisc</li>
</thingCategories>
<statBases>
<Mass>10</Mass>
<MaxHitPoints>20</MaxHitPoints>

View File

@@ -12,4 +12,18 @@
</li>
</degreeDatas>
</TraitDef>
<TraitDef>
<defName>ARA_Queen_Main_Trait</defName>
<commonality>0</commonality>
<degreeDatas>
<li>
<degree>0</degree>
<label>我即虫群</label>
<description>{PAWN_nameDef} 是阿拉克涅虫巢中唯一可以生育督虫的个体,并且是虫巢意识金字塔的核心,肩负着引领阿拉克涅虫群前进的伟大使命。她接管了虫群中大部分的自主意识,这使得其麾下的督虫不再感到悲伤或恐惧,成为强大的血肉军团——但是一旦她出现精神崩溃,则崩溃状态会通过蜂巢网络传递给每一个子个体!</description>
<theOnlyAllowedMentalBreaks>
<li>MentalBreak_HiveMindCascade</li>
</theOnlyAllowedMentalBreaks>
</li>
</degreeDatas>
</TraitDef>
</Defs>