/* * Weather */ private static string GetTownForecast() { WorldDate date = new WorldDate(Game1.Date); ++date.TotalDays; return(ModEvents.GetWeatherInformation("Pelican Town forecast", !Game1.IsMasterGame ? Game1.getWeatherModificationsForDate(date, Game1.netWorldState.Value.WeatherForTomorrow) : Game1.getWeatherModificationsForDate(date, Game1.weatherForTomorrow))); }
private static string GetIslandForecast() { if (!ModEntry.PlayerBeenToIsland()) { return(null); } return(ModEvents.GetWeatherInformation("Ginger Island forecast", Game1.netWorldState.Value.GetWeatherForLocation( Game1.getLocationFromName("IslandSouth").GetLocationContext() ).weatherForTomorrow.Value)); }