Compare commits
22 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b70b975b67 |
||
|
|
4946df511e | ||
|
|
ef953fa1b7 | ||
|
|
be27255832 | ||
|
|
83e9f9ef5b |
||
|
|
45a451a127 | ||
|
|
7692ce3425 | ||
|
|
b13f761ede | ||
|
|
ed761327d2 | ||
|
|
e0a333f539 | ||
|
|
5025700727 | ||
|
|
a407f3f400 | ||
|
|
6e26d596cf | ||
|
|
670361a748 | ||
|
|
c7ea7144dc | ||
|
|
97eabd540d | ||
|
|
61fdb2c3b7 | ||
|
|
27511a29f3 | ||
|
|
ef05a5bbc3 | ||
|
|
7f6dc2a668 | ||
|
|
ba53413687 | ||
|
|
aa3d3985bc |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 6 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 6 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 3 KiB |
|
Before Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 7.6 KiB |
|
|
@ -13,7 +13,7 @@
|
|||
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
|
||||
<statBases>
|
||||
<Ability_Duration>50</Ability_Duration>
|
||||
<Ability_EffectRadius>0</Ability_EffectRadius>
|
||||
<Ability_EffectRadius>30</Ability_EffectRadius>
|
||||
</statBases>
|
||||
|
||||
<displayOrder>410</displayOrder>
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
<fleckDef>PsycastPsychicEffect</fleckDef>
|
||||
</li>
|
||||
<li Class="RJW_Genes.CompProperties_AbilityMatingCall">
|
||||
<calldistance>40</calldistance>
|
||||
<calldistance>30</calldistance>
|
||||
</li>
|
||||
<li Class="CompProperties_AbilityGiveHediff">
|
||||
<compClass>CompAbilityEffect_GiveHediff</compClass>
|
||||
|
|
|
|||
|
|
@ -24,4 +24,24 @@
|
|||
</modExtensions>
|
||||
</GeneDef>
|
||||
|
||||
<GeneDef>
|
||||
<defName>rjw_genes_elasticity</defName>
|
||||
<label>elasticity</label>
|
||||
<displayCategory>rjw_genes_damage</displayCategory>
|
||||
<description>This Xenotype does not suffer any injury from being stretched by large penetrations or large volumes of fluid.</description>
|
||||
<iconPath>Genes/Icons/Elasticity</iconPath>
|
||||
<!-- <geneClass>RJW_Genes.Gene_Elasticity</geneClass> -->
|
||||
<biostatMet>-1</biostatMet>
|
||||
<biostatCpx>1</biostatCpx>
|
||||
<displayOrderInCategory>1</displayOrderInCategory>
|
||||
|
||||
<modExtensions>
|
||||
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VEF.Genes.GeneExtension">
|
||||
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
|
||||
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</GeneDef>
|
||||
|
||||
|
||||
</Defs>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
<li Class="RJW_Genes.GenitaliaTypeExtension">
|
||||
<penis>HorsePenis</penis>
|
||||
<vagina>HorseVagina</vagina>
|
||||
<anus>GenericAnus</anus>
|
||||
<anus>Anus</anus>
|
||||
</li>
|
||||
</modExtensions>
|
||||
<displayOrderInCategory>802</displayOrderInCategory>
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
<li Class="RJW_Genes.GenitaliaTypeExtension">
|
||||
<penis>DogPenis</penis>
|
||||
<vagina>DogVagina</vagina>
|
||||
<anus>GenericAnus</anus>
|
||||
<anus>Anus</anus>
|
||||
</li>
|
||||
</modExtensions>
|
||||
<displayOrderInCategory>803</displayOrderInCategory>
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
<li Class="RJW_Genes.GenitaliaTypeExtension">
|
||||
<penis>CatPenis</penis>
|
||||
<vagina>CatVagina</vagina>
|
||||
<anus>GenericAnus</anus>
|
||||
<anus>Anus</anus>
|
||||
</li>
|
||||
</modExtensions>
|
||||
<displayOrderInCategory>804</displayOrderInCategory>
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
<li Class="RJW_Genes.GenitaliaTypeExtension">
|
||||
<penis>DragonPenis</penis>
|
||||
<vagina>DragonVagina</vagina>
|
||||
<anus>GenericAnus</anus>
|
||||
<anus>Anus</anus>
|
||||
</li>
|
||||
<li Class="RJW_Genes.QirkExtension">
|
||||
<Satisfiedquirk>ScaleLoverQuirk</Satisfiedquirk>
|
||||
|
|
@ -189,6 +189,8 @@
|
|||
<modExtensions>
|
||||
<li Class="RJW_Genes.GenitaliaTypeExtension">
|
||||
<penis>HemiPenis</penis>
|
||||
<vagina>CloacalVagina</vagina>
|
||||
<anus>CloacalAnus</anus>
|
||||
</li>
|
||||
<li Class="RJW_Genes.QirkExtension">
|
||||
<Satisfiedquirk>ScaleLoverQuirk</Satisfiedquirk>
|
||||
|
|
@ -233,4 +235,31 @@
|
|||
</exclusionTags>
|
||||
</GeneDef>
|
||||
|
||||
<GeneDef ParentName="GeneGenitalTypeBase">
|
||||
<defName>rjw_genes_rodent_genitalia</defName>
|
||||
<label>rodent genitalia</label>
|
||||
<description>Carriers of this gene develop rodent genitalia.</description>
|
||||
<iconPath>Genes/Icons/Genitalia_croc_icon</iconPath>
|
||||
<modExtensions>
|
||||
<li Class="RJW_Genes.GenitaliaTypeExtension">
|
||||
<penis>RodentPenis</penis>
|
||||
<vagina>RodentVagina</vagina>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</GeneDef>
|
||||
|
||||
<GeneDef ParentName="GeneGenitalTypeBase">
|
||||
<defName>rjw_genes_cloacal_genitalia</defName>
|
||||
<label>cloacal genitalia</label>
|
||||
<description>Carriers of this gene develop cloacal genitalia.</description>
|
||||
<iconPath>Genes/Icons/Genitalia_croc_icon</iconPath>
|
||||
<modExtensions>
|
||||
<li Class="RJW_Genes.GenitaliaTypeExtension">
|
||||
<penis>CloacalPenis</penis>
|
||||
<vagina>CloacalVagina</vagina>
|
||||
<anus>CloacalAnus</anus>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</GeneDef>
|
||||
|
||||
</Defs>
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
<capMods>
|
||||
<li>
|
||||
<capacity>Consciousness</capacity>
|
||||
<offset>-0.5</offset>
|
||||
<offset>-0.05</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<statOffsets>
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<RJW_BGS.RaceGeneDef Name="Insect_base" Abstract="True">
|
||||
<defName>Insect_base</defName>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>AG_InsectBlood</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_ovipositor_genitalia</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef Name="Slime_base" Abstract="True">
|
||||
<defName>Slime_base</defName>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>AG_SlimeBlood</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_slime_genitalia</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
</Defs>
|
||||
|
|
@ -1,285 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<RJW_BGS.RaceGeneDef Name = "Canine">
|
||||
<defName>Canine</defName>
|
||||
<raceGroups>
|
||||
<li>Canine_Group</li>
|
||||
<li>CanineAnimal</li>
|
||||
<li>CanineSingleGenderAnimal</li>
|
||||
<li>CanineSkinAnimal</li>
|
||||
</raceGroups>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Ears_Floppy</defName>
|
||||
<chance>0.75</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Tail_Furry</defName>
|
||||
<chance>0.2</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_canine_genitalia</defName>
|
||||
<chance>0.4</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>ViolenceDisabled</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>PsychicBonding</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Mood_Sanguine</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>Insect</defName>
|
||||
<raceGroups>
|
||||
<li>Insect_Group</li>
|
||||
<li>ArthropodOvipositorAnimal</li>
|
||||
<li>ArthropodOvipositorHornyAnimal</li>
|
||||
</raceGroups>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Beauty_Ugly</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Immunity_Strong</defName>
|
||||
<chance>0.6</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>ToxicEnvironmentResistance_Partial</defName>
|
||||
<chance>0.4</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_ovipositor_genitalia</defName>
|
||||
<chance>0.15</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_insectincubator</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_insectbreeder</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Thin</defName>
|
||||
<chance>0.3</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>Feline</defName>
|
||||
<raceGroups>
|
||||
<li>Feline_Group</li>
|
||||
<li>FelineAnimal</li>
|
||||
<li>FelineHornyAnimal</li>
|
||||
<li>FelineSingleGenderAnimal</li>
|
||||
<li>AA_SandProwlerAnimal</li>
|
||||
</raceGroups>
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Tail_Furry</defName>
|
||||
<chance>0.2</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Ears_Cat</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>PsychicBonding</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Sleepy</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>DarkVision</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_feline_genitalia</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>Equine</defName>
|
||||
<raceGroups>
|
||||
<li>Equine_Group</li>
|
||||
<li>HorseAnimal</li>
|
||||
</raceGroups>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.2</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_equine_genitalia</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MoveSpeed_Quick</defName>
|
||||
<chance>0.4</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MoveSpeed_VeryQuick</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_much_fluid</defName>
|
||||
<chance>0.3</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_very_much_fluid</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Hulk</defName>
|
||||
<chance>0.4</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>Dragon</defName>
|
||||
<raceGroups>
|
||||
<li>Dragon_Group</li>
|
||||
<li>ThrumboAnimal</li>
|
||||
<li>DragonAnimal</li>
|
||||
<li>DragonSingleGenderAnimal</li>
|
||||
</raceGroups>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Unstoppable</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Headbone_CenterHorn</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>VoiceRoar</defName>
|
||||
<chance>0.6</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MaxTemp_SmallIncrease</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MaxTemp_LargeIncrease</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_dragon_genitalia</defName>
|
||||
<chance>0.6</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>FireResistant</defName>
|
||||
<chance>0.15</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_much_fluid</defName>
|
||||
<chance>0.3</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_very_much_fluid</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Hulk</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>Rodent</defName>
|
||||
<raceGroups>
|
||||
<li>Rodent_Group</li>
|
||||
<li>RodentAnimal</li>
|
||||
<li>RodentSingleGenderAnimal</li>
|
||||
<li>DragonSingleGenderAnimal</li>
|
||||
</raceGroups>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.2</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Fertile</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>FastRunner</defName>
|
||||
<chance>0.6</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_small_genitalia</defName>
|
||||
<chance>0.6</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Immunity_Strong</defName>
|
||||
<chance>0.4</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>ToxicEnvironmentResistance_Partial</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Thin</defName>
|
||||
<chance>0.45</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>Racoon</defName>
|
||||
<raceGroups>
|
||||
<li>Raccon_Group</li>
|
||||
<li>RaccoonAnimal</li>
|
||||
</raceGroups>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Tail_Furry</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>StrongStomach</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Immunity_Strong</defName>
|
||||
<chance>0.2</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>ToxicEnvironmentResistance_Partial</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
</Defs>
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<!-- this is to disable the xml, remove it for your own xml
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>Canine</defName>
|
||||
defName can be anything you want, as long as it is unique
|
||||
|
||||
<raceGroups>
|
||||
<li>Canine_Group</li>
|
||||
<li>CanineAnimal</li> from racesupport
|
||||
<li>CanineSingleGenderAnimal</li> from racesupport
|
||||
<li>CanineSkinAnimal</li> from racesupport
|
||||
</raceGroups>
|
||||
RJW.Racegroupdef, all animals in the added raceGroups will be part of this group, RJW race support uses other defnames and overwrite vanilla ones, so add them to if you use it.
|
||||
|
||||
<raceNames>
|
||||
<li> </li>
|
||||
</raceNames>
|
||||
For more direct control you can use raceNames directly. Use the defName of the animal. Can also use modded animals.
|
||||
|
||||
<pawnKindNames>
|
||||
<li> </li>
|
||||
</pawnKindNames>
|
||||
For even more direct control you can use pawnKindNames.
|
||||
|
||||
<priority>0</priority>
|
||||
You can use priority incase you have multiple racegenedefs with the same animal under the same list (racegroup, racenames or pawnKindNames). If not assigned the value is 0. Higher priority is chosen.
|
||||
|
||||
The RaceGeneDef for an animal will first be decided by if it is in the pawnkindNames, after that racenames and lastly racegroup,
|
||||
so if there is for a wolf a RaceGeneDef with the canine group and a second which has wolf under raceNames it will always use the second one to determine
|
||||
which genes can be inherited
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Ears_Floppy</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_slime_genitalia</defName> You can add modded genes which will be ignored if the mod is inactive.
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
</genes>
|
||||
For each gene you need to find the defname and give it a chance to appear. Each gene is rolled independently.
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
this is to disable the xml, remove it for your own xml -->
|
||||
|
||||
<!-- this is to disable the xml, remove it for your own xml
|
||||
You can use parents to have animals get specific genes in addition to the group. So warg children will have a chance for Ears_Floppy, rjw_genes_slime_genitalia and StrongStomach
|
||||
<RJW_BGS.RaceGeneDef ParentName = "Canine">
|
||||
<defName>Warg</defName>
|
||||
<raceNames>
|
||||
<li>Warg</li>
|
||||
</raceNames>
|
||||
<genes>
|
||||
<li>
|
||||
<defName>StrongStomach</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
</genes>
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
|
||||
this is to disable the xml, remove it for your own xml -->
|
||||
</Defs>
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
<baseOpinionOffset>-3</baseOpinionOffset>
|
||||
</li>
|
||||
<li>
|
||||
<label>carries more way genetic diseases than me</label>
|
||||
<label>carries way more genetic diseases than me</label>
|
||||
<baseOpinionOffset>-8</baseOpinionOffset>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LanguageData>
|
||||
<rjw_genes_bestiality_hybrid_name>animal-hybrid</rjw_genes_bestiality_hybrid_name>
|
||||
</LanguageData>
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LanguageData>
|
||||
|
||||
<rjw_genes_animal_inheritance_settings_enabled_key>enabled</rjw_genes_animal_inheritance_settings_enabled_key>
|
||||
<rjw_genes_animal_inheritance_settings_enabled_explanation>If toggled, Animal Pregnancies will try inherit genes.</rjw_genes_animal_inheritance_settings_enabled_explanation>
|
||||
|
||||
<rjw_genes_animal_inheritance_settings_chance_key></rjw_genes_animal_inheritance_settings_chance_key>
|
||||
<rjw_genes_animal_inheritance_settings_chance_explanation></rjw_genes_animal_inheritance_settings_chance_explanation>
|
||||
|
||||
<rjw_genes_animal_inheritance_settings_added_as_xenogene_key>genes as xenogenes</rjw_genes_animal_inheritance_settings_added_as_xenogene_key>
|
||||
<rjw_genes_animal_inheritance_settings_added_as_xenogene_explanation>If toggled on, animal genes will be added as xenogenes.</rjw_genes_animal_inheritance_settings_added_as_xenogene_explanation>
|
||||
|
||||
<rjw_genes_animal_inheritance_settings_ve_genetics_hybridization_key>enable VE genetics hybridation</rjw_genes_animal_inheritance_settings_ve_genetics_hybridization_key>
|
||||
<rjw_genes_animal_inheritance_settings_ve_genetics_hybridization_explanation>If enabled and if you have VE genetics it will enable the hybridation system.</rjw_genes_animal_inheritance_settings_ve_genetics_hybridization_explanation>
|
||||
|
||||
<rjw_genes_animal_inheritance_settings_detailed_debug_key></rjw_genes_animal_inheritance_settings_detailed_debug_key>
|
||||
<rjw_genes_animal_inheritance_settings_detailed_debug_explanation></rjw_genes_animal_inheritance_settings_detailed_debug_explanation>
|
||||
</LanguageData>
|
||||
|
|
@ -4,5 +4,6 @@
|
|||
<StatsReport_NoChildren>Pawn doesn't have any children.</StatsReport_NoChildren>
|
||||
<StatsReport_ManyChildren>Pawn has a decent amount of children.</StatsReport_ManyChildren>
|
||||
<StatsReport_VeryManyChildren>Pawn has a lot of children.</StatsReport_VeryManyChildren>
|
||||
<RJW_Genes_GenitalsNotAlterable>Unable to geneticaly adapt or alter {PAWN_nameDef}'s genitals.</RJW_Genes_GenitalsNotAlterable>
|
||||
|
||||
</LanguageData>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<biostatCpx>2</biostatCpx>
|
||||
</GeneDef>
|
||||
|
||||
<GeneDef ParentName="VRE_CuriosityBase">
|
||||
<GeneDef MayRequire="rjw.sexperience" ParentName="VRE_CuriosityBase">
|
||||
<defName>VRE_Curiosity_Sex</defName>
|
||||
<label>sex curiosity</label>
|
||||
<displayOrderInCategory>0</displayOrderInCategory>
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
</description>
|
||||
<iconPath>Genes/Icons/sex_curiosity</iconPath>
|
||||
<modExtensions>
|
||||
<li MayRequire="rjw.sexperience" Class="VanillaGenesExpanded.GeneExtension">
|
||||
<li MayRequire="rjw.sexperience" Class="VEF.Genes.GeneExtension">
|
||||
<noSkillLoss>Sex</noSkillLoss>
|
||||
<skillRecreation>Sex</skillRecreation>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -1,68 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<GeneDef>
|
||||
<defName>rjw_genes_elasticity</defName>
|
||||
<label>elasticity</label>
|
||||
<displayCategory>rjw_genes_damage</displayCategory>
|
||||
<description>This Xenotype cannot get stretched by huge penetrators.</description>
|
||||
<iconPath>Genes/Icons/Elasticity</iconPath>
|
||||
<geneClass>RJW_Genes.Gene_Elasticity</geneClass>
|
||||
<biostatMet>-1</biostatMet>
|
||||
<biostatCpx>1</biostatCpx>
|
||||
<displayOrderInCategory>1</displayOrderInCategory>
|
||||
|
||||
<modExtensions>
|
||||
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VEF.Genes.GeneExtension">
|
||||
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
|
||||
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</GeneDef>
|
||||
|
||||
<GeneDef>
|
||||
<defName>rjw_genes_likes_cumflation</defName>
|
||||
<label>likes cumflation</label>
|
||||
<displayCategory>rjw_genes_fluids</displayCategory>
|
||||
<description>This Xenotype loves being cumflated.</description>
|
||||
<iconPath>Genes/Icons/Cumflation</iconPath>
|
||||
<displayOrderInCategory>536</displayOrderInCategory>
|
||||
<biostatMet>-1</biostatMet>
|
||||
<biostatCpx>2</biostatCpx>
|
||||
<forcedTraits>
|
||||
<li>
|
||||
<def>LikesCumflation</def>
|
||||
</li>
|
||||
</forcedTraits>
|
||||
<exclusionTags>
|
||||
<li>NotCumflatable</li>
|
||||
</exclusionTags>
|
||||
|
||||
<modExtensions>
|
||||
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VEF.Genes.GeneExtension">
|
||||
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
|
||||
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</GeneDef>
|
||||
|
||||
<GeneDef>
|
||||
<defName>rjw_genes_cumflation_immunity</defName>
|
||||
<label>cumflation immunity</label>
|
||||
<displayCategory>rjw_genes_fluids</displayCategory>
|
||||
<description>This Xenotype cannot get cumflated.</description>
|
||||
<iconPath>Genes/Icons/Cumflation_Immunity</iconPath>
|
||||
<displayOrderInCategory>537</displayOrderInCategory>
|
||||
<exclusionTags>
|
||||
<li>NotCumflatable</li>
|
||||
</exclusionTags>
|
||||
|
||||
<modExtensions>
|
||||
<li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VEF.Genes.GeneExtension">
|
||||
<backgroundPathEndogenes>Genes/Icons/RJW_Genes_Endogene_Background</backgroundPathEndogenes>
|
||||
<backgroundPathXenogenes>Genes/Icons/RJW_Genes_Xenogene_Background</backgroundPathXenogenes>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</GeneDef>
|
||||
|
||||
</Defs>
|
||||
|
|
@ -1,172 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
<HediffDef>
|
||||
<defName>rjw_genes_cumflation_counter</defName>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<label>cumflation negator</label>
|
||||
<labelNoun>cumflation negator</labelNoun>
|
||||
<description>Negates the negative effects usually produced by being cumflated.</description>
|
||||
<defaultLabelColor>(240,200,110)</defaultLabelColor>
|
||||
<scenarioCanAdd>false</scenarioCanAdd>
|
||||
<maxSeverity>1.0</maxSeverity>
|
||||
<isBad>false</isBad>
|
||||
<tendable>false</tendable>
|
||||
<comps>
|
||||
<li Class="HediffCompProperties_SeverityPerDay">
|
||||
<severityPerDay>-0.75</severityPerDay>
|
||||
</li>
|
||||
</comps>
|
||||
<stages>
|
||||
<li>
|
||||
<label>a little</label>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
</li>
|
||||
<li>
|
||||
<label>slight</label>
|
||||
<minSeverity>0.2</minSeverity>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
<statOffsets>
|
||||
<Vulnerability>-0.1</Vulnerability>
|
||||
</statOffsets>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Moving</capacity>
|
||||
<offset>0.1</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
<li>
|
||||
<label>moderate</label>
|
||||
<minSeverity>0.4</minSeverity>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
<statOffsets>
|
||||
<Vulnerability>-0.3</Vulnerability>
|
||||
</statOffsets>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Moving</capacity>
|
||||
<offset>0.3</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<painOffset>-0.1</painOffset>
|
||||
</li>
|
||||
<li>
|
||||
<label>intense</label>
|
||||
<minSeverity>0.65</minSeverity>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
<statOffsets>
|
||||
<Vulnerability>+0.5</Vulnerability>
|
||||
</statOffsets>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Moving</capacity>
|
||||
<offset>0.6</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<painOffset>-0.3</painOffset>
|
||||
</li>
|
||||
<li>
|
||||
<label>extreme</label>
|
||||
<minSeverity>0.9</minSeverity>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
<statOffsets>
|
||||
<Vulnerability>-0.7</Vulnerability>
|
||||
</statOffsets>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Moving</capacity>
|
||||
<offset>1.0</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<painOffset>-0.5</painOffset>
|
||||
</li>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
<HediffDef>
|
||||
<defName>rjw_genes_cumstuffed_counter</defName>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<label>cumstuffed negator</label>
|
||||
<labelNoun>cumstuffed negated</labelNoun>
|
||||
<description>Negates the negative effects that one would suffer from being cumstuffed.</description>
|
||||
<defaultLabelColor>(240,200,110)</defaultLabelColor>
|
||||
<scenarioCanAdd>false</scenarioCanAdd>
|
||||
<maxSeverity>1.0</maxSeverity>
|
||||
<isBad>false</isBad>
|
||||
<tendable>false</tendable>
|
||||
<comps>
|
||||
<li Class="HediffCompProperties_SeverityPerDay">
|
||||
<severityPerDay>-0.75</severityPerDay>
|
||||
</li>
|
||||
</comps>
|
||||
<stages>
|
||||
<li>
|
||||
<label>slightly bloated</label>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
</li>
|
||||
<li>
|
||||
<label>bloated</label>
|
||||
<minSeverity>0.2</minSeverity>
|
||||
<hungerRateFactor>0.95</hungerRateFactor>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
<statOffsets>
|
||||
<Vulnerability>-0.05</Vulnerability>
|
||||
</statOffsets>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Moving</capacity>
|
||||
<offset>0.03</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
<li>
|
||||
<label>full</label>
|
||||
<minSeverity>0.4</minSeverity>
|
||||
<hungerRateFactor>0.9</hungerRateFactor>
|
||||
<statOffsets>
|
||||
<Vulnerability>-0.1</Vulnerability>
|
||||
</statOffsets>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Moving</capacity>
|
||||
<offset>0.1</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
</li>
|
||||
<li>
|
||||
<label>stuffed</label>
|
||||
<minSeverity>0.6</minSeverity>
|
||||
<hungerRateFactor>0.75</hungerRateFactor>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
<statOffsets>
|
||||
<Vulnerability>-0.15</Vulnerability>
|
||||
</statOffsets>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Moving</capacity>
|
||||
<offset>0.2</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<painOffset>-0.15</painOffset>
|
||||
</li>
|
||||
<li>
|
||||
<label>overstuffed</label>
|
||||
<minSeverity>0.8</minSeverity>
|
||||
<hungerRateFactor>0.5</hungerRateFactor>
|
||||
<becomeVisible>false</becomeVisible>
|
||||
<statOffsets>
|
||||
<Vulnerability>-0.2</Vulnerability>
|
||||
</statOffsets>
|
||||
<capMods>
|
||||
<li>
|
||||
<capacity>Moving</capacity>
|
||||
<offset>0.3</offset>
|
||||
</li>
|
||||
</capMods>
|
||||
<painOffset>-0.3</painOffset>
|
||||
</li>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
</Defs>
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<HediffDef>
|
||||
<defName>rjw_genes_animal_control_hediff</defName>
|
||||
<label>part human</label>
|
||||
<description>This creature is more controlable with a natural human part.</description>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<defaultLabelColor>(0.9, 1.0, 0.35)</defaultLabelColor>
|
||||
<initialSeverity>1</initialSeverity>
|
||||
<comps>
|
||||
<li Class="VEF.AnimalBehaviours.HediffCompProperties_Draftable">
|
||||
<makeNonFleeingToo>true</makeNonFleeingToo>
|
||||
</li>
|
||||
</comps>
|
||||
<isBad>false</isBad>
|
||||
</HediffDef>
|
||||
|
||||
</Defs>
|
||||
|
|
@ -1,654 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Manbear_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Manbear</li>
|
||||
<li>GR_Bearman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Immunity_Strong</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MinTemp_LargeDecrease</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Aggression_Aggressive</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Sleepy</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Beard_Always</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>VoiceRoar</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Fat</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Hulk</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Hair_ReddishBrown</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Hair_DarkBrown</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Hair_DarkSaturatedReddish</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Hair_DarkReddish</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>RobustDigestion</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Unstoppable</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Artistic</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Social</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudePoor_Intellectual</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Manalope_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Manalope</li>
|
||||
<li>GR_Booman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>FireSpew</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Beauty_Ugly</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Hair_Blonde</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Hair_SandyBlonde</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Hair_LightOrange</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_udder</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Manchicken_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Manchicken</li>
|
||||
<li>GR_Turkeyman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Mood_Optimist</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Delicate</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Beauty_Pretty</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Thin</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Melee</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Mining</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeRemarkable_Social</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeStrong_Intellectual</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Manffalo_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Manffalo</li>
|
||||
<li>GR_Muffaloman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Headbone_Human</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Headbone_MiniHorns</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MinTemp_SmallIncrease</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_big_male_genitalia</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_loose_female_genitalia</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_big_breasts</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_udder</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_Needle_genitalia</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_mc_genes_perm_lactating</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_zoophile</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Intellectual</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudePoor_Intellectual</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Manwolf_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Manwolf</li>
|
||||
<li>GR_Dogman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Mining</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>PsychicBonding</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Mood_Sanguine</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Ears_Floppy</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_canine_genitalia</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MinTemp_SmallIncrease</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Libido_High</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudePoor_Mining</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_zoophile</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Mood_Optimist</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Mancat_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Mancat</li>
|
||||
<li>GR_Catman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>PsychicBonding</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Animals</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Ears_Cat</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Thin</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_feline_genitalia</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MinTemp_SmallIncrease</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_small_male_genitalia</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_tight_female_genitalia</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_small_breasts</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_tight_anus</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>DarkVision</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudePoor_Animals</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Beauty_Pretty</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_zoophile</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Mansquirrel_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Mansquirrel</li>
|
||||
<li>GR_Moleman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>MoveSpeed_VeryQuick</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>KindInstinct</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Delicate</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Ears_Cat</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Thin</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Tail_Furry</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Shooting</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Melee</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Mining</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Animals</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeStrong_Intellectual</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_Needle_genitalia</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_zoophile</defName>
|
||||
<chance>0.8</chance>
|
||||
</li>
|
||||
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Thrumboman_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Thrumboman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Unstoppable</defName>
|
||||
<chance>0.25</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Headbone_CenterHorn</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>VoiceRoar</defName>
|
||||
<chance>0.6</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MaxTemp_SmallIncrease</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MaxTemp_LargeIncrease</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_dragon_genitalia</defName>
|
||||
<chance>0.6</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>FireResistant</defName>
|
||||
<chance>0.15</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_much_fluid</defName>
|
||||
<chance>0.3</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_very_much_fluid</defName>
|
||||
<chance>0.05</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Hulk</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Hurseman_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Hurseman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Body_Standard</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Hulk</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_equine_genitalia</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_zoophile</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_much_fluid</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MoveSpeed_Quick</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Mining</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Intellectual</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Furskin</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MinTemp_SmallIncrease</defName>
|
||||
<chance>0.9</chance>
|
||||
</li>
|
||||
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Manscarab_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Manscarab</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>Beauty_Ugly</defName>
|
||||
<chance>0.5</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Immunity_Strong</defName>
|
||||
<chance>0.6</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>ToxicEnvironmentResistance_Partial</defName>
|
||||
<chance>0.4</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_ovipositor_genitalia</defName>
|
||||
<chance>0.15</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_insectincubator</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_insectbreeder</defName>
|
||||
<chance>0.1</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Thin</defName>
|
||||
<chance>0.3</chance>
|
||||
</li>
|
||||
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
<RJW_BGS.RaceGeneDef>
|
||||
<defName>GR_Lizardman_GenGroup</defName>
|
||||
|
||||
<raceNames>
|
||||
<li>GR_Lizardman</li>
|
||||
</raceNames>
|
||||
|
||||
|
||||
<genes>
|
||||
<li>
|
||||
<defName>AcidSpray</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MinTemp_SmallIncrease</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>MaxTemp_SmallIncrease</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Robust</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Hair_BaldOnly</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Beard_NoBeardOnly</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Body_Standard</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>Headbone_CenterHorn</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Artistic</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>AptitudeTerrible_Social</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
<li>
|
||||
<defName>rjw_genes_reptilian_genitalia</defName>
|
||||
<chance>0.7</chance>
|
||||
</li>
|
||||
|
||||
</genes>
|
||||
|
||||
</RJW_BGS.RaceGeneDef>
|
||||
|
||||
</Defs>
|
||||
|
|
@ -1,164 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<Defs>
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Bear_Group</defName>
|
||||
<!-- Other Pawn is always assumed to be human -->
|
||||
<SupportedParentKindDefs>
|
||||
<li>Bear_Grizzly</li>
|
||||
<li>Bear_Polar</li>
|
||||
</SupportedParentKindDefs>
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Manbear</li>
|
||||
<li>GR_Bearman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Boomalope_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Boomalope</li>
|
||||
</SupportedParentKindDefs>
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Manalope</li>
|
||||
<li>GR_Booman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Poultry_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Chicken</li>
|
||||
<li>Cassowary</li>
|
||||
<li>Emu</li>
|
||||
<li>Ostrich</li>
|
||||
<li>Goose</li>
|
||||
<li>Turkey</li>
|
||||
<li>Duck</li>
|
||||
</SupportedParentKindDefs>
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Manchicken</li>
|
||||
<li>GR_Turkeyman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Bovine_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Muffalo</li>
|
||||
<li>Cow</li>
|
||||
<li>Bison</li>
|
||||
<li>Yak</li>
|
||||
</SupportedParentKindDefs>
|
||||
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Manffalo</li>
|
||||
<li>GR_Muffaloman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Canine_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Warg</li>
|
||||
<li>Wolf_Timber</li>
|
||||
<li>Wolf_Arctic</li>
|
||||
<li>Fox_Fennec</li>
|
||||
<li>Fox_Red</li>
|
||||
<li>Fox_Arctic</li>
|
||||
<li>Husky</li>
|
||||
<li>LabradorRetriever</li>
|
||||
<li>YorkshireTerrier</li>
|
||||
</SupportedParentKindDefs>
|
||||
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Manwolf</li>
|
||||
<li>GR_Dogman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Feline_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Cougar</li>
|
||||
<li>Panther</li>
|
||||
<li>Lynx</li>
|
||||
<li>Cat</li>
|
||||
</SupportedParentKindDefs>
|
||||
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Mancat</li>
|
||||
<li>GR_Catman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Rabbit_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>GuineaPig</li>
|
||||
<li>Hare</li>
|
||||
<li>Snowhare</li>
|
||||
<li>Squirrel</li>
|
||||
<li>Rat</li>
|
||||
<li>Raccoon</li>
|
||||
</SupportedParentKindDefs>
|
||||
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Mansquirrel</li>
|
||||
<li>GR_Moleman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Thrumbo_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Thrumbo</li>
|
||||
</SupportedParentKindDefs>
|
||||
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Thrumboman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Equine_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Dromedary</li>
|
||||
<li>Elk</li>
|
||||
<li>Horse</li>
|
||||
<li>Caribou</li>
|
||||
<li>Donkey</li>
|
||||
</SupportedParentKindDefs>
|
||||
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Hurseman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Insect_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Megascarab</li>
|
||||
<li>Spelopede</li>
|
||||
<li>Megaspider</li>
|
||||
</SupportedParentKindDefs>
|
||||
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Manscarab</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
<RJW_Genes.VGEHybridOffspringDefs>
|
||||
<defName>Reptile_Group</defName>
|
||||
<SupportedParentKindDefs>
|
||||
<li>Iguana</li>
|
||||
<li>Cobra</li>
|
||||
<li>Tortoise</li>
|
||||
</SupportedParentKindDefs>
|
||||
|
||||
<PossibleHybridChildKindDefs>
|
||||
<li>GR_Lizardman</li>
|
||||
</PossibleHybridChildKindDefs>
|
||||
</RJW_Genes.VGEHybridOffspringDefs>
|
||||
|
||||
</Defs>
|
||||
|
|
@ -9,16 +9,9 @@
|
|||
<li Class="PatchOperationAdd">
|
||||
<xpath>Defs/XenotypeDef[defName="VU_Returned" or defName="VU_Ghoul" or defName="VU_Frankenstein"]/genes</xpath>
|
||||
<value>
|
||||
<li>rjw_genes_Necro_genitalia</li>
|
||||
<li>rjw_genes_no_sex_need</li>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd">
|
||||
<xpath>Defs/XenotypeDef[defName="VU_Revenant"]/genes</xpath>
|
||||
<value>
|
||||
<li>rjw_genes_Necro_genitalia</li>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd">
|
||||
<xpath>Defs/XenotypeDef[defName="VU_Lycantrope"]/genes</xpath> <!-- sic -->
|
||||
<value>
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
namespace RJW_BGS
|
||||
{
|
||||
public class BestialityGeneInheritanceDef
|
||||
{
|
||||
public string defName;
|
||||
public float chance = 1f;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Verse;
|
||||
using rjw;
|
||||
|
||||
namespace RJW_BGS
|
||||
{
|
||||
public class RaceGeneDef : Def
|
||||
{
|
||||
public int priority;
|
||||
public string raceGroup; //keeping this for backwards compatibility
|
||||
public List<string> raceGroups; //racegroup, but in list form so multiple can be entered, preference to use this over racegroup
|
||||
public List<string> raceNames;
|
||||
public List<string> pawnKindNames;
|
||||
public List<BestialityGeneInheritanceDef> genes;
|
||||
public string hybridName;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,147 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using rjw;
|
||||
using Verse;
|
||||
|
||||
namespace RJW_BGS
|
||||
{
|
||||
public class RaceGeneDef_Helper
|
||||
{
|
||||
//code based on racegroupdefinternal which has a similar function
|
||||
public static RaceGeneDef GetRaceGeneDefInternal(Pawn pawn)
|
||||
{
|
||||
List<RaceGeneDef> Valids = ValidRaceGeneDefs(pawn);
|
||||
if (Valids.Count > 0)
|
||||
{
|
||||
RaceGeneDef result = Valids.MaxBy(r => r.priority);
|
||||
return result;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static List<RaceGeneDef> ValidRaceGeneDefs(Pawn pawn)
|
||||
{
|
||||
PawnKindDef kindDef = pawn.kindDef;
|
||||
if (kindDef == null)
|
||||
{
|
||||
RJW_Genes.ModLog.Warning($"Error looking up PawnKindDef for {pawn.Name} - Could not lookup Animal Inheritance Genes");
|
||||
return null;
|
||||
}
|
||||
|
||||
string raceName = kindDef.race.defName;
|
||||
string pawnKindName = kindDef.defName;
|
||||
//Wild animals have no name, so we will use pawnkindname instead
|
||||
string pawnName = pawn.Name != null ? pawn.Name.ToStringFull : pawnKindName;
|
||||
|
||||
RaceGroupDef raceGroupDef = GetRaceGroupDef(kindDef);
|
||||
|
||||
RJW_Genes.ModLog.Debug($"Looking up Animal-Inheritable Genes for {pawnName} with KindDef {kindDef.defName},RaceName {raceName}, PawnKind {pawnKindName} and RaceGroup {raceGroupDef.defName}");
|
||||
|
||||
IEnumerable<RaceGeneDef> allDefs = DefDatabase<RaceGeneDef>.AllDefs;
|
||||
List<RaceGeneDef> pawnKindDefs = allDefs.Where(delegate (RaceGeneDef group)
|
||||
{
|
||||
List<string> pawnKindNames = group.pawnKindNames;
|
||||
return pawnKindNames != null && pawnKindNames.Contains(pawnKindName);
|
||||
}).ToList<RaceGeneDef>();
|
||||
if (pawnKindDefs.Count() > 0)
|
||||
{
|
||||
DebugPrintRaceGeneDefs("PawnKindDefs", pawnName,pawnKindDefs);
|
||||
return pawnKindDefs;
|
||||
}
|
||||
RJW_Genes.ModLog.Debug($"Did not find PawnKindDefs for {pawnName}");
|
||||
|
||||
List<RaceGeneDef> raceKindDefs = allDefs.Where(delegate (RaceGeneDef group)
|
||||
{
|
||||
List<string> raceNames = group.raceNames;
|
||||
return raceNames != null && raceNames.Contains(raceName);
|
||||
}).ToList<RaceGeneDef>();
|
||||
if (raceKindDefs.Count() > 0)
|
||||
{
|
||||
DebugPrintRaceGeneDefs("PawnKindDefs", pawnName, raceKindDefs);
|
||||
return raceKindDefs;
|
||||
}
|
||||
RJW_Genes.ModLog.Debug($"Did not find RaceKindDefs for {pawnName}");
|
||||
|
||||
List<RaceGeneDef> raceGroupDefs = new List<RaceGeneDef>();
|
||||
if (raceGroupDef != null)
|
||||
{
|
||||
raceGroupDefs = allDefs.Where(delegate (RaceGeneDef group)
|
||||
{
|
||||
string raceGroupDefName = group.raceGroup;
|
||||
List<string> list_raceGroupDefName = group.raceGroups;
|
||||
return (raceGroupDefName != null && raceGroupDefName == raceGroupDef.defName)
|
||||
|| (list_raceGroupDefName != null && list_raceGroupDefName.Contains(raceGroupDef.defName));
|
||||
}).ToList<RaceGeneDef>();
|
||||
}
|
||||
|
||||
if (raceGroupDefs.Count() > 0)
|
||||
{
|
||||
DebugPrintRaceGeneDefs("RaceKindDefs", pawnName, raceGroupDefs);
|
||||
return raceGroupDefs;
|
||||
}
|
||||
RJW_Genes.ModLog.Debug($"Did not find RaceGroupDefs for {pawnName}");
|
||||
|
||||
RJW_Genes.ModLog.Message($"Did not find any Genes inheritable for {pawnName}");
|
||||
return new List<RaceGeneDef>();
|
||||
}
|
||||
|
||||
private static void DebugPrintRaceGeneDefs(String header,String identifier,List<RaceGeneDef> defs)
|
||||
{
|
||||
if (RJW_Genes.RJW_Genes_Settings.rjw_genes_detailed_debug)
|
||||
{
|
||||
var defString = "[";
|
||||
foreach (RaceGeneDef raceGeneDef in defs)
|
||||
defString += $"({raceGeneDef.priority}:{raceGeneDef.defName} - {raceGeneDef.genes.Count} Genes)";
|
||||
defString += "]";
|
||||
RJW_Genes.ModLog.Message($"Found the following {header}-Genes for {identifier}: {defString}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// These two Functions are Duplicates of private functions in RJW RaceGroupDef_Helper, used to get a racegroupdef from a kindDef.
|
||||
/// If the RaceGroupDef_Helper class is made accessable directly, these functions can be removed.
|
||||
/// </summary>
|
||||
/// <param name="kindDef"></param>
|
||||
/// <returns></returns>
|
||||
private static RaceGroupDef GetRaceGroupDef(PawnKindDef kindDef)
|
||||
{
|
||||
var raceName = kindDef.race.defName;
|
||||
var pawnKindName = kindDef.defName;
|
||||
var groups = DefDatabase<RaceGroupDef>.AllDefs;
|
||||
|
||||
var kindMatches = groups.Where(group => group.pawnKindNames?.Contains(pawnKindName) ?? false).ToList();
|
||||
var raceMatches = groups.Where(group => group.raceNames?.Contains(raceName) ?? false).ToList();
|
||||
var count = kindMatches.Count() + raceMatches.Count();
|
||||
if (count == 0)
|
||||
{
|
||||
//ModLog.Message($"Pawn named '{pawn.Name}' matched no RaceGroupDef. If you want to create a matching RaceGroupDef you can use the raceName '{raceName}' or the pawnKindName '{pawnKindName}'.");
|
||||
return null;
|
||||
}
|
||||
else if (count == 1)
|
||||
{
|
||||
// ModLog.Message($"Pawn named '{pawn.Name}' matched 1 RaceGroupDef.");
|
||||
return kindMatches.Concat(raceMatches).Single();
|
||||
}
|
||||
else
|
||||
{
|
||||
// ModLog.Message($"Pawn named '{pawn.Name}' matched {count} RaceGroupDefs.");
|
||||
|
||||
// If there are multiple RaceGroupDef matches, choose one of them.
|
||||
// First prefer defs NOT defined in rjw.
|
||||
// Then prefer a match by kind over a match by race.
|
||||
return kindMatches.FirstOrDefault(match => !IsThisMod(match))
|
||||
?? raceMatches.FirstOrDefault(match => !IsThisMod(match))
|
||||
?? kindMatches.FirstOrDefault()
|
||||
?? raceMatches.FirstOrDefault();
|
||||
}
|
||||
}
|
||||
|
||||
private static bool IsThisMod(Def def)
|
||||
{
|
||||
var rjwContent = LoadedModManager.RunningMods.Single(pack => pack.Name == "RimJobWorld");
|
||||
return rjwContent.AllDefs.Contains(def);
|
||||
}
|
||||
}
|
||||
}
|
||||