Skip to content
Snippets Groups Projects
Commit 7fe417f8 authored by Ed86's avatar Ed86
Browse files

reverted merged android change

parent f4532421
No related branches found
No related tags found
No related merge requests found
......@@ -58,17 +58,21 @@ namespace rjw
public static bool AndroidPenisFertility(Pawn pawn)
{
//androids only fertile with archotech parts
return pawn.health.hediffSet.hediffs.Any(hed =>
hed.def == Genital_Helper.archotech_penis
);
BodyPartRecord Part = Genital_Helper.get_genitals(pawn);
return (pawn.health.hediffSet.hediffs.Any((Hediff hed) =>
(hed.Part == Part) &&
(hed.def == Genital_Helper.archotech_penis)
));
}
public static bool AndroidVaginaFertility(Pawn pawn)
{
//androids only fertile with archotech parts
return pawn.health.hediffSet.hediffs.Any(hed =>
hed.def == Genital_Helper.archotech_vagina
);
BodyPartRecord Part = Genital_Helper.get_genitals(pawn);
return (pawn.health.hediffSet.hediffs.Any((Hediff hed) =>
(hed.Part == Part) &&
(hed.def == Genital_Helper.archotech_vagina)
));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment