This commit is contained in:
2025-09-01 16:56:48 +08:00
parent e58fac54f8
commit 9ab3300ac6
7 changed files with 66 additions and 21 deletions

View File

@@ -30,6 +30,10 @@
<needCost>4</needCost>
<failMessage>食物不足</failMessage>
</li>
<li Class="ArachnaeSwarm.CompProperties_AbilityBodyPartCheck">
<requiredPart>ARA_Ovary</requiredPart>
<failMessage>卵巢受损或缺失,无法生育</failMessage>
</li>
</comps>
</AbilityDef>
@@ -64,12 +68,12 @@
<shotCount>32</shotCount> <!-- 总共发射5次 -->
<ticksBetweenShots>3</ticksBetweenShots> <!-- 每次发射间隔12 Ticks (0.2秒) -->
</li>
</comps>
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
<needDef>Food</needDef>
<needCost>0.5</needCost>
<failMessage>食物不足</failMessage>
</li>
</comps>
</AbilityDef>
<ThingDef>

View File

@@ -33,11 +33,7 @@
<isTargetable>true</isTargetable>
<expandHomeArea>false</expandHomeArea>
</building>
<hatchingGraphicData>
<texPath>Things/Building/Natural/Hive</texPath>
<graphicClass>Graphic_Random</graphicClass>
<drawSize>1.6</drawSize>
</hatchingGraphicData>
<comps>
<li Class="CompProperties_Glower">
<glowRadius>6</glowRadius>
@@ -54,10 +50,16 @@
</whitelist>
<delay>300</delay> <!-- 5 seconds -->
<destroyOnSpawn>true</destroyOnSpawn>
<hatchingGraphicData>
<texPath>Things/Building/Natural/Hive</texPath>
<graphicClass>Graphic_Random</graphicClass>
<drawSize>1.6</drawSize>
</hatchingGraphicData>
</li>
<li Class="CompProperties_SpawnEffecterOnDestroy">
<effect>CocoonDestroyed</effect>
</li>
</comps>
</ThingDef>