mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
mc for onslort 1.4
This commit is contained in:
parent
711a61a31a
commit
396cbb8c56
23 changed files with 237 additions and 43 deletions
|
@ -13,10 +13,11 @@ using System.Reflection.Emit;
|
|||
namespace CRIALactation
|
||||
|
||||
{
|
||||
/*
|
||||
[HarmonyPatch(typeof(HumanCompHasGatherableBodyResource), "CompTick")]
|
||||
public static class HarmonyPatch_Milk_HumanCompHasGatherableBodyResource
|
||||
{
|
||||
/*
|
||||
|
||||
public static void Prefix(HumanCompHasGatherableBodyResource __instance)
|
||||
{
|
||||
if (!__instance.parent.IsHashIntervalTick(100))
|
||||
|
@ -45,8 +46,9 @@ namespace CRIALactation
|
|||
p.health.AddHediff(HediffDef.Named("Lactating_Permanent"));
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
public static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> codeInstructions)
|
||||
{
|
||||
|
||||
|
@ -75,7 +77,7 @@ namespace CRIALactation
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static float AdjustGatherResourceDaysForPrecept(float resourcesIntervalDays, HumanCompHasGatherableBodyResource __instance)
|
||||
{
|
||||
|
||||
|
@ -92,7 +94,9 @@ namespace CRIALactation
|
|||
}
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
[HarmonyPatch(typeof(CompHyperMilkableHuman), "ResourceAmount", MethodType.Getter)]
|
||||
public static class HarmonyPatch_IncreaseYieldForHucowHyperMilkable
|
||||
{
|
||||
|
@ -111,5 +115,5 @@ namespace CRIALactation
|
|||
Pawn p = __instance.parent as Pawn;
|
||||
__result *= p.GetStatValue(StatDefOf_Lactation.MilkProductionYield);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue