Compare commits

..

3 commits

Author SHA1 Message Date
Telanda
b70b975b67
Merge 2.6.2 Update (#228)
* - Seperation of Animal Gene code from base RJW_Genes

* - Clean-up of leftover XML Files
- Minor update to README.md

* Fixed missing translation text
Fixed Missing B&S Undead Patch
Fixed Anal Fertility Errors, might be broken again.

DLL Included for Merge.
2026-02-28 23:15:14 +11:00
Telanda-DDS
4946df511e - Recompiled Cumpliation plugin against newest version of Cumpilation.
- Fixed Indentation
2025-10-18 10:45:32 +11:00
Telanda-DDS
ef953fa1b7 - Fixes to address changed RJW Settings Variables. 2025-10-16 16:18:28 +11:00
13 changed files with 66 additions and 23 deletions

Binary file not shown.

View file

@ -189,6 +189,8 @@
<modExtensions> <modExtensions>
<li Class="RJW_Genes.GenitaliaTypeExtension"> <li Class="RJW_Genes.GenitaliaTypeExtension">
<penis>HemiPenis</penis> <penis>HemiPenis</penis>
<vagina>CloacalVagina</vagina>
<anus>CloacalAnus</anus>
</li> </li>
<li Class="RJW_Genes.QirkExtension"> <li Class="RJW_Genes.QirkExtension">
<Satisfiedquirk>ScaleLoverQuirk</Satisfiedquirk> <Satisfiedquirk>ScaleLoverQuirk</Satisfiedquirk>
@ -233,4 +235,31 @@
</exclusionTags> </exclusionTags>
</GeneDef> </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> </Defs>

View file

@ -4,5 +4,6 @@
<StatsReport_NoChildren>Pawn doesn't have any children.</StatsReport_NoChildren> <StatsReport_NoChildren>Pawn doesn't have any children.</StatsReport_NoChildren>
<StatsReport_ManyChildren>Pawn has a decent amount of children.</StatsReport_ManyChildren> <StatsReport_ManyChildren>Pawn has a decent amount of children.</StatsReport_ManyChildren>
<StatsReport_VeryManyChildren>Pawn has a lot of children.</StatsReport_VeryManyChildren> <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> </LanguageData>

View file

@ -9,16 +9,9 @@
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/XenotypeDef[defName="VU_Returned" or defName="VU_Ghoul" or defName="VU_Frankenstein"]/genes</xpath> <xpath>Defs/XenotypeDef[defName="VU_Returned" or defName="VU_Ghoul" or defName="VU_Frankenstein"]/genes</xpath>
<value> <value>
<li>rjw_genes_Necro_genitalia</li>
<li>rjw_genes_no_sex_need</li> <li>rjw_genes_no_sex_need</li>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd">
<xpath>Defs/XenotypeDef[defName="VU_Revenant"]/genes</xpath>
<value>
<li>rjw_genes_Necro_genitalia</li>
</value>
</li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/XenotypeDef[defName="VU_Lycantrope"]/genes</xpath> <!-- sic --> <xpath>Defs/XenotypeDef[defName="VU_Lycantrope"]/genes</xpath> <!-- sic -->
<value> <value>

View file

@ -18,7 +18,7 @@ namespace RJW_Genes
this.birthTotal = birthTotal; this.birthTotal = birthTotal;
this.birthCount = 0; this.birthCount = 0;
this.hasOvaryAgitator = pawn.health.hediffSet.HasHediff(HediffDef.Named("OvaryAgitator")); this.hasOvaryAgitator = pawn.health.hediffSet.HasHediff(HediffDef.Named("OvaryAgitator"));
this.hasBioscaffold = pawn.health.hediffSet.HasHediff(HediffDef.Named("OvaryAgitator")); this.hasBioscaffold = pawn.health.hediffSet.HasHediff(HediffDef.Named("Bioscaffold"));
} }
} }
} }

View file

