This commit is contained in:
Tourswen
2026-01-22 00:29:12 +08:00
parent 5e3b7469e5
commit cfd178e0a6
13 changed files with 576 additions and 148 deletions

Binary file not shown.

View File

@@ -238,7 +238,6 @@
<li>
<minSeverity>0</minSeverity>
<disablesNeeds>
<li>Food</li>
<li>Rest</li>
</disablesNeeds>
</li>
@@ -538,7 +537,7 @@
<HediffDef>
<defName>ARA_Scavenger_Production_InsectJelly</defName>
<label>虫蜜腔室</label>
<description>这只阿拉克涅食腐种正在产出虫蜜,以滋养虫群。</description>
<description>这只阿拉克涅食腐种正在产出虫蜜,以滋养虫群。每只</description>
<descriptionHyperlinks>
<ThingDef>ARA_InsectJelly</ThingDef>
</descriptionHyperlinks>

View File

@@ -8,13 +8,29 @@
<listPriority>800</listPriority>
<major>true</major>
<onlyIfCausedByHediff>true</onlyIfCausedByHediff>
<showOnNeedList>true</showOnNeedList>
<hediffRequiredAny>
<li>ARA_Myrmecocystus_Production_InsectJelly</li>
</hediffRequiredAny>
<showForCaravanMembers>true</showForCaravanMembers>
<developmentalStageFilter>Baby, Child, Adult</developmentalStageFilter>
<showUnitTicks>true</showUnitTicks>
<freezeWhileSleeping>false</freezeWhileSleeping>
<minIntelligence>Animal</minIntelligence>
</NeedDef>
<NeedDef>
<defName>ARA_HoneyProduction_Animal</defName>
<needClass>ArachnaeSwarm.Need_HoneyProduction</needClass>
<label>蜜罐</label>
<description>代表这个生物储存阿拉克涅虫蜜原浆的多少。如果蜜罐满溢,则生物会尝试将其提取出来。</description>
<listPriority>800</listPriority>
<major>true</major>
<showForCaravanMembers>true</showForCaravanMembers>
<showUnitTicks>true</showUnitTicks>
<minIntelligence>Animal</minIntelligence>
<freezeWhileSleeping>false</freezeWhileSleeping>
<requiredComps>
<li Class="ArachnaeSwarm.CompProperties_HoneyProduction_Animal"></li>
</requiredComps>
</NeedDef>
<NeedDef>
<defName>ARA_ChitinArmor</defName>
@@ -24,15 +40,16 @@
<listPriority>800</listPriority>
<major>true</major>
<onlyIfCausedByHediff>true</onlyIfCausedByHediff>
<showOnNeedList>true</showOnNeedList>
<hediffRequiredAny>
<li>ARA_HiveMindMaster</li>
<li>ARA_HiveMindDrone</li>
<li>ARA_NonPlayer_HiveMindDroneHediff</li>
</hediffRequiredAny>
<showForCaravanMembers>true</showForCaravanMembers>
<developmentalStageFilter>Baby, Child, Adult</developmentalStageFilter>
<showUnitTicks>true</showUnitTicks>
<freezeWhileSleeping>false</freezeWhileSleeping>
<minIntelligence>Animal</minIntelligence>
<modExtensions>
<li Class="ArachnaeSwarm.NeedDefExtension_ChitinLevels">

View File

@@ -154,17 +154,14 @@
<label>阿拉克涅食腐种</label>
<description>阿拉克涅辅虫之一,智力低下,可以执行种植、收割、搬运、清洁和挖掘工作,注定在度过短暂的时光后死亡。</description>
<statBases>
<MaxNutrition>1.25</MaxNutrition>
<MaxNutrition>3</MaxNutrition>
</statBases>
<race>
<thinkTreeMain>ARA_Insect_Scavenger_Thinktree</thinkTreeMain>
<foodType>OmnivoreHuman,CarnivoreAnimal,OvivoreAnimal,VegetarianRoughAnimal</foodType>
<baseHungerRate>1</baseHungerRate>
<specialTrainables>
<li MayRequire="Ludeon.RimWorld.Odyssey">AttackTarget</li>
<li>ARA_Sowing</li>
<li>Dig</li>
<li>ARA_Cleaning</li>
</specialTrainables>
<deathAction Class="DeathActionProperties_Vanish">
<workerClass>DeathActionWorker_Vanish</workerClass>
@@ -173,6 +170,7 @@
</deathAction>
</race>
<comps>
<li Class="ArachnaeSwarm.CompProperties_HoneyProduction_Animal"></li>
<li Class="ArachnaeSwarm.CompProperties_AdvancedTraining">
<trainables>
<li>
@@ -195,26 +193,11 @@
<trainInstantly>true</trainInstantly>
<setWanted>true</setWanted>
</li>
<li>
<trainable>AttackTarget</trainable>
<trainInstantly>true</trainInstantly>
<setWanted>true</setWanted>
</li>
<li>
<trainable>Dig</trainable>
<trainInstantly>true</trainInstantly>
<setWanted>true</setWanted>
</li>
<li>
<trainable>ARA_Sowing</trainable>
<trainInstantly>true</trainInstantly>
<setWanted>true</setWanted>
</li>
<li>
<trainable>ARA_Cleaning</trainable>
<trainInstantly>true</trainInstantly>
<setWanted>true</setWanted>
</li>
<li>
<trainable>Haul</trainable>
<trainInstantly>true</trainInstantly>

View File

@@ -19,13 +19,14 @@
</statBases>
<ingestible>
<foodType>AnimalProduct</foodType>
<preferability>MealFine</preferability>
<preferability>RawTasty</preferability>
<joy>0.04</joy>
<joyKind>Gluttonous</joyKind>
<ingestEffect>EatVegetarian</ingestEffect>
<ingestSound>Meal_Eat</ingestSound>
<lowPriorityCaravanFood>true</lowPriorityCaravanFood>
<babiesCanIngest>true</babiesCanIngest>
<optimalityOffsetFeedingAnimals>-1000</optimalityOffsetFeedingAnimals>
</ingestible>
<thingCategories>
<li>AnimalProductRaw</li>

View File

@@ -741,7 +741,7 @@
<ThingDef ParentName="BuildingBase">
<defName>ARA_SmartThermostat</defName>
<label>阿拉克涅纤管种</label>
<description>一只只有基础反射反应的阿拉克涅辅虫,它会尝试将通过气体交换,维持尾部所向的房间的温度。必须像制冷器一样安装在墙上。</description>
<description>一只只有基础反射反应的阿拉克涅辅虫,它会尝试将通过气体交换,维持尾部所向的房间的温度。必须像制冷器一样安装在墙上。(尖头朝外,圆头朝内)</description>
<thingClass>ArachnaeSwarm.Building_SmartThermostat</thingClass>
<uiIconPath>ArachnaeSwarm/Building/ARA_SmartThermostat_south</uiIconPath>
<tickerType>Rare</tickerType>

View File

@@ -2050,7 +2050,11 @@
</subNodes>
</li>
<li Class="ArachnaeSwarm.ThinkNode_JobGiver_ExtractHoney"/>
<li Class="ArachnaeSwarm.ThinkNode_ConditionalShouldExtract">
<subNodes>
<li Class="ArachnaeSwarm.JobGiver_ExtractHoney"/>
</subNodes>
</li>
<!-- OUR CUSTOM LOGIC INJECTION FOR PLANT HARVESTING -->
<li Class="ArachnaeSwarm.ThinkNode_ConditionalAnimalShouldDoGrowingWork">