Minor Cleanup for Egg Fertilization
This commit is contained in:
parent
5ae3d0b13f
commit
a3fdf3bc48
|
@ -14,9 +14,8 @@ namespace RJW_Genes
|
||||||
/// Normal Egg-Pregnancy logic is in https://gitgud.io/Ed86/rjw/-/blob/master/1.4/Source/Modules/Pregnancy/Pregnancy_Helper.cs
|
/// Normal Egg-Pregnancy logic is in https://gitgud.io/Ed86/rjw/-/blob/master/1.4/Source/Modules/Pregnancy/Pregnancy_Helper.cs
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HarmonyPatch(typeof(SexUtility), "Aftersex")]
|
[HarmonyPatch(typeof(SexUtility), "Aftersex")]
|
||||||
static class PatchEggFertilizationHelper
|
static class Patch_EggFertilization
|
||||||
{
|
{
|
||||||
[HarmonyTranspiler]
|
|
||||||
public static void Postfix(SexProps props)
|
public static void Postfix(SexProps props)
|
||||||
{
|
{
|
||||||
// Only Fertilize on vaginal / anal sex
|
// Only Fertilize on vaginal / anal sex
|
||||||
|
@ -59,7 +58,7 @@ namespace RJW_Genes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static Boolean canDoEggFertilization(Pawn a, Pawn b)
|
private static bool canDoEggFertilization(Pawn a, Pawn b)
|
||||||
{
|
{
|
||||||
|
|
||||||
// No Partner / Other Errors
|
// No Partner / Other Errors
|
||||||
|
|
Loading…
Reference in New Issue