This commit is contained in:
2025-12-19 12:00:27 +08:00
parent 6d7ac8f054
commit dc719fbf28
17 changed files with 766 additions and 732 deletions

Binary file not shown.

View File

@@ -219,7 +219,7 @@
<sprayEffecter>AcidSpray_Directional</sprayEffecter>
<!-- CompProperties_AbilitySprayLiquidMulti 新增的属性 -->
<shotCount>32</shotCount> <!-- 总共发射5次 -->
<shotCount>5</shotCount> <!-- 总共发射5次 -->
<ticksBetweenShots>3</ticksBetweenShots> <!-- 每次发射间隔12 Ticks (0.2秒) -->
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
@@ -257,7 +257,7 @@
<projectile>
<damageDef>ARA_AcidBurn</damageDef>
<speed>25</speed>
<damageAmountBase>2</damageAmountBase>
<damageAmountBase>25</damageAmountBase>
<arcHeightFactor>0.4</arcHeightFactor>
<armorPenetrationBase>0.1</armorPenetrationBase>
<stoppingPower>1</stoppingPower>
@@ -338,7 +338,7 @@
<sprayEffecter>AcidSpray_Directional</sprayEffecter>
<!-- CompProperties_AbilitySprayLiquidMulti 新增的属性 -->
<shotCount>16</shotCount> <!-- 总共发射5次 -->
<shotCount>3</shotCount> <!-- 总共发射5次 -->
<ticksBetweenShots>3</ticksBetweenShots> <!-- 每次发射间隔12 Ticks (0.2秒) -->
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
@@ -673,7 +673,7 @@
<defName>ARA_Flyer_TrackingCharge</defName>
<thingClass>ArachnaeSwarm.PawnFlyer_TrackingCharge</thingClass>
<pawnFlyer>
<flightSpeed>1.5</flightSpeed>
<flightSpeed>0.5</flightSpeed>
<heightFactor>0</heightFactor>
</pawnFlyer>
</ThingDef>

View File

@@ -1532,10 +1532,23 @@
<stages>
<li>
<minSeverity>0</minSeverity>
<!-- 不会感到痛苦 -->
<painFactor>0</painFactor>
<makeImmuneTo>
<li>Flu</li>
<li>Malaria</li>
<li>SleepingSickness</li>
<li>Plague</li>
<li>WoundInfection</li>
<li>LungRot</li>
<li>GutWorms</li>
<li>MuscleParasites</li>
<li>OrganDecay</li>
</makeImmuneTo>
<statFactors>
<StaggerDurationFactor>0</StaggerDurationFactor>
<Flammability>0</Flammability>
<MeleeHitChance>5</MeleeHitChance>
<!-- <Flammability>0</Flammability> -->
<MeleeHitChance>25</MeleeHitChance>
<IncomingDamageFactor>0.25</IncomingDamageFactor>
</statFactors>
<statOffsets>

View File

@@ -585,10 +585,15 @@
</lifeStages>
</PawnKindDef>
<PawnKindDef ParentName="ARA_InsectKindBase">
<PawnKindDef ParentName="AnimalKindBase">
<defName>ArachnaeBeast_Race_Slayer</defName>
<label>阿拉克涅暴屠种</label>
<race>ArachnaeBeast_Race_Slayer</race>
<forceDeathOnDowned>false</forceDeathOnDowned>
<forceNoDeathNotification>false</forceNoDeathNotification>
<immuneToGameConditionEffects>true</immuneToGameConditionEffects>
<collidesWithPawns>false</collidesWithPawns>
<combatPower>500</combatPower>
<lifeStages>
<li>
<bodyGraphicData>

View File

@@ -28,9 +28,9 @@
<capacities>
<li>ARA_PawnBodyWeapon_Cleave</li>
</capacities>
<power>65</power>
<power>50</power>
<armorPenetration>2</armorPenetration>
<cooldownTime>2</cooldownTime>
<cooldownTime>2.75</cooldownTime>
<soundMeleeHit>ArachnaeBeast_Race_Slayer_Cleave_Hit</soundMeleeHit>
<soundMeleeMiss>ArachnaeBeast_Race_Slayer_Cleave_Hit</soundMeleeMiss>
</li>
@@ -95,7 +95,7 @@
<radius>3</radius>
<damageIntervalTicks>180</damageIntervalTicks>
<damageDef>Crush</damageDef>
<damageAmount>80</damageAmount>
<damageAmount>20</damageAmount>
<scaleWithPsychicSensitivity>false</scaleWithPsychicSensitivity>
<areaEffecterDef>ARA_Area_Crush</areaEffecterDef>
<toggleLabel>践踏</toggleLabel>

View File

