mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Moved Insect Incubator and Breeder to Hive Genes
This commit is contained in:
parent
8605a09941
commit
765ef964c4
6 changed files with 36 additions and 28 deletions
|
@ -12,9 +12,10 @@ namespace RJW_Genes
|
|||
/// Patched Class is https://gitgud.io/Ed86/rjw/-/blob/master/1.4/Source/Common/Helpers/SexUtility.cs
|
||||
///
|
||||
/// Normal Egg-Pregnancy logic is in https://gitgud.io/Ed86/rjw/-/blob/master/1.4/Source/Modules/Pregnancy/Pregnancy_Helper.cs
|
||||
/// Gene: rjw_genes_insectbreeder
|
||||
/// </summary>
|
||||
[HarmonyPatch(typeof(SexUtility), "Aftersex")]
|
||||
static class Patch_EggFertilization
|
||||
static class Patch_InsectBreeder_EggFertilization
|
||||
{
|
||||
public static void Postfix(SexProps props)
|
||||
{
|
|
@ -15,9 +15,11 @@ namespace RJW_Genes
|
|||
/// <summary>
|
||||
/// This Class patches the RJW-DoEgg to allow up to MaxEggSizeMul times the original amount of eggs.
|
||||
/// This harmony patch was kindly provided by 'shabalox' https://github.com/Shabalox/RJW_Genes_Addons/
|
||||
///
|
||||
/// For Gene: rjw_genes_insectincubator
|
||||
/// </summary>
|
||||
[HarmonyPatch(typeof(PregnancyHelper), "DoEgg")]
|
||||
static class PatchPregnancyHelper
|
||||
static class Patch_InsectIncubator_PregnancyHelper
|
||||
{
|
||||
[HarmonyTranspiler]
|
||||
public static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions, ILGenerator il)
|
Loading…
Add table
Add a link
Reference in a new issue