PregnancyOverwrite now has all functions

This commit is contained in:
Vegapnk 2024-07-08 19:23:27 +02:00
parent 832c3aa0b8
commit 991edfdff0
4 changed files with 69 additions and 15 deletions

View file

@ -162,6 +162,12 @@
<biostatCpx>4</biostatCpx>
<biostatMet>-2</biostatMet>
<modExtensions>
<!-- DevNote: The chance will be multiplied by both pawns' Fertility! -->
<li Class="RJW_Genes.ChanceExtension">
<chance>0.5</chance>
</li>
</modExtensions>
</GeneDef>
</Defs>

View file

@ -115,7 +115,6 @@
</li>
</forcedTraits>
<exclusionTags>
<li>rjw_genes_homosexuality_trait_giver</li>
<li>rjw_genes_sexual_orientation</li>
</exclusionTags>
@ -144,7 +143,7 @@
</li>
</forcedTraits>
<exclusionTags>
<li>rjw_genes_sexual_orientation</li>
<li>rjw_genes_sexual_orientation</li>
<li>rjw_genes_bisexuality_trait_giver</li>
</exclusionTags>
@ -207,4 +206,28 @@
</exclusionTags>
</GeneDef>
<GeneDef>
<defName>rjw_genes_pregnancy_overwrite</defName>
<label>Sperm Displacement</label>
<displayCategory>Reproduction</displayCategory>
<description>Carriers of this gene can 'overwrite' an existing pregnancy, keeping the
progress but effectively replacing the father.</description>
<iconPath>Genes/Icons/RJW_Genes_PheromoneSpit</iconPath>
<displayOrderInCategory>120</displayOrderInCategory>
<biostatCpx>4</biostatCpx>
<biostatMet>-2</biostatMet>
<modExtensions>
<!-- DevNote: The chance will be multiplied by both pawns' Fertility! -->
<li Class="RJW_Genes.ChanceExtension">
<chance>0.5</chance>
</li>
<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>

View file

@ -10,4 +10,9 @@
<label>Youthed a pawn with youth fountain</label>
</HistoryEventDef>
<HistoryEventDef>
<defName>rjw_genes_GoodwillChangedReason_OverwritePregnancy</defName>
<label>Replaced a pregnancy</label>
</HistoryEventDef>
</Defs>