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>
@ -7,7 +7,7 @@
<displayCategory>Reproduction</displayCategory>
<description>Xenotypes with this Gene are Hypersexual (Nymphs).</description>
<iconPath>Genes/Icons/Hypersexual</iconPath>
<displayOrderInCategory>1</displayOrderInCategory>
<displayOrderInCategory>1</displayOrderInCategory>
<forcedTraits>
<li>
<def>Nymphomaniac</def>
@ -16,13 +16,14 @@
<randomChosen>false</randomChosen>
<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>
<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>
<GeneDef>
<defName>rjw_genes_rapist</defName>
<label>rapist</label>
@ -30,7 +31,7 @@
<description>Xenotypes with this Gene are Rapists.</description>
<iconPath>Genes/Icons/Rape</iconPath>
<biostatMet>1</biostatMet>
<displayOrderInCategory>2</displayOrderInCategory>
<displayOrderInCategory>2</displayOrderInCategory>
<forcedTraits>
<li>
<def>Rapist</def>
@ -39,13 +40,14 @@
<randomChosen>false</randomChosen>
<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>
<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>
<!--
<GeneDef>
<defName>rjw_genes_sadist_gene</defName>
@ -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>
@ -70,14 +73,14 @@
</GeneDef>
-->
<GeneDef>
<GeneDef>
<defName>rjw_genes_masochist</defName>
<label>masochist</label>
<displayCategory>Reproduction</displayCategory>
<description>Xenotypes with this Gene are Masochists.</description>
<iconPath>Genes/Icons/Rape</iconPath>
<biostatMet>1</biostatMet>
<displayOrderInCategory>2</displayOrderInCategory>
<displayOrderInCategory>2</displayOrderInCategory>
<forcedTraits>
<li>
<def>Masochist</def>
@ -86,11 +89,12 @@
<randomChosen>false</randomChosen>
<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>
<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>
<GeneDef>
@ -100,7 +104,7 @@
<description>This Gene makes you gay.</description>
<iconPath>UI\Ideoligions\Universal\RoundC</iconPath>
<biostatMet>0</biostatMet>
<displayOrderInCategory>3</displayOrderInCategory>
<displayOrderInCategory>3</displayOrderInCategory>
<forcedTraits>
<li>
<def>Gay</def>
@ -112,11 +116,12 @@
<randomChosen>false</randomChosen>
<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>
<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>
<GeneDef>
@ -126,7 +131,7 @@
<description>Carriers of this Gene are Bisexual.</description>
<iconPath>UI\Ideoligions\Universal\RoundC</iconPath>
<biostatMet>0</biostatMet>
<displayOrderInCategory>4</displayOrderInCategory>
<displayOrderInCategory>4</displayOrderInCategory>
<forcedTraits>
<li>
<def>Bisexual</def>
@ -138,56 +143,61 @@
<randomChosen>false</randomChosen>
<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>
<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>
<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>
<iconPath>Genes/Icons/Empty</iconPath>
<displayOrderInCategory>5</displayOrderInCategory>
<disablesNeeds>
<li>Sex</li>
</disablesNeeds>
<biostatMet>-1</biostatMet>
<biostatCpx>2</biostatCpx>
<randomChosen>false</randomChosen>
<exclusionTags>
<li>rjw_genes_sexual_orientation</li>
</exclusionTags>
<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>
<iconPath>Genes/Icons/Empty</iconPath>
<displayOrderInCategory>5</displayOrderInCategory>
<disablesNeeds>
<li>Sex</li>
</disablesNeeds>
<biostatMet>-1</biostatMet>
<biostatCpx>2</biostatCpx>
<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>
<GeneDef>
<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>
<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>
</GeneDef>
<randomChosen>false</randomChosen>
<exclusionTags>
<li>rjw_genes_sexual_orientation</li>
</exclusionTags>
<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>
<GeneDef>
<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>
<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>