This commit is contained in:
2025-09-24 14:06:03 +08:00
parent bd7dc2cb65
commit c3b02d39b6

View File

@@ -9,10 +9,86 @@
<texPath>Things/Item/Resource/Shell/Shell_Toxic</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<comps>
</comps>
<destroyOnDrop>true</destroyOnDrop>
<tradeability>None</tradeability>
</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>0.5~1</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>
<li>
<subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
<fleckDef>Fleck_AcidSpitImpact</fleckDef>
<burstCount>1</burstCount>
<scale>5</scale>
<chancePerTick>1</chancePerTick>
<chancePeriodTicks>2</chancePeriodTicks>
<lifespanMaxTicks>8</lifespanMaxTicks>
<spawnLocType>OnSource</spawnLocType>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<fleckDef>Fleck_AcidSpitLaunchedMist</fleckDef>
<scale>20</scale>
<burstCount>3~6</burstCount>
<spawnLocType>OnSource</spawnLocType>
<absoluteAngle>false</absoluteAngle>
<angle>0~100</angle>
<positionRadius>1</positionRadius>
<speed>-1~1</speed>
<rotation>0</rotation>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<fleckDef>Fleck_AcidSpitLaunchedGlobFast</fleckDef>
<burstCount>6~10</burstCount>
<spawnLocType>OnSource</spawnLocType>
<absoluteAngle>false</absoluteAngle>
<positionRadius>.7</positionRadius>
<positionRadiusMin>.7</positionRadiusMin>
<fleckUsesAngleForVelocity>true</fleckUsesAngleForVelocity>
<rotateTowardsTargetCenter>true</rotateTowardsTargetCenter>
<angle>0~100</angle>
<scale>2.5</scale>
<speed>20~45</speed>
<rotation>0~360</rotation>
</li>
</children>
</EffecterDef>
<ThingDef ParentName="BuildingBase">
<defName>ARA_AutoSniperCannon</defName>
<label>血链千兆机炮</label>
@@ -64,10 +140,11 @@
</thingDefs>
</fuelFilter>
<fuelCapacity>1000</fuelCapacity>
<initialFuelPercent>0</initialFuelPercent>
<initialFuelPercent>1</initialFuelPercent>
<autoRefuelPercent>1</autoRefuelPercent>
<showFuelGizmo>true</showFuelGizmo>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
</li>
<li Class="ArachnaeSwarm.CompProperties_NutritionToFuelConverter">
<checkInterval>300</checkInterval>
@@ -195,10 +272,11 @@
</thingDefs>
</fuelFilter>
<fuelCapacity>30</fuelCapacity>
<initialFuelPercent>0</initialFuelPercent>
<initialFuelPercent>1</initialFuelPercent>
<autoRefuelPercent>1</autoRefuelPercent>
<showFuelGizmo>true</showFuelGizmo>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
</li>
<li Class="ArachnaeSwarm.CompProperties_NutritionToFuelConverter">
<checkInterval>300</checkInterval>
@@ -441,7 +519,7 @@
<explosiveRadius>10.9</explosiveRadius>
<postExplosionSpawnThingDef>ARA_Filth_SpentAcid</postExplosionSpawnThingDef>
<postExplosionSpawnChance>1</postExplosionSpawnChance>
<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
<postExplosionSpawnThingCount>2</postExplosionSpawnThingCount>
<wickTicks>30~60</wickTicks>
<explosionSound>MortarBomb_Explode</explosionSound>
<explosionEffect>ARA_Shell_AcidSpitImpact</explosionEffect>
@@ -467,7 +545,7 @@
<speed>80</speed>
<flyOverhead>true</flyOverhead>
<filth>ARA_Filth_SpentAcid</filth>
<filthCount>1</filthCount>
<filthCount>2</filthCount>
<explosionEffect>ARA_Shell_AcidSpitImpact</explosionEffect>
<explosionEffectLifetimeTicks>60</explosionEffectLifetimeTicks>
<doExplosionVFX>false</doExplosionVFX>
@@ -545,80 +623,4 @@
</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>0.5~1</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>
<li>
<subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
<fleckDef>Fleck_AcidSpitImpact</fleckDef>
<burstCount>1</burstCount>
<scale>5</scale>
<chancePerTick>1</chancePerTick>
<chancePeriodTicks>2</chancePeriodTicks>
<lifespanMaxTicks>8</lifespanMaxTicks>
<spawnLocType>OnSource</spawnLocType>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<fleckDef>Fleck_AcidSpitLaunchedMist</fleckDef>
<scale>20</scale>
<burstCount>3~6</burstCount>
<spawnLocType>OnSource</spawnLocType>
<absoluteAngle>false</absoluteAngle>
<angle>0~100</angle>
<positionRadius>1</positionRadius>
<speed>-1~1</speed>
<rotation>0</rotation>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<fleckDef>Fleck_AcidSpitLaunchedGlobFast</fleckDef>
<burstCount>6~10</burstCount>
<spawnLocType>OnSource</spawnLocType>
<absoluteAngle>false</absoluteAngle>
<positionRadius>.7</positionRadius>
<positionRadiusMin>.7</positionRadiusMin>
<fleckUsesAngleForVelocity>true</fleckUsesAngleForVelocity>
<rotateTowardsTargetCenter>true</rotateTowardsTargetCenter>
<angle>0~100</angle>
<scale>2.5</scale>
<speed>20~45</speed>
<rotation>0~360</rotation>
</li>
</children>
</EffecterDef>
</Defs>