static public void Postfix(ref float __result, ref Pawn __instance) { if (!Genes.EffectsThing(__instance)) { return; } __result = __result * Genes.GetGene(__instance, AnimalGenetics.Health); }
static public void Postfix(ref float __result, Pawn __1) { if (!Genes.EffectsThing(__1)) { return; } __result = __result * Genes.GetGene(__1, AnimalGenetics.Damage); }
static public void Postfix(ref int __result, CompShearable __instance) { if (!Genes.EffectsThing(__instance.parent)) { return; } __result = (int)(__result * Genes.GetGene((Pawn)(__instance.parent), AnimalGenetics.GatherYield)); }
static public void Postfix(ref float __result, Pawn __0) { if (!Genes.EffectsThing(__0)) { return; } __result = __result * Genes.GetGene(__0, StatDefOf.CarryingCapacity); }