This commit is contained in:
ProjectKoi-Kalo\Kalo 2024-06-05 20:34:53 +08:00
parent 2274852194
commit a724bc19c0
8 changed files with 130 additions and 89 deletions

Binary file not shown.

Binary file not shown.

View File

@ -112,4 +112,19 @@
<soundExplosion>Explosion_Thump</soundExplosion> <soundExplosion>Explosion_Thump</soundExplosion>
<combatLogRules>Damage_Bomb</combatLogRules> <combatLogRules>Damage_Bomb</combatLogRules>
</DamageDef> </DamageDef>
<DamageDef>
<defName>DRM_Feargas</defName> <!-- independent -->
<label>Fear gas</label>
<workerClass>DragonianMix.DamageWorker_OPToxic</workerClass>
<canInterruptJobs>false</canInterruptJobs>
<makesBlood>false</makesBlood>
<defaultDamage>0</defaultDamage>
<explosionCellFleck>BlastExtinguisher</explosionCellFleck>
<explosionColorEdge>(78,65,167,0.05)</explosionColorEdge>
<soundExplosion>Explosion_Stun</soundExplosion>
<harmsHealth>false</harmsHealth>
<combatLogRules>Damage_Extinguish</combatLogRules>
</DamageDef>
</Defs> </Defs>

View File

@ -300,6 +300,7 @@
<labelPlural>Dragonian clan councilmen</labelPlural> <labelPlural>Dragonian clan councilmen</labelPlural>
<combatPower>100</combatPower> <combatPower>100</combatPower>
<factionLeader>true</factionLeader> <factionLeader>true</factionLeader>
<titleRequired MayRequire="Ludeon.RimWorld.Royalty">DRM_Cheften</titleRequired>
<isFighter>false</isFighter> <isFighter>false</isFighter>
<itemQuality>Good</itemQuality> <itemQuality>Good</itemQuality>
@ -592,7 +593,7 @@
<labelPlural>Dragonian Princess</labelPlural> <labelPlural>Dragonian Princess</labelPlural>
<combatPower>200</combatPower> <combatPower>200</combatPower>
<factionLeader>true</factionLeader> <factionLeader>true</factionLeader>
<titleRequired>DRM_Princess</titleRequired> <titleRequired MayRequire="Ludeon.RimWorld.Royalty">DRM_Princess</titleRequired>
<isFighter>false</isFighter> <isFighter>false</isFighter>
<itemQuality>Legendary</itemQuality> <itemQuality>Legendary</itemQuality>

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<Defs>
<ThingDef Name="DRM_BaseGas" Abstract="True">
<thingClass>Gas</thingClass>
<label>gas</label>
<category>Gas</category>
<altitudeLayer>Gas</altitudeLayer>
<useHitPoints>false</useHitPoints>
<tickerType>Normal</tickerType>
<graphicData>
<graphicClass>Graphic_Gas</graphicClass>
<shaderType>Transparent</shaderType>
</graphicData>
</ThingDef>
<!-- Gas : Thing -->
<ThingDef ParentName="DRM_BaseGas">
<defName>DRM_FearGasCloud</defName>
<label>Fear gas</label>
<graphicData>
<texPath>Things/Gas/Puff</texPath>
<drawSize>2.6</drawSize>
<color>(0.3,0.25,0.65,0.5)</color>
</graphicData>
<gas>
<expireSeconds>
<min>30</min>
<max>50</max>
</expireSeconds>
<!--<blockTurretTracking>true</blockTurretTracking>
<accuracyPenalty>0.3</accuracyPenalty>-->
<rotationSpeed>20</rotationSpeed>
</gas>
<thingClass>DragonianMix.OPToxicGas</thingClass>
<modExtensions>
<li Class="DragonianMix.OPToxicDefs">
<OPToxicHediff>DRM_FearGas</OPToxicHediff> <!-- Name of HediffDef to apply, change to own HediffDef -->
<OPToxicSeverity>1</OPToxicSeverity> <!-- Severity build up per Tick period -->
<OPSevUpTickPeriod>120</OPSevUpTickPeriod> <!-- No of game ticks per each build up, recommend >= 120 -->
</li>
</modExtensions>
</ThingDef>
<!-- Gas : Thing -->
<ThingDef ParentName="DRM_BaseGas">
<defName>DRM_AcidGasCloud</defName>
<label>Acid gas</label>
<graphicData>
<texPath>Things/Gas/Puff</texPath>
<drawSize>2.6</drawSize>
<color>(0.56, 1, 0.03,0.5)</color>
</graphicData>
<gas>
<expireSeconds>
<min>30</min>
<max>50</max>
</expireSeconds>
<!--<blockTurretTracking>true</blockTurretTracking>
<accuracyPenalty>0.3</accuracyPenalty>-->
<rotationSpeed>20</rotationSpeed>
</gas>
<thingClass>DragonianMix.OPToxicGas</thingClass>
<modExtensions>
<li Class="DragonianMix.OPToxicDefs">
<OPToxicHediff>DRM_AcidCorrosion</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>
</Defs>

