This commit is contained in:
Vegapnk 2024-07-01 14:32:53 +02:00
parent 92e917f473
commit 0190be4392
12 changed files with 396 additions and 7 deletions

View file

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<DamageDef>
<defName>rjw_genes_dangerous_genitalia_damage</defName>
<label>stretch</label>
<workerClass>DamageWorker_AddInjury</workerClass>
<hediff>rjw_genes_dangerous_genitalia_damage_hediff</hediff>
<impactSoundType>Slice</impactSoundType>
<hasForcefulImpact>false</hasForcefulImpact>
<externalViolence>true</externalViolence>
<canInterruptJobs>false</canInterruptJobs>
<deathMessage>{0} was fucked to death by dangerous genitalia.</deathMessage>
<harmAllLayersUntilOutside>false</harmAllLayersUntilOutside>
<overkillPctToDestroyPart>0.5~1</overkillPctToDestroyPart>
</DamageDef>
<HediffDef ParentName="InjuryBase">
<defName>rjw_genes_dangerous_genitalia_damage_hediff</defName>
<initialSeverity>0.1</initialSeverity>
<displayWound>false</displayWound>
<stages>
<li>
<label>minor</label>
</li>
<li>
<minSeverity>1</minSeverity>
</li>
</stages>
<label>tear</label>
<labelNoun>an internal tear</labelNoun>
<description>Damage caused by close interaction with dangerous genitalia.</description>
<comps>
<li Class="HediffCompProperties_TendDuration">
<labelTendedWell>bandaged</labelTendedWell>
<labelTendedWellInner>sutured</labelTendedWellInner>
<labelSolidTendedWell>set</labelSolidTendedWell>
</li>
<li Class="HediffCompProperties_Infecter">
<infectionChance>0.15</infectionChance>
</li>
<li Class="HediffCompProperties_GetsPermanent">
<permanentLabel>rupture scar</permanentLabel>
</li>
</comps>
<injuryProps>
<painPerSeverity>0.025</painPerSeverity>
<averagePainPerSeverityPermanent>0.0125</averagePainPerSeverityPermanent>
<bleedRate>0.1</bleedRate>
<canMerge>true</canMerge>
<destroyedLabel>Torn off</destroyedLabel>
<destroyedOutLabel>Torn out</destroyedOutLabel>
</injuryProps>
</HediffDef>
</Defs>

View file

@ -26,4 +26,23 @@
</modExtensions>
</GeneDef>
<GeneDef >
<defName>rjw_genes_dangerous_genitalia</defName>
<label>Dangerous Genitalia</label>
<displayCategory>rjw_genes_damage</displayCategory>
<description>Carriers of this genes have spikes, hooks, rings, and other nasty things at their genitalia. They will harm partners, unless the partners are similiarly equipped. The damage is based on the difference in body- and part-size.</description>
<iconPath>UI/Icons/Rituals/TrialDefend</iconPath>
<displayOrderInCategory>5</displayOrderInCategory>
<biostatMet>-2</biostatMet>
<biostatCpx>1</biostatCpx>
<!-- Note: This Gene is mostly handled by a Patch "Patch_DangerousGenitalia.cs" -->
<modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension">
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
</li>
</modExtensions>
</GeneDef>
</Defs>