Archotech penis Check, fixes #71

This commit is contained in:
Vegapnk 2024-05-30 15:18:44 +02:00
parent eab2485787
commit fb9cf71761
2 changed files with 7 additions and 0 deletions

View file

@ -35,6 +35,7 @@
- Small changes to drawing Succubus Wings
- Minor Format changes to lots of XML files
- Pawns with ONLY an Archotech penis will not give Fertilin, and will not receive debugs (Fixes #71)
**Hidden Changes:**

View file

@ -25,6 +25,12 @@ namespace RJW_Genes
{
return;
}
// Exit if the pawn has ONLY an archotech penis, and no other penises. Issue #72
if (props.pawn.health.hediffSet.hediffs.Any(x => x.def == rjw.Genital_Helper.archotech_penis)
&& !(Genital_Helper.has_multipenis(props.pawn)))
{
return;
}
//Summary//
//We use the positions of the pawn (dom or sub) and based on that which interactions will transfer fertilin