23 lines
659 B
C#
23 lines
659 B
C#
using StardewModdingAPI;
|
|
using StardewValley;
|
|
|
|
namespace Omegasis.Fall28SnowDay
|
|
{
|
|
public class Class1:Mod
|
|
{
|
|
public override void Entry(IModHelper helper)
|
|
{
|
|
StardewModdingAPI.Events.TimeEvents.DayOfMonthChanged += TimeEvents_DayOfMonthChanged;
|
|
}
|
|
|
|
public void TimeEvents_DayOfMonthChanged(object sender, StardewModdingAPI.Events.EventArgsIntChanged e)
|
|
{
|
|
if (StardewValley.Game1.dayOfMonth == 27 && Game1.IsFall == true)
|
|
{
|
|
// Log.Success("Weather checker now!!!");
|
|
Game1.weatherForTomorrow = Game1.weather_snow;
|
|
}
|
|
}
|
|
}
|
|
}
|