This commit is contained in:
2025-09-23 14:19:47 +08:00
parent 787d4bb248
commit efca10f561
8 changed files with 175 additions and 21 deletions

Binary file not shown.

View File

@@ -8,13 +8,10 @@
<thingClass>ArachnaeSwarm.Building_CatastropheMissileSilo</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<graphicData>
<texPath>Things/Building/Security/TurretHeavy_Base</texPath>
<texPath>ArachnaeSwarm/Building/ARA_CatastropheMissileSilo_Base</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3, 3)</drawSize>
<drawSize>(2.5,2.5)</drawSize>
<drawOffset>(0,0,-0.1)</drawOffset>
<damageData>
<rect>(0.2,0.2,0.6,0.6)</rect>
</damageData>
<shadowData>
<volume>(1.5,0.35,1.4)</volume>
<offset>(0,0,-0.05)</offset>
@@ -40,7 +37,7 @@
<outOfFuelMessage>缺少导弹</outOfFuelMessage>
<fuelFilter>
<thingDefs>
<li>ComponentSpacer</li>
<li>ARA_CatastropheMissile_Shell</li>
</thingDefs>
</fuelFilter>
<fuelCapacity>10</fuelCapacity>
@@ -67,7 +64,31 @@
</researchPrerequisites>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<ThingDef ParentName="ShellBase">
<defName>ARA_CatastropheMissile_Shell</defName>
<label>天灾导弹</label>
<description>阿拉克涅虫族使用的天灾导弹.</description>
<possessionCount>2</possessionCount>
<graphicData>
<texPath>Things/Item/Resource/Shell/Shell_Toxic</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<comps>
<li Class="CompProperties_Explosive">
<damageAmountBase>150</damageAmountBase>
<explosiveDamageType>ARA_AcidBurn</explosiveDamageType>
<explosiveRadius>10.9</explosiveRadius>
<postExplosionSpawnThingDef>ARA_Filth_SpentAcid</postExplosionSpawnThingDef>
<postExplosionSpawnChance>1</postExplosionSpawnChance>
<postExplosionSpawnThingCount>2</postExplosionSpawnThingCount>
<wickTicks>30~60</wickTicks>
<explosionSound>MortarBomb_Explode</explosionSound>
<explosionEffect>ARA_Shell_AcidSpitImpact</explosionEffect>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Projectile_CatastropheMissile</defName>
<label>“天灾”巡航导弹</label>
<thingClass>ArachnaeSwarm.Projectile_CruiseMissile</thingClass>
@@ -84,8 +105,8 @@
<damageAmountBase>150</damageAmountBase>
<speed>80</speed>
<flyOverhead>true</flyOverhead>
<filth>Filth_SpentAcid</filth>
<filthCount>4</filthCount>
<filth>ARA_Filth_SpentAcid</filth>
<filthCount>2</filthCount>
<explosionEffect>ARA_Shell_AcidSpitImpact</explosionEffect>
<explosionEffectLifetimeTicks>60</explosionEffectLifetimeTicks>
<doExplosionVFX>false</doExplosionVFX>
@@ -123,6 +144,39 @@
</comps>
</ThingDef>
<ThingDef ParentName="BaseFilth">
<defName>ARA_Filth_SpentAcid</defName>
<label>阿拉克涅残酸</label>
<tickerType>Normal</tickerType>
<statBases>
<Beauty>-30</Beauty>
<Cleanliness>-5</Cleanliness>
</statBases>
<graphicData>
<texPath>Things/Filth/Acid</texPath>
<graphicClass>Graphic_Random</graphicClass>
<drawSize>2.5</drawSize>
<color>(1,1,1,0.5)</color>
</graphicData>
<filth>
<ignoreFilthMultiplierStat>true</ignoreFilthMultiplierStat>
<disappearsInDays>1~3</disappearsInDays>
<rainWashes>true</rainWashes>
<cleaningWorkToReduceThickness>70</cleaningWorkToReduceThickness>
<canFilthAttach>true</canFilthAttach>
<maxThickness>1</maxThickness>
<cleaningSound>Interact_CleanFilth_Fluid</cleaningSound>
</filth>
<thingClass>ArachnaeSwarm.Filth_Toxic</thingClass>
<modExtensions>
<li Class="ArachnaeSwarm.OPToxicDefs">
<OPToxicHediff>ARA_AcidCoverd</OPToxicHediff> <!-- Name of HediffDef to apply, change to own HediffDef -->
<OPToxicSeverity>0.1</OPToxicSeverity> <!-- Severity build up per Tick period -->
<OPSevUpTickPeriod>240</OPSevUpTickPeriod> <!-- No of game ticks per each build up, recommend >= 120 -->
</li>
</modExtensions>
</ThingDef>
<EffecterDef>
<defName>ARA_Shell_AcidSpitImpact</defName>
<children>
@@ -206,17 +260,17 @@
</comps>
</ThingDef>
<ThingDef ParentName="BaseWeapon">
<ThingDef ParentName="BaseArtilleryWeapon">
<defName>CatastropheMissile_Weapon</defName>
<label>天灾导弹武器系统</label>
<description>天灾导弹的发射系统。</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Things/Building/Security/TurretMortar_Top</texPath>
<texPath>ArachnaeSwarm/Building/ARA_CatastropheMissileSilo_Tower</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(5,5)</drawSize>
</graphicData>
<statBases>
<RangedWeapon_Cooldown>5.0</RangedWeapon_Cooldown>
<RangedWeapon_Cooldown>15.0</RangedWeapon_Cooldown>
<Mass>50</Mass>
</statBases>
<verbs>