View File

@ -199,62 +199,6 @@
<!-- </stages> --> <!-- </stages> -->
<!-- </HediffDef> --> <!-- </HediffDef> -->
<ThingDef Name="DRM_BaseGas" Abstract="True">
<thingClass>Gas</thingClass>
<label>gas</label>
<category>Gas</category>
<altitudeLayer>Gas</altitudeLayer>
<useHitPoints>false</useHitPoints>
<tickerType>Normal</tickerType>
<graphicData>
<graphicClass>Graphic_Gas</graphicClass>
<shaderType>Transparent</shaderType>
</graphicData>
</ThingDef>
<!-- Damage -->
<DamageDef>
<defName>DRM_Feargas</defName> <!-- independent -->
<label>Fear gas</label>
<workerClass>DragonianMix.DamageWorker_OPToxic</workerClass>
<canInterruptJobs>false</canInterruptJobs>
<makesBlood>false</makesBlood>
<defaultDamage>0</defaultDamage>
<explosionCellFleck>BlastExtinguisher</explosionCellFleck>
<explosionColorEdge>(78,65,167,0.05)</explosionColorEdge>
<soundExplosion>Explosion_Stun</soundExplosion>
<harmsHealth>false</harmsHealth>
<combatLogRules>Damage_Extinguish</combatLogRules>
</DamageDef>
<!-- Gas : Thing -->
<ThingDef ParentName="DRM_BaseGas">
<defName>DRM_FearGasCloud</defName>
<label>Fear gas</label>
<graphicData>
<texPath>Things/Gas/Puff</texPath>
<drawSize>2.6</drawSize>
<color>(0.3,0.25,0.65,1)</color>
</graphicData>
<gas>
<expireSeconds>
<min>30</min>
<max>50</max>
</expireSeconds>
<!--<blockTurretTracking>true</blockTurretTracking>
<accuracyPenalty>0.3</accuracyPenalty>-->
<rotationSpeed>20</rotationSpeed>
</gas>
<thingClass>DragonianMix.OPToxicGas</thingClass>
<modExtensions>
<li Class="DragonianMix.OPToxicDefs">
<OPToxicHediff>DRM_FearGas</OPToxicHediff> <!-- Name of HediffDef to apply, change to own HediffDef -->
<OPToxicSeverity>1</OPToxicSeverity> <!-- Severity build up per Tick period -->
<OPSevUpTickPeriod>120</OPSevUpTickPeriod> <!-- No of game ticks per each build up, recommend >= 120 -->
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseBullet"> <ThingDef ParentName="BaseBullet">
<defName>DRM_Bullet_FeargasLauncher</defName> <defName>DRM_Bullet_FeargasLauncher</defName>
<label>Feargas launcher shell</label> <label>Feargas launcher shell</label>

View File

