恐惧毒气
This commit is contained in:
parent
facd01323f
commit
27551484b3
Binary file not shown.
Binary file not shown.
@ -365,6 +365,84 @@
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
<HediffDef ParentName="DiseaseBase">
|
||||
<defName>DRM_FearGas</defName>
|
||||
<label>Fear gas</label>
|
||||
<description>Aftereffects of exposure to Fear Toxgas, It burns the lungs and eyes, causing a temporary shortness of breath and reduction in sight. Continued exposure to fear gas results in panic and violent behavior.</description>
|
||||
<isBad>true</isBad>
|
||||
<defaultLabelColor>(0.3,0.25,0.65)</defaultLabelColor>
|
||||
<initialSeverity>1</initialSeverity>
|
||||
<maxSeverity>3</maxSeverity>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<comps>
|
||||
<li Class="HediffCompProperties_SeverityPerDay">
|
||||
<severityPerDay>-30</severityPerDay>
|
||||
</li>
|
||||
<li Class="HediffCompProperties_CauseMentalState">
|
||||
<animalMentalState>ManhunterPermanent</animalMentalState>
|
||||
<animalMentalStateAlias>Manhunter</animalMentalStateAlias>
|
||||
<humanMentalState>Berserk</humanMentalState>
|
||||
<mtbDaysToCauseMentalState>1</mtbDaysToCauseMentalState>
|
||||
</li>
|
||||
</comps>
|
||||
<stages>
|
||||
<li>
|
||||
<label>mild</label>
|
||||
<minSeverity>1</minSeverity>
|
||||
<painFactor>1.0</painFactor>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Sight</capacity>
|
||||
<offset>-0.3</offset>
|
||||
</li>
|
||||
<li>
|
||||
<capacity>Breathing</capacity>
|
||||
<offset>-0.15</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<statOffsets>
|
||||
<MentalBreakThreshold>0.14</MentalBreakThreshold>
|
||||
</statOffsets>
|
||||
</li>
|
||||
<li>
|
||||
<label>moderate</label>
|
||||
<minSeverity>2</minSeverity>
|
||||
<painFactor>1.2</painFactor>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Sight</capacity>
|
||||
<offset>-0.6</offset>
|
||||
</li>
|
||||
<li>
|
||||
<capacity>Breathing</capacity>
|
||||
<offset>-0.3</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<statOffsets>
|
||||
<MentalBreakThreshold>0.42</MentalBreakThreshold>
|
||||
</statOffsets>
|
||||
</li>
|
||||
<li>
|
||||
<label>severe</label>
|
||||
<minSeverity>3</minSeverity>
|
||||
<painFactor>2.0</painFactor>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Sight</capacity>
|
||||
<setMax>0</setMax>
|
||||
</li>
|
||||
<li>
|
||||
<capacity>Breathing</capacity>
|
||||
<offset>-0.60</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<statOffsets>
|
||||
<MentalBreakThreshold>1</MentalBreakThreshold>
|
||||
</statOffsets>
|
||||
</li>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
<HediffDef>
|
||||
<defName>DRM_ArmorMeltdown</defName>
|
||||
<label>Armor Meltdown</label>
|
||||
|
@ -84,8 +84,8 @@
|
||||
<!-- <defName>DR_MechaShortCircuit</defName> -->
|
||||
<!-- <label>short circuit</label> -->
|
||||
<!-- <description>overvoltage in the circuit. This can come from various sources, including environmental toxins, venomous bites, or poisoned weapons. -->
|
||||
<!-- \nAt high doses, toxic buildup is lethal. Even at low doses, it can generate cancers. -->
|
||||
<!-- \nCreatures who die with toxic buildup cannot be eaten.</description> -->
|
||||
<!-- \nAt high doses, toxic buildup is lethal. Even at low doses, it can generate cancers. -->
|
||||
<!-- \nCreatures who die with toxic buildup cannot be eaten.</description> -->
|
||||
<!-- <hediffClass>HediffWithComps</hediffClass> -->
|
||||
<!-- <defaultLabelColor>(0.7, 0.7, 1.0)</defaultLabelColor> -->
|
||||
<!-- <lethalSeverity>1</lethalSeverity> -->
|
||||
@ -235,7 +235,7 @@
|
||||
</skillRequirements>
|
||||
</recipeMaker>
|
||||
<weaponTags>
|
||||
<li>DR_BattleStaff</li>
|
||||
<li>DR_BattleStaff_Arc</li>
|
||||
</weaponTags>
|
||||
<thingCategories>
|
||||
<li>WeaponsRanged</li>
|
||||
@ -325,4 +325,186 @@
|
||||
</graphicData>
|
||||
</ThingDef>
|
||||
|
||||
<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/ThickSmoke</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">
|
||||
<defName>DRM_Bullet_FeargasLauncher</defName>
|
||||
<label>Feargas launcher shell</label>
|
||||
<graphicData>
|
||||
<texPath>Things/Projectile/LauncherShot</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>TransparentPostLight</shaderType>
|
||||
<color>(78,65,167)</color>
|
||||
</graphicData>
|
||||
<thingClass>Projectile_Explosive</thingClass>
|
||||
<projectile>
|
||||
<speed>40</speed>
|
||||
<damageDef>DRM_Feargas</damageDef>
|
||||
<!-- Use default damage from explosion def -->
|
||||
<explosionRadius>5.4</explosionRadius>
|
||||
<soundExplode>DispensePaste</soundExplode>
|
||||
<postExplosionSpawnThingDef>DRM_FearGasCloud</postExplosionSpawnThingDef> <!-- ARL_ToxicGasCloud -->
|
||||
<postExplosionSpawnChance>1</postExplosionSpawnChance>
|
||||
<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
|
||||
<arcHeightFactor>2</arcHeightFactor>
|
||||
<shadowSize>0.5</shadowSize>
|
||||
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
|
||||
<explosionDelay>100</explosionDelay>
|
||||
</projectile>
|
||||
</ThingDef>
|
||||
|
||||
<ThingDef ParentName="BaseMeleeWeapon_Sharp_Quality">
|
||||
<defName>DR_BattleStaff_Fear</defName>
|
||||
<label>Dragonian Fear Staff</label>
|
||||
<description>A Staff for Dragonian.Can Shoot Feartox bomb.</description>
|
||||
<graphicData>
|
||||
<texPath>Dragonian/Things/Weapon/staff</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>CutoutComplex</shaderType>
|
||||
</graphicData>
|
||||
<uiIconScale>1</uiIconScale>
|
||||
<techLevel>Medieval</techLevel>
|
||||
<statBases>
|
||||
<WorkToMake>12000</WorkToMake>
|
||||
<Mass>15</Mass>
|
||||
<AccuracyTouch>0.60</AccuracyTouch>
|
||||
<AccuracyShort>0.70</AccuracyShort>
|
||||
<AccuracyMedium>0.65</AccuracyMedium>
|
||||
<AccuracyLong>0.55</AccuracyLong>
|
||||
<RangedWeapon_Cooldown>1.70</RangedWeapon_Cooldown>
|
||||
</statBases>
|
||||
<equippedAngleOffset>45</equippedAngleOffset>
|
||||
<costStuffCount>80</costStuffCount>
|
||||
<stuffCategories>
|
||||
<li>Metallic</li>
|
||||
</stuffCategories>
|
||||
<costList>
|
||||
<WoolDragonian>40</WoolDragonian>
|
||||
<Steel>40</Steel>
|
||||
<ComponentIndustrial>5</ComponentIndustrial>
|
||||
</costList>
|
||||
<recipeMaker>
|
||||
<skillRequirements>
|
||||
<Crafting>10</Crafting>
|
||||
</skillRequirements>
|
||||
</recipeMaker>
|
||||
<weaponTags>
|
||||
<li>DR_BattleStaff</li>
|
||||
<li>DR_BattleStaff_Fear</li>
|
||||
</weaponTags>
|
||||
<thingCategories>
|
||||
<li>WeaponsRanged</li>
|
||||
</thingCategories>
|
||||
<weaponClasses>
|
||||
<li>Ranged</li>
|
||||
</weaponClasses>
|
||||
<verbs>
|
||||
<li>
|
||||
<verbClass>Verb_Shoot</verbClass>
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<defaultProjectile>DRM_Bullet_FeargasLauncher</defaultProjectile>
|
||||
<warmupTime>3.5</warmupTime>
|
||||
<range>23.9</range>
|
||||
<forcedMissRadius>1.9</forcedMissRadius>
|
||||
<burstShotCount>1</burstShotCount>
|
||||
<soundCast>Shot_IncendiaryLauncher</soundCast>
|
||||
<soundCastTail>GunTail_Medium</soundCastTail>
|
||||
<muzzleFlashScale>14</muzzleFlashScale>
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
</li>
|
||||
</verbs>
|
||||
<tools>
|
||||
<li>
|
||||
<label>handle</label>
|
||||
<capacities>
|
||||
<li>Poke</li>
|
||||
</capacities>
|
||||
<power>8</power>
|
||||
<cooldownTime>2</cooldownTime>
|
||||
</li>
|
||||
<li>
|
||||
<label>physical-magic</label>
|
||||
<capacities>
|
||||
<li>Blunt</li>
|
||||
<li>Demolish</li>
|
||||
</capacities>
|
||||
<power>15</power>
|
||||
<extraMeleeDamages>
|
||||
<li>
|
||||
<def>DRM_Arc</def>
|
||||
<amount>15</amount>
|
||||
<chance>1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<def>Stun</def>
|
||||
<amount>1.5</amount>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
</extraMeleeDamages>
|
||||
<cooldownTime>5.2</cooldownTime>
|
||||
</li>
|
||||
</tools>
|
||||
<equippedStatOffsets>
|
||||
<PsychicSensitivityOffset MayRequire="Ludeon.Rimworld.Royalty">0.50</PsychicSensitivityOffset>
|
||||
<PsychicEntropyRecoveryRate MayRequire="Ludeon.Rimworld.Royalty">0.083</PsychicEntropyRecoveryRate>
|
||||
</equippedStatOffsets>
|
||||
<meleeHitSound>DRHammerSound</meleeHitSound>
|
||||
</ThingDef>
|
||||
|
||||
</Defs>
|
22
1.5/1.5/Defs/ThoughtDefs/DRM_ThoughtDefs.xml
Normal file
22
1.5/1.5/Defs/ThoughtDefs/DRM_ThoughtDefs.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<ThoughtDef>
|
||||
<defName>RotStink</defName>
|
||||
<workerClass>ThoughtWorker_RotStink</workerClass>
|
||||
<developmentalStageFilter>Baby, Child, Adult</developmentalStageFilter>
|
||||
<stages>
|
||||
<li>
|
||||
<label>rot stink</label>
|
||||
<description>A rotten stink invades my nostrils and sticks to my skin. It makes me sick.</description>
|
||||
<baseMoodEffect>-10</baseMoodEffect>
|
||||
</li>
|
||||
<li>
|
||||
<label>awful rot stink</label>
|
||||
<description>The stench of rot is so thick I almost feel like I'm swimming in it. I can hardly breathe in this filth!</description>
|
||||
<baseMoodEffect>-16</baseMoodEffect>
|
||||
</li>
|
||||
</stages>
|
||||
</ThoughtDef>
|
||||
|
||||
</Defs>
|
@ -132,4 +132,15 @@
|
||||
<!-- EN: extreme -->
|
||||
<DRM_ElectricShock.stages.completely.label>完全</DRM_ElectricShock.stages.completely.label>
|
||||
|
||||
<!-- EN: tox gas -->
|
||||
<DRM_FearGas.label>恐惧毒气</DRM_FearGas.label>
|
||||
<!-- EN: Aftereffects of exposure to tox gas, a poisonous chemical gas. It burns the lungs and eyes, causing a temporary shortness of breath and reduction in sight. Continued exposure to tox gas results in toxic buildup and eventually death. -->
|
||||
<DRM_FearGas.description>接触恐惧气体产生的负面影响。恐惧气体会灼伤生物的眼睛与肺部,使视觉与呼吸能力暂时降低。持续暴露还会引发生物极度恐惧情绪和诱发暴力行为。</DRM_FearGas.description>
|
||||
<!-- EN: mild -->
|
||||
<DRM_FearGas.stages.mild.label>较轻</DRM_FearGas.stages.mild.label>
|
||||
<!-- EN: moderate -->
|
||||
<DRM_FearGas.stages.moderate.label>中等</DRM_FearGas.stages.moderate.label>
|
||||
<!-- EN: severe -->
|
||||
<DRM_FearGas.stages.severe.label>严重</DRM_FearGas.stages.severe.label>
|
||||
|
||||
</LanguageData>
|
@ -13,4 +13,7 @@
|
||||
<DR_BattleStaff_Arc.label>龙娘 电弧法杖</DR_BattleStaff_Arc.label>
|
||||
<DR_BattleStaff_Arc.description>龙娘使用的法杖。能射出跳跃的闪电链。</DR_BattleStaff_Arc.description>
|
||||
|
||||
<DR_BattleStaff_Fear.label>龙娘 芬里尔法杖</DR_BattleStaff_Fear.label>
|
||||
<DR_BattleStaff_Fear.description>龙娘使用的法杖。一个压缩的气体发射器。填装了芬里尔恐惧毒气弹。</DR_BattleStaff_Fear.description>
|
||||
|
||||
</LanguageData>
|
@ -70,6 +70,7 @@
|
||||
</verbProperties>
|
||||
<comps>
|
||||
<li Class="DragonianMix.CompProperties_AbilityDRM_Deaddustpop">
|
||||
<damageDef>Smoke</damageDef>
|
||||
<smokeRadius>9</smokeRadius>
|
||||
<gasType>DeadlifeDust</gasType>
|
||||
<clamorType>Ability</clamorType>
|
||||
|
@ -16,7 +16,6 @@
|
||||
<gasType>DeadlifeDust</gasType>
|
||||
<soundDef>Explosion_Stun</soundDef>
|
||||
<explosionRadius>6</explosionRadius>
|
||||
<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
|
||||
<destroyGear>false</destroyGear>
|
||||
<destroyBody>false</destroyBody>
|
||||
</li>
|
||||
|
@ -30,6 +30,9 @@
|
||||
<comps>
|
||||
<li Class="DragonianMix.CompProperties_AbilityDRM_FireBurst">
|
||||
<radius>12</radius>
|
||||
<damageDef>DRM_Flame</damageDef>
|
||||
<damageAmount>80</damageAmount>
|
||||
<armorPenetration>0</armorPenetration>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
@ -57,6 +60,7 @@
|
||||
</verbProperties>
|
||||
<comps>
|
||||
<li Class="DragonianMix.CompProperties_AbilityDRM_Deaddustpop">
|
||||
<damageDef>Smoke</damageDef>
|
||||
<smokeRadius>9</smokeRadius>
|
||||
<gasType>ToxGas</gasType>
|
||||
<clamorType>Ability</clamorType>
|
||||
@ -65,4 +69,38 @@
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
|
||||
<AbilityDef>
|
||||
<defName>DRM_Feargaspop</defName>
|
||||
<label>FearGas Pop</label>
|
||||
<description>Release a cloud of Feargas.</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_Feargas</damageDef>
|
||||
<smokeRadius>9</smokeRadius>
|
||||
<clamorType>Ability</clamorType>
|
||||
<clamorRadius>20</clamorRadius>
|
||||
<postExplosionSpawnThingDef>DRM_FearGasCloud</postExplosionSpawnThingDef> <!-- ARL_ToxicGasCloud -->
|
||||
<postExplosionSpawnChance>1</postExplosionSpawnChance>
|
||||
<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
|
||||
</Defs>
|
@ -86,7 +86,6 @@
|
||||
<soundDef>Explosion_Stun</soundDef>
|
||||
<explosionRadius>6</explosionRadius>
|
||||
<gasType>ToxGas</gasType>
|
||||
<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
|
||||
<destroyGear>false</destroyGear>
|
||||
<destroyBody>false</destroyBody>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user