예제 #1
0
            internal static void Postfix(ref bool __result, ref TV __instance, SFarmer who, bool justCheckingForActivity)
            {
                if (CustomTVMod.channels.Count < 6 && !CustomTVMod.changed)
                {
                    return;
                }

                if (Game1.Date.Season == "fall" && Game1.Date.DayOfMonth == 26 && (Game1.stats.getStat("childrenTurnedToDoves") > 0U && !who.mailReceived.Contains("cursed_doll")))
                {
                    return;
                }

                CustomTVMod.checkForAction(__instance, who, justCheckingForActivity);
                __result = true;
            }
예제 #2
0
 internal static void Postfix(ref bool __result, ref TV __instance, SFarmer who, bool justCheckingForActivity)
 {
     CustomTVMod.checkForAction(__instance, who, justCheckingForActivity);
     __result = true;
 }