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>
@ -16,11 +16,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>
@ -39,11 +40,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>
<!-- <!--
@ -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,7 +73,7 @@
</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>
@ -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>
@ -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>
@ -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> <randomChosen>false</randomChosen>
<exclusionTags> <exclusionTags>
<li>rjw_genes_sexual_orientation</li> <li>rjw_genes_sexual_orientation</li>
</exclusionTags> </exclusionTags>
<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>
</GeneDef> </modExtensions>
</GeneDef>
<GeneDef> <GeneDef>
<defName>LitteredBirths</defName> <defName>LitteredBirths</defName>
<label>littered births</label> <label>littered births</label>
<displayCategory>Reproduction</displayCategory> <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
<iconPath>Genes/Icons/Gene_LitteredBirths</iconPath> chance of having two to four babies per pregnancy.</description>
<displayOrderInCategory>110</displayOrderInCategory> <iconPath>Genes/Icons/Gene_LitteredBirths</iconPath>
<marketValueFactor>1.10</marketValueFactor> <displayOrderInCategory>110</displayOrderInCategory>
<biostatMet>-2</biostatMet> <marketValueFactor>1.10</marketValueFactor>
<biostatCpx>1</biostatCpx> <biostatMet>-2</biostatMet>
<biostatCpx>1</biostatCpx>
<modExtensions> <modExtensions>
<li Class="RJW_Genes.QirkExtension"> <li Class="RJW_Genes.QirkExtension">
<Satisfiedquirk>ImpregnationFetishQuirk</Satisfiedquirk> <Satisfiedquirk>ImpregnationFetishQuirk</Satisfiedquirk>
</li> </li>
</modExtensions> </modExtensions>
<exclusionTags>
</GeneDef> <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>