mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Minor Comments and Refactoring - Letter for Mytosis Birth
This commit is contained in:
parent
8139991123
commit
63564a2761
9 changed files with 31 additions and 31 deletions
|
@ -10,10 +10,13 @@ using rjw;
|
|||
|
||||
namespace RJW_Genes
|
||||
{
|
||||
/// <summary>
|
||||
/// This Patch handles the changes to Fathers / Mothers when dealing with Femboys and Male/Male Pregnancies.
|
||||
/// </summary>
|
||||
[HarmonyPatch(typeof(ParentRelationUtility))]
|
||||
public class PatchGetParents
|
||||
public class Patch_ParentRelationUtility_GetParents
|
||||
{
|
||||
// Token: 0x0600000F RID: 15
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch("GetFather")]
|
||||
private static void FatherPostfix(ref Pawn __result, Pawn pawn)
|
||||
|
@ -38,7 +41,6 @@ namespace RJW_Genes
|
|||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000010 RID: 16
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch("GetMother")]
|
||||
private static void MotherPostfix(ref Pawn __result, Pawn pawn)
|
||||
|
@ -58,7 +60,7 @@ namespace RJW_Genes
|
|||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600001F RID: 31
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch("HasSameFather")]
|
||||
private static void HasSameFatherPostfix(ref bool __result, Pawn pawn, Pawn other)
|
||||
|
@ -92,7 +94,7 @@ namespace RJW_Genes
|
|||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000020 RID: 32
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch("HasSameMother")]
|
||||
private static void HasSameMotherPostfix(ref bool __result, Pawn pawn, Pawn other)
|
Loading…
Add table
Add a link
Reference in a new issue