@ -103,4 +103,40 @@
</comps> </comps>
</AbilityDef> </AbilityDef>
<AbilityDef>
<defName>DRM_Acidgaspop</defName>
<label>AcidGas Pop</label>
<description>Release a cloud of Acidgas.</description>
<iconPath>UI/Abilities/ReleaseDeadlifeDust</iconPath>
<cooldownTicksRange>60000</cooldownTicksRange>
<sendMessageOnCooldownComplete>true</sendMessageOnCooldownComplete>
<aiCanUse>true</aiCanUse>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<label>release Feargas</label>
<drawAimPie>true</drawAimPie>
<warmupTime>1</warmupTime>
<range>24.9</range>
<targetParams>
<canTargetPawns>False</canTargetPawns>
<canTargetLocations>True</canTargetLocations>
</targetParams>
<soundCast>DeadlifeRelease</soundCast>
</verbProperties>
<comps>
<li Class="DragonianMix.CompProperties_AbilityDRM_Deaddustpop">
<damageDef>DRM_AcidBurn</damageDef>
<damageAmount>25</damageAmount>
<armorPenetration>0.5</armorPenetration>
<smokeRadius>9</smokeRadius>
<clamorType>Ability</clamorType>
<clamorRadius>20</clamorRadius>
<postExplosionSpawnThingDef>DRM_AcidGasCloud</postExplosionSpawnThingDef> <!-- ARL_ToxicGasCloud -->
<postExplosionSpawnChance>1</postExplosionSpawnChance>
<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
</li>
</comps>
</AbilityDef>
</Defs> </Defs>

View File

@ -245,7 +245,7 @@
<cooldownDays>40</cooldownDays> <cooldownDays>40</cooldownDays>
</RoyalTitlePermitDef> </RoyalTitlePermitDef>
<RoyalTitlePermitDef> <!--<RoyalTitlePermitDef>
<defName>DRM_CallOrbitalStrike</defName> <defName>DRM_CallOrbitalStrike</defName>
<label>call aerodrone strike</label> <label>call aerodrone strike</label>
<description>Call a single-impact aerodrone strike at a target position.</description> <description>Call a single-impact aerodrone strike at a target position.</description>
@ -264,35 +264,7 @@
<intervalTicks>60</intervalTicks> <intervalTicks>60</intervalTicks>
<warmupTicks>120</warmupTicks> <warmupTicks>120</warmupTicks>
</royalAid> </royalAid>
</RoyalTitlePermitDef> </RoyalTitlePermitDef>-->
<!-- Gas : Thing -->
<ThingDef ParentName="DRM_BaseGas">
<defName>DRM_AcidGasCloud</defName>
<label>Acid gas</label>
<graphicData>
<texPath>Things/Gas/Puff</texPath>
<drawSize>2.6</drawSize>
<color>(0.56, 1, 0.03,1)</color>
</graphicData>
<gas>
<expireSeconds>
<min>30</min>
<max>50</max>
</expireSeconds>
<!--<blockTurretTracking>true</blockTurretTracking>
<accuracyPenalty>0.3</accuracyPenalty>-->
<rotationSpeed>20</rotationSpeed>
</gas>
<thingClass>DragonianMix.OPToxicGas</thingClass>
<modExtensions>
<li Class="DragonianMix.OPToxicDefs">
<OPToxicHediff>DRM_AcidCorrosion</OPToxicHediff> <!-- Name of HediffDef to apply, change to own HediffDef -->
<OPToxicSeverity>0.05</OPToxicSeverity> <!-- Severity build up per Tick period -->
<OPSevUpTickPeriod>240</OPSevUpTickPeriod> <!-- No of game ticks per each build up, recommend >= 120 -->
</li>
</modExtensions>
</ThingDef>
<!--<RoyalTitlePermitDef> <!--<RoyalTitlePermitDef>
<defName>CallOrbitalSalvo</defName> <defName>CallOrbitalSalvo</defName>