Esempio n. 1
0
            static public void Postfix(ref float __result, ref Pawn __instance)
            {
                if (!Genes.EffectsThing(__instance))
                {
                    return;
                }

                __result = __result * Genes.GetGene(__instance, AnimalGenetics.Health);
            }
Esempio n. 2
0
            static public void Postfix(ref float __result, Pawn __1)
            {
                if (!Genes.EffectsThing(__1))
                {
                    return;
                }

                __result = __result * Genes.GetGene(__1, AnimalGenetics.Damage);
            }
Esempio n. 3
0
            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));
            }
Esempio n. 4
0
            static public void Postfix(ref float __result, Pawn __0)
            {
                if (!Genes.EffectsThing(__0))
                {
                    return;
                }

                __result = __result * Genes.GetGene(__0, StatDefOf.CarryingCapacity);
            }