Exclusion Tag for Littered Birth and ChestPregnancy. Fixes #96

This commit is contained in:
Vegapnk 2024-06-26 16:05:14 +02:00
parent 92d90dd39e
commit 1c73d52041
3 changed files with 103 additions and 77 deletions

View file

@ -25,6 +25,7 @@
- Changes to the Implants introduced in 2.0.0 - they imposed a hidden dependency on Royalty (Fixes #89)
- Issues when generating relations (#98, fixed in #106 thanks @Jaaldabaoth)
- Hardening of Licentia Dependencies (#105)
- Littered Birth and Chest-Burst Pregnancy are now mutually exclusive (#96)
**Changes**:

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<GeneDef>
@ -16,7 +16,8 @@
<randomChosen>false</randomChosen>
<modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension">
<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>
@ -39,7 +40,8 @@
<randomChosen>false</randomChosen>
<modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension">
<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>
@ -62,7 +64,8 @@
</forcedTraits>
<modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension">
<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>
@ -86,7 +89,8 @@
<randomChosen>false</randomChosen>
<modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension">
<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>
@ -112,7 +116,8 @@
<randomChosen>false</randomChosen>
<modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension">
<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>
@ -138,7 +143,8 @@
<randomChosen>false</randomChosen>
<modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension">
<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>
@ -149,7 +155,8 @@
<GeneDef>
<defName>rjw_genes_no_sex_need</defName>
<label>asexual</label>
<description>Carriers of this gene do not have a sex-need. They can still participate in sex, </description>
<description>Carriers of this gene do not have a sex-need. They can still participate in
sex, </description>
<iconPath>Genes/Icons/Empty</iconPath>
<displayOrderInCategory>5</displayOrderInCategory>
<disablesNeeds>
@ -164,7 +171,8 @@
</exclusionTags>
<modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension">
<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>
@ -175,19 +183,21 @@
<defName>LitteredBirths</defName>
<label>littered births</label>
<displayCategory>Reproduction</displayCategory>
<description>Female carriers of this gene birth litters instead of just one baby, with a chance of having two to four babies per pregnancy.</description>
<description>Female carriers of this gene birth litters instead of just one baby, with a
chance of having two to four babies per pregnancy.</description>
<iconPath>Genes/Icons/Gene_LitteredBirths</iconPath>
<displayOrderInCategory>110</displayOrderInCategory>
<marketValueFactor>1.10</marketValueFactor>
<biostatMet>-2</biostatMet>
<biostatCpx>1</biostatCpx>
<modExtensions>
<li Class="RJW_Genes.QirkExtension">
<Satisfiedquirk>ImpregnationFetishQuirk</Satisfiedquirk>
</li>
</modExtensions>
<exclusionTags>
<li>rjw_genes_littered_birth_vs_chestburst</li>
</exclusionTags>
</GeneDef>
</Defs>

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Races Expanded - Insector</li>
</mods>
<match Class="PatchOperationAdd">
<xpath>Defs/GeneDef[defName = "VRE_ChestburstPregnancy"]/exclusionTags</xpath>
<value>
<li>rjw_genes_littered_birth_vs_chestburst</li>
</value>
</match>
</Operation>
</Patch>