mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
highmates patch
This commit is contained in:
parent
72b3c10c56
commit
9ae622bb7f
6 changed files with 103 additions and 3 deletions
|
@ -20,6 +20,7 @@ namespace RJW_BGS
|
|||
[HarmonyPatch("impregnate")]
|
||||
private static void ImpregnatePostfix(ref SexProps props)
|
||||
{
|
||||
|
||||
if (RJWSettings.DevMode) rjw.ModLog.Message("Rimjobworld::impregnate(" + props.sexType + "):: " + xxx.get_pawnname(props.pawn) + " + " + xxx.get_pawnname(props.partner) + ":");
|
||||
|
||||
//"mech" pregnancy
|
||||
|
@ -33,7 +34,10 @@ namespace RJW_BGS
|
|||
List<Hediff> pawnparts = giver.GetGenitalsList();
|
||||
List<Hediff> partnerparts = receiver.GetGenitalsList();
|
||||
var interaction = rjw.Modules.Interactions.Helpers.InteractionHelper.GetWithExtension(props.dictionaryKey);
|
||||
|
||||
if (receiver.genes == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(props.sexType == xxx.rjwSextype.Anal && receiver.genes.HasActiveGene(RJW_Genes.GeneDefOf.rjw_genes_fertile_anus)))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue