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) - 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) - Issues when generating relations (#98, fixed in #106 thanks @Jaaldabaoth)
- Hardening of Licentia Dependencies (#105) - Hardening of Licentia Dependencies (#105)
- Littered Birth and Chest-Burst Pregnancy are now mutually exclusive (#96)
**Changes**: **Changes**:

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8"?>
<Defs> <Defs>
<GeneDef> <GeneDef>
@ -7,7 +7,7 @@
<displayCategory>Reproduction</displayCategory> <displayCategory>Reproduction</displayCategory>
<description>Xenotypes with this Gene are Hypersexual (Nymphs).</description> <description>Xenotypes with this Gene are Hypersexual (Nymphs).</description>
<iconPath>Genes/Icons/Hypersexual</iconPath> <iconPath>Genes/Icons/Hypersexual</iconPath>
<displayOrderInCategory>1</displayOrderInCategory> <displayOrderInCategory>1</displayOrderInCategory>
<forcedTraits> <forcedTraits>
<li> <li>
<def>Nymphomaniac</def> <def>Nymphomaniac</def>
@ -16,13 +16,14 @@
<randomChosen>false</randomChosen> <randomChosen>false</randomChosen>
<modExtensions> <modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension"> <li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core"
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes> Class="VanillaGenesExpanded.GeneExtension">
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes> <backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
</li> <backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
</modExtensions> </li>
</modExtensions>
</GeneDef> </GeneDef>
<GeneDef> <GeneDef>
<defName>rjw_genes_rapist</defName> <defName>rjw_genes_rapist</defName>
<label>rapist</label> <label>rapist</label>
@ -30,7 +31,7 @@
<description>Xenotypes with this Gene are Rapists.</description> <description>Xenotypes with this Gene are Rapists.</description>
<iconPath>Genes/Icons/Rape</iconPath> <iconPath>Genes/Icons/Rape</iconPath>
<biostatMet>1</biostatMet> <biostatMet>1</biostatMet>
<displayOrderInCategory>2</displayOrderInCategory> <displayOrderInCategory>2</displayOrderInCategory>
<forcedTraits> <forcedTraits>
<li> <li>
<def>Rapist</def> <def>Rapist</def>
@ -39,13 +40,14 @@
<randomChosen>false</randomChosen> <randomChosen>false</randomChosen>
<modExtensions> <modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension"> <li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core"
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes> Class="VanillaGenesExpanded.GeneExtension">
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes> <backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
</li> <backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
</modExtensions> </li>
</modExtensions>
</GeneDef> </GeneDef>
<!-- <!--
<GeneDef> <GeneDef>
<defName>rjw_genes_sadist_gene</defName> <defName>rjw_genes_sadist_gene</defName>
@ -62,7 +64,8 @@
</forcedTraits> </forcedTraits>
<modExtensions> <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> <backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes> <backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
</li> </li>
@ -70,14 +73,14 @@
</GeneDef> </GeneDef>
--> -->
<GeneDef> <GeneDef>
<defName>rjw_genes_masochist</defName> <defName>rjw_genes_masochist</defName>
<label>masochist</label> <label>masochist</label>
<displayCategory>Reproduction</displayCategory> <displayCategory>Reproduction</displayCategory>
<description>Xenotypes with this Gene are Masochists.</description> <description>Xenotypes with this Gene are Masochists.</description>
<iconPath>Genes/Icons/Rape</iconPath> <iconPath>Genes/Icons/Rape</iconPath>
<biostatMet>1</biostatMet> <biostatMet>1</biostatMet>
<displayOrderInCategory>2</displayOrderInCategory> <displayOrderInCategory>2</displayOrderInCategory>
<forcedTraits> <forcedTraits>
<li> <li>
<def>Masochist</def> <def>Masochist</def>
@ -86,11 +89,12 @@
<randomChosen>false</randomChosen> <randomChosen>false</randomChosen>
<modExtensions> <modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension"> <li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core"
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes> Class="VanillaGenesExpanded.GeneExtension">
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes> <backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
</li> <backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
</modExtensions> </li>
</modExtensions>
</GeneDef> </GeneDef>
<GeneDef> <GeneDef>
@ -100,7 +104,7 @@
<description>This Gene makes you gay.</description> <description>This Gene makes you gay.</description>
<iconPath>UI\Ideoligions\Universal\RoundC</iconPath> <iconPath>UI\Ideoligions\Universal\RoundC</iconPath>
<biostatMet>0</biostatMet> <biostatMet>0</biostatMet>
<displayOrderInCategory>3</displayOrderInCategory> <displayOrderInCategory>3</displayOrderInCategory>
<forcedTraits> <forcedTraits>
<li> <li>
<def>Gay</def> <def>Gay</def>
@ -112,11 +116,12 @@
<randomChosen>false</randomChosen> <randomChosen>false</randomChosen>
<modExtensions> <modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension"> <li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core"
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes> Class="VanillaGenesExpanded.GeneExtension">
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes> <backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
</li> <backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
</modExtensions> </li>
</modExtensions>
</GeneDef> </GeneDef>
<GeneDef> <GeneDef>
@ -126,7 +131,7 @@
<description>Carriers of this Gene are Bisexual.</description> <description>Carriers of this Gene are Bisexual.</description>
<iconPath>UI\Ideoligions\Universal\RoundC</iconPath> <iconPath>UI\Ideoligions\Universal\RoundC</iconPath>
<biostatMet>0</biostatMet> <biostatMet>0</biostatMet>
<displayOrderInCategory>4</displayOrderInCategory> <displayOrderInCategory>4</displayOrderInCategory>
<forcedTraits> <forcedTraits>
<li> <li>
<def>Bisexual</def> <def>Bisexual</def>
@ -138,56 +143,61 @@
<randomChosen>false</randomChosen> <randomChosen>false</randomChosen>
<modExtensions> <modExtensions>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension"> <li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core"
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes> Class="VanillaGenesExpanded.GeneExtension">
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes> <backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
</li> <backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
</modExtensions> </li>
</modExtensions>
</GeneDef> </GeneDef>
<GeneDef> <GeneDef>
<defName>rjw_genes_no_sex_need</defName> <defName>rjw_genes_no_sex_need</defName>
<label>asexual</label> <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
<iconPath>Genes/Icons/Empty</iconPath> sex, </description>
<displayOrderInCategory>5</displayOrderInCategory> <iconPath>Genes/Icons/Empty</iconPath>
<disablesNeeds> <displayOrderInCategory>5</displayOrderInCategory>
<li>Sex</li> <disablesNeeds>
</disablesNeeds> <li>Sex</li>
<biostatMet>-1</biostatMet> </disablesNeeds>
<biostatCpx>2</biostatCpx> <biostatMet>-1</biostatMet>
<biostatCpx>2</biostatCpx>
<randomChosen>false</randomChosen>
<exclusionTags>
<li>rjw_genes_sexual_orientation</li>
</exclusionTags>
<modExtensions> <randomChosen>false</randomChosen>
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension"> <exclusionTags>
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes> <li>rjw_genes_sexual_orientation</li>
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes> </exclusionTags>
</li>
</modExtensions> <modExtensions>
</GeneDef> <li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core"
Class="VanillaGenesExpanded.GeneExtension">
<GeneDef> <backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
<defName>LitteredBirths</defName> <backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
<label>littered births</label> </li>
<displayCategory>Reproduction</displayCategory> </modExtensions>
<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> </GeneDef>
<iconPath>Genes/Icons/Gene_LitteredBirths</iconPath>
<displayOrderInCategory>110</displayOrderInCategory> <GeneDef>
<marketValueFactor>1.10</marketValueFactor> <defName>LitteredBirths</defName>
<biostatMet>-2</biostatMet> <label>littered births</label>
<biostatCpx>1</biostatCpx> <displayCategory>Reproduction</displayCategory>
<description>Female carriers of this gene birth litters instead of just one baby, with a
<modExtensions> chance of having two to four babies per pregnancy.</description>
<li Class="RJW_Genes.QirkExtension"> <iconPath>Genes/Icons/Gene_LitteredBirths</iconPath>
<Satisfiedquirk>ImpregnationFetishQuirk</Satisfiedquirk> <displayOrderInCategory>110</displayOrderInCategory>
</li> <marketValueFactor>1.10</marketValueFactor>
</modExtensions> <biostatMet>-2</biostatMet>
<biostatCpx>1</biostatCpx>
</GeneDef> <modExtensions>
<li Class="RJW_Genes.QirkExtension">
<Satisfiedquirk>ImpregnationFetishQuirk</Satisfiedquirk>
</li>
</modExtensions>
<exclusionTags>
<li>rjw_genes_littered_birth_vs_chestburst</li>
</exclusionTags>
</GeneDef>
</Defs> </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>