@ -5,9 +5,10 @@ using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using HarmonyLib; using HarmonyLib;
using RimWorld; using RimWorld;
using Verse;
using rjw; using rjw;
using rjw.Modules.Interactions; using rjw.Modules.Interactions;
using Verse;
using static rjw.RJWPregnancySettings;
//using rjw.Modules.Interactions.Enums; //using rjw.Modules.Interactions.Enums;
namespace RJW_Genes namespace RJW_Genes
@ -17,8 +18,8 @@ namespace RJW_Genes
{ {
public static HediffDef vasectomydef = DefDatabase<HediffDef>.GetNamed("Vasectomy", true); public static HediffDef vasectomydef = DefDatabase<HediffDef>.GetNamed("Vasectomy", true);
// Token: 0x0600000F RID: 15 // Token: 0x0600000F RID: 15
[HarmonyPostfix] //[HarmonyPostfix]
[HarmonyPatch("impregnate")] //[HarmonyPatch("impregnate")]
private static void ImpregnatePostfix(ref SexProps props) private static void ImpregnatePostfix(ref SexProps props)
{ {
@ -81,16 +82,18 @@ namespace RJW_Genes
if (RJWSettings.DevMode) ModLog.Message(xxx.get_pawnname(giver) + " has no parts to Fertilize with"); if (RJWSettings.DevMode) ModLog.Message(xxx.get_pawnname(giver) + " has no parts to Fertilize with");
return; return;
} }
//If recieving pawn has a Vasectomy,temporarily remove it to prevent fertility Malice, replace it after DoImpregnate.
if (vasectomy != null) if (vasectomy != null)
{ {
//Temporarily remove Vasectomy from Receiver to prevent fertility Malice, replace it after DoImpregnate.
if (RJWSettings.DevMode) ModLog.Message("vasectomy check"); if (RJWSettings.DevMode) ModLog.Message("vasectomy check");
receiver.health.RemoveHediff(vasectomy); receiver.health.RemoveHediff(vasectomy);
} }
if (CanImpregnate2(giver, receiver, props.sexType)) if (CanImpregnate2(giver, receiver, props.sexType))
{ {
if (RJWSettings.DevMode) ModLog.Message(xxx.get_pawnname(giver)+" is analy impregnating "+ xxx.get_pawnname(receiver)); if (RJWSettings.DevMode) ModLog.Message(xxx.get_pawnname(giver)+" is analy impregnating "+ xxx.get_pawnname(receiver));
PregnancyHelper.DoImpregnate(giver, receiver); //DOES NOT EXIST
//PregnancyHelper.DoImpregnate(giver, receiver);
} }
if (vasectomy != null) if (vasectomy != null)
@ -223,7 +226,7 @@ namespace RJW_Genes
return false; return false;
} }
if (((xxx.is_animal(fucker) && xxx.is_human(fucked)) || (xxx.is_human(fucker) && xxx.is_animal(fucked))) && !RJWPregnancySettings.bestial_pregnancy_enabled) if (((xxx.is_animal(fucker) && xxx.is_human(fucked)) || (xxx.is_human(fucker) && xxx.is_animal(fucked))) && RJWPregnancySettings.bestial_pregnancy == BestialPregnancy.None)
{ {
if (RJWSettings.DevMode) if (RJWSettings.DevMode)
{ {

View file

@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Rjw-Genes")] [assembly: AssemblyProduct("Rjw-Genes")]
[assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyCopyright("Copyright © 2026")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@ -32,4 +32,4 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.6.0")] [assembly: AssemblyVersion("2.6.2")]

View file

@ -2,7 +2,7 @@
<name>RJW Genes</name> <name>RJW Genes</name>
<author>Vegapnk - 1.6 Rewrite by Telanda</author> <author>Vegapnk - 1.6 Rewrite by Telanda</author>
<packageId>Vegapnk.rjw.genes</packageId> <packageId>Vegapnk.rjw.genes</packageId>
<modVersion>2.6.0</modVersion> <modVersion>2.6.2</modVersion>
<supportedVersions> <supportedVersions>
<li>1.4</li> <li>1.4</li>
<li>1.5</li> <li>1.5</li>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest> <Manifest>
<identifier>RJW-Genes</identifier> <identifier>RJW-Genes</identifier>
<version>2.6.0</version> <version>2.6.2</version>
<dependencies> <dependencies>
<li>RimJobWorld</li> <li>RimJobWorld</li>
</dependencies> </dependencies>

View file

@ -1,4 +1,22 @@
# 2.6.0 (18-08-2025) #INPROG
# 2.6.2 (15-02-2026)
(Commit by @Telanda-DDS)
**Fixes**
- Fixed incorrect gene Definition for Big and Small - Vampires and the Undead.
- Fixed missing translation text field `RJW_Genes_GenitalsNotAlterable`
------------
# 2.6.1 (16-10-2025)
(Commit by @Telanda-DDS)
**Fixes**
- Updated RJW Patches to reference changed setting variable.
# 2.6.0 (05-09-2025)
(Commit by @Telanda-DDS) (Commit by @Telanda-DDS)
**Changes** **Changes**

View file

@ -17,7 +17,7 @@ But please consider also the following:
## Contributors ## Contributors
- Shabalox (MechBreeding, InsectBreeding, Animal Gene Inheritance) - Shabalox (MechBreeding, InsectBreeding)
- WasMachenDennSachen (Various Icons) - WasMachenDennSachen (Various Icons)
- Jaaldabaoth (1.5 Migration, MPreg, Femboys, Initial VE-Genetic Hybrids) - Jaaldabaoth (1.5 Migration, MPreg, Femboys, Initial VE-Genetic Hybrids)
- Flock-of-Birds (Cosmetic Genitalia per XML) - Flock-of-Birds (Cosmetic Genitalia per XML)

View file

@ -14,7 +14,6 @@ This mod adds genes related and based on RJW to Rimworld.
- Cum-Amount Changes, Transfer Nutrition Boosts - Cum-Amount Changes, Transfer Nutrition Boosts
- Sexual Vampires that need Cum, Cocks or some other sources. - Sexual Vampires that need Cum, Cocks or some other sources.
- Mech Breeding Additions & Orgasmic Mytosis - Mech Breeding Additions & Orgasmic Mytosis
- Human-Animal Gene Inheritance merged from [Shabakur](https://github.com/Shabakur/RJW_Animal_Gene_Inheritance)
- Genetic Diseases that spread on Intercourse - Genetic Diseases that spread on Intercourse
- Patches for some popular / common Xenotypes from other Mods. - Patches for some popular / common Xenotypes from other Mods.