@@ -610,6 +610,24 @@
<baseBodySize>1</baseBodySize>
</race>
<recipes Inherit="False">
<li>ARA_CureBloodRot</li>
<li>ARA_CureAcid</li>
<li>RemovePorcupineQuill</li>
<li>SurgicalInspection</li>
<li>ARA_Surgery_Install_Plasteel</li>
<li>ARA_Surgery_Install_Carapace_Shell</li>
<li>ARA_Surgery_Install_Huge_Stomach</li>
<li>ARA_Surgery_Install_Cycle_Suppression</li>
<li>ARA_Surgery_Install_Shell_Thorn</li>
<li>ARA_Surgery_Install_Reactive_Shell</li>
<li>ARA_Surgery_Install_Strengthening_Tendon</li>
<li>ARA_Surgery_Install_Slide_Patagium</li>
<li>ARA_Surgery_Install_Acidling_Pouch</li>
<li>ARA_Surgery_Install_Tumor_Pouch</li>
<li>ARA_Surgery_Install_Internal_Circulation_Lung</li>
</recipes>
<!-- 工具设置(攻击方式) -->
<tools Inherit="False">
<li>

View File

@@ -9,24 +9,6 @@
<RoyalFavorValue>3</RoyalFavorValue>
</statBases>
<recipes Inherit="False">
<li>ARA_CureBloodRot</li>
<li>ARA_CureAcid</li>
<li>RemovePorcupineQuill</li>
<li>SurgicalInspection</li>
<li>ARA_Surgery_Install_Plasteel</li>
<li>ARA_Surgery_Install_Carapace_Shell</li>
<li>ARA_Surgery_Install_Huge_Stomach</li>
<li>ARA_Surgery_Install_Cycle_Suppression</li>
<li>ARA_Surgery_Install_Shell_Thorn</li>
<li>ARA_Surgery_Install_Reactive_Shell</li>
<li>ARA_Surgery_Install_Strengthening_Tendon</li>
<li>ARA_Surgery_Install_Slide_Patagium</li>
<li>ARA_Surgery_Install_Acidling_Pouch</li>
<li>ARA_Surgery_Install_Tumor_Pouch</li>
<li>ARA_Surgery_Install_Internal_Circulation_Lung</li>
</recipes>
<race>
<!-- <nameGenerator>ARA_NamerHivePawnGeneric</nameGenerator> -->
@@ -560,6 +542,24 @@
</relationSettings>
</alienRace>
<recipes Inherit="False">
<li>ARA_CureBloodRot</li>
<li>ARA_CureAcid</li>
<li>RemovePorcupineQuill</li>
<li>SurgicalInspection</li>
<li>ARA_Surgery_Install_Plasteel</li>
<li>ARA_Surgery_Install_Carapace_Shell</li>
<li>ARA_Surgery_Install_Huge_Stomach</li>
<li>ARA_Surgery_Install_Cycle_Suppression</li>
<li>ARA_Surgery_Install_Shell_Thorn</li>
<li>ARA_Surgery_Install_Reactive_Shell</li>
<li>ARA_Surgery_Install_Strengthening_Tendon</li>
<li>ARA_Surgery_Install_Slide_Patagium</li>
<li>ARA_Surgery_Install_Acidling_Pouch</li>
<li>ARA_Surgery_Install_Tumor_Pouch</li>
<li>ARA_Surgery_Install_Internal_Circulation_Lung</li>
</recipes>
<!-- 基础属性设置 -->
<statBases>
<!-- 市场价值 -->
@@ -767,6 +767,18 @@
</productionQueue>
<spawnEffecter>CocoonDestroyed</spawnEffecter>
</li>
<li Class="ArachnaeSwarm.CompProperties_AreaDamage">
<radius>3</radius>
<damageIntervalTicks>180</damageIntervalTicks>
<damageDef>Crush</damageDef>
<damageAmount>10</damageAmount>
<scaleWithPsychicSensitivity>false</scaleWithPsychicSensitivity>
<areaEffecterDef>ARA_Area_Crush</areaEffecterDef>
<startEnabled>false</startEnabled>
<toggleLabel>践踏</toggleLabel>
<toggleDescription>这只阿拉克涅虫族的身躯是如此巨大,以至于靠近它的敌人会被直接一脚踩死</toggleDescription>
<toggleIconPath>ArachnaeSwarm/UI/Abilities/ARA_Area_Crush</toggleIconPath>
</li>
</comps>
</AlienRace.ThingDef_AlienRace>
</Defs>

View File

@@ -623,7 +623,7 @@
<!-- 视觉效果 -->
<spawnOffsetEffect>true</spawnOffsetEffect>
<offsetEffectDef>Mote_Smoke</offsetEffectDef>
<!-- <offsetEffectDef>Mote_Smoke</offsetEffectDef> -->
</li>
</comps>
</ThingDef>
@@ -686,7 +686,7 @@
<!-- 视觉效果 -->
<spawnOffsetEffect>true</spawnOffsetEffect>
<offsetEffectDef>Mote_Smoke</offsetEffectDef>
<!-- <offsetEffectDef>Mote_Smoke</offsetEffectDef> -->
</li>
<li Class="ArachnaeSwarm.CompProperties_SectorSurveillance">
<projectileDef>Bullet_ARA_HiveCorvette</projectileDef>

View File

@@ -20,6 +20,37 @@
</li>
</comps>
</ThingDef>
<ThingDef ParentName="CavePlantBase">
<defName>ARA_CreepPlant</defName>
<label>菌毯奇花</label>
<description>一种只能在阿拉克涅菌毯上生长的奇特植物,虽然必须在黑暗中成长,但是几乎不消耗肥力,产出可供虫群食用的菇类。</description>
<statBases>
<MarketValue>10</MarketValue>
<MaxHitPoints>85</MaxHitPoints>
<Beauty>4</Beauty>
<Nutrition>0.2</Nutrition>
</statBases>
<graphicData>
<texPath>ArachnaeSwarm/Plant/ARA_CreepPlant</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<selectable>true</selectable>
<pathCost>10</pathCost>
<plant>
<fertilityMin>0.05</fertilityMin>
<fertilitySensitivity>0.05</fertilitySensitivity>
<growDays>3</growDays>
<harvestYield>10</harvestYield>
<harvestedThingDef>ARA_CreepFungus</harvestedThingDef>
<sowTags>
<li>Ground</li>
</sowTags>
<wildTerrainTags>
<li>ARA_Creep</li>
</wildTerrainTags>
<visualSizeRange>0.3~0.8</visualSizeRange>
</plant>
</ThingDef>
<!-- 炮台 -->
<ThingDef ParentName="PlantBase">
@@ -109,8 +140,8 @@
<!-- 活化作物 -->
<ThingDef ParentName="CavePlantBase">
<defName>ARA_CreepPlant</defName>
<label>钜菌奇花</label>
<defName>ARA_Bacterium_Plant</defName>
<label>钜菌</label>
<description>一种只能在阿拉克涅菌毯上生长的奇特植物,虽然必须在黑暗中成长,但是几乎不消耗肥力,并产出虫群所需的活化钜菌。</description>
<statBases>
<MarketValue>10</MarketValue>

View File

@@ -709,6 +709,7 @@
<description>一只只有基础反射反应的阿拉克涅辅虫,它会尝试将通过气体交换,维持尾部所向的房间的温度。必须像制冷器一样安装在墙上。</description>
<thingClass>ArachnaeSwarm.Building_SmartThermostat</thingClass>
<uiIconPath>ArachnaeSwarm/Building/ARA_SmartThermostat_south</uiIconPath>
<tickerType>Rare</tickerType>
<graphicData>
<texPath>ArachnaeSwarm/Building/ARA_SmartThermostat</texPath>
<graphicClass>Graphic_Multi</graphicClass>
@@ -735,7 +736,6 @@
<MaxHitPoints>1200</MaxHitPoints>
<Flammability>1.0</Flammability>
</statBases>
<tickerType>Rare</tickerType>
<costList>
<ARA_Carapace>50</ARA_Carapace>
<ARA_InsectJelly>20</ARA_InsectJelly>
@@ -762,13 +762,6 @@
</researchPrerequisites>
<designationCategory>ARA_Buildings</designationCategory>
<comps>
<li Class="ArachnaeSwarm.CompProperties_SwarmMaintenance">
<maxMaintenance>100</maxMaintenance>
<maintenanceDecayPerDay>10</maintenanceDecayPerDay>
<damagePerSecondWhenEmpty>2</damagePerSecondWhenEmpty>
<warningThreshold>0.2</warningThreshold>
<maintenanceThresholdForJob>0.5</maintenanceThresholdForJob>
</li>
<!-- 提供开关按钮 -->
<li Class="CompProperties_Flickable">
<commandTexture>UI/Commands/Vent</commandTexture>

View File

@@ -160,7 +160,7 @@
<comps>
<li Class="ArachnaeSwarm.CompProperties_SwarmMaintenance">
<maxMaintenance>100</maxMaintenance>
<maintenanceDecayPerDay>10</maintenanceDecayPerDay>
<maintenanceDecayPerDay>30</maintenanceDecayPerDay>
<damagePerSecondWhenEmpty>2</damagePerSecondWhenEmpty>
<warningThreshold>0.2</warningThreshold>
<maintenanceThresholdForJob>0.5</maintenanceThresholdForJob>
@@ -488,7 +488,7 @@
<comps>
<li Class="ArachnaeSwarm.CompProperties_SwarmMaintenance">
<maxMaintenance>100</maxMaintenance>
<maintenanceDecayPerDay>10</maintenanceDecayPerDay>
<maintenanceDecayPerDay>30</maintenanceDecayPerDay>
<damagePerSecondWhenEmpty>2</damagePerSecondWhenEmpty>
<warningThreshold>0.2</warningThreshold>
<maintenanceThresholdForJob>0.5</maintenanceThresholdForJob>
@@ -561,7 +561,7 @@
<modExtensions>
<li Class="ArachnaeSwarm.ResearchBlueprintReaderExtension">
<researchSpeed>0.5</researchSpeed>
<researchSpeed>0.25</researchSpeed>
</li>
</modExtensions>
@@ -571,7 +571,7 @@
</li>
<li Class="ArachnaeSwarm.CompProperties_SwarmMaintenance">
<maxMaintenance>100</maxMaintenance>
<maintenanceDecayPerDay>10</maintenanceDecayPerDay>
<maintenanceDecayPerDay>20</maintenanceDecayPerDay>
<damagePerSecondWhenEmpty>2</damagePerSecondWhenEmpty>
<warningThreshold>0.2</warningThreshold>
<maintenanceThresholdForJob>0.5</maintenanceThresholdForJob>

View File

@@ -161,9 +161,9 @@
<!-- <li Class="ThinkNode_Subtree">
<treeDef>BurningResponse</treeDef>
</li> -->
<li Class="ThinkNode_Subtree">
<!-- <li Class="ThinkNode_Subtree">
<treeDef>MentalStateCritical</treeDef>
</li>
</li> -->
<!-- React to close melee threat -->
<li Class="JobGiver_ReactToCloseMeleeThreat"/>
@@ -185,9 +185,9 @@
</li>
<!-- Mental state non critical -->
<li Class="ThinkNode_Subtree">
<!-- <li Class="ThinkNode_Subtree">
<treeDef>MentalStateNonCritical</treeDef>
</li>
</li> -->
<!-- Forced goto -->
<li Class="ThinkNode_ConditionalForcedGoto">

View File

@@ -51,7 +51,7 @@
<label>暴屠冲撞</label>
<description>以庞大的身躯冲撞目标,对路径上的一切造成伤害。在冲击中途经的距离越远,伤害越高。</description>
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_Ability_TrackingCharge</iconPath> <!-- Placeholder Icon -->
<cooldownTicksRange>600</cooldownTicksRange>
<cooldownTicksRange>3000</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<verbProperties>
@@ -75,9 +75,9 @@
</li>
<li Class="ArachnaeSwarm.CompProperties_TrackingCharge">
<homingSpeed>1.5</homingSpeed>
<initialDamage>100</initialDamage>
<initialDamage>50</initialDamage>
<damagePerTile>3</damagePerTile>
<inertiaDistance>25</inertiaDistance>
<inertiaDistance>15</inertiaDistance>
<collisionDamageDef>Blunt</collisionDamageDef>
<flyerDef>ARA_Flyer_TrackingCharge</flyerDef>
<collisionRadius>3.5</collisionRadius> <!-- Larger collision radius -->

File diff suppressed because it is too large Load Diff

View File

@@ -136,8 +136,6 @@
<Compile Include="HarmonyPatches\Patch_ResearchManager_AddRemoveMethod.cs" />
<Compile Include="Pawn_Comps\ARA_DratfableAnimals\CompDratfableAnimals.cs" />
<Compile Include="Pawn_Comps\ARA_DratfableAnimals\CompProperties_DratfableAnimals.cs" />
<Compile Include="Pawn_Comps\ARA_PreventPartLoss\CompProperties_PreventPartLoss.cs" />
<Compile Include="Pawn_Comps\ARA_PreventPartLoss\PreventPartLossPatches.cs" />
<Compile Include="Pawn_Comps\ARA_SwarmMaintainer\CompProperties_SwarmMaintainer.cs" />
<Compile Include="Pawn_Comps\ARA_SwarmMaintainer\Comp_SwarmMaintainer.cs" />
<Compile Include="Pawn_Comps\ARA_DratfableAnimals\BeastUnit.cs" />

View File

@@ -7,7 +7,7 @@ namespace ArachnaeSwarm
public class Need_HoneyProduction : Need
{
// 转化率:多少食物流失转换为蜂蜜
public float ConversionRate = 10f;
public float ConversionRate = 5f;
// 基础流失速率(与食物需要对应)
private const float BaseHoneyGainPerTick = 2.6666667E-05f;