About this mod
Adds a way to see the weather forecast of more than one day in advance.
- Requirements
- Permissions and credits
-
Translations
- Spanish
- Russian
- Changelogs
- Donations
- Fix error when calendar would not show all forecast is an custom weather didn't have a icon texture.
- Added the forecast to the hover text of the calendar.
- Fix to error in when interacting with the quest of the day menu.
Objective:
Improve the weather forecast.
If this mod gather some interest, I might add some sort of quest-line to improve the weather forecast per save, instead of just a flat-out configuration.
Disclaimer:
This mod might have some conflicts with mods that change the weather behavior.
It should be compatible with weathers managed by the Cloudy Skies Framework.
It should work with other mods that adds new type of weather. But they will show as sunny days in the calendar.
It should be compatible with mods that change the rules and percentage weather chance using content patcher.
It also should be compatible with added festivals, but if the forecast was calculated for the day of the festival in your game, it might only correct itself on the the day before the festival or if you clear and calculate the weather again using the console commands.
Installation:
- Install the latest version of SMAPI.
- Unzip the Advanced Weather Forecast Mod into /Stardew Valley/Mods.
- Unzip the MailFrameworkMod into /Stardew Valley/Mods. [Optional]
- Run the game using SMAPI.
How does it work:
- Forecast Calculation:
- At the load of the farm, the mod checks all context locations and update their weather data according to the current amount of day configured to forecast.
- The weather is calculated as if the game were in that day. While this is happening, the mod changes the current date briefly.
- Most weather random is fixed per save, so days that rain and green happen do not change if you reset the weather. But some randoms are not fixed, so a wind day might become a sunny way if you clear and calculate the weather again. Also if it will be rain or storm.
- At the end of the day, the mod calculate the weather for the next day without forecast, based on the current config.
- A wedding will override the forecast for that day, as expected.
- A new festival added after the forecast is made might not show right in the calendar, but will correct itself the day before the festival.
- Calendar:
- The calendar menu will now show the weather forecast in the top right corner, where the wedding indication appears.
- For the forecast of the next month, it will appear in the day of the current month that is already grayed out.
- Past weather data is not kept and it is cleared from the save in the day it happens.
- You can technically set the DaysInAdvanceForecast property to more than 27 days, but you won't be able to see that forecast in game.
- Set the DaysInAdvanceForecast to 1 or less will disable any forecast calculation, but you might still see the tomorrow weather forecast in the calendar.
- Console Comands:
- world_clear_weatherforecastdata - Clear weather forecast for all locations.
- world_calculate_weatherforecast - Calculate weather forecast for all locations. Won't override data, needs to clear first.
Config options:
Run the game at least once with the mod instaled to create the config.json file. You can edit this file to change the configuration.
- "DaysInAdvanceForecast":(7) How many days in advance you can know the weather forecast. You can set a number from 1 to 27. A number greater than 27 will calculate the weather further, but you won't be able to see it.
- "DisableForecastLetter":(true|false) Enable or disable the letter Demetrius send you explaining about the advanced weather forecast, in case you have MFM but don't want to receive the letter.
Internationalization:
This mod is compatible with SMAPI support to i18n files. It has an official translation for pt-BR, but you can translating for your language following this instructions: https://stardewcommunitywiki.com/Modding:Modder_Guide/APIs/Translation
Feel free to send me a translation to your language and I might add it on future versions.
Uninstall:
Delete the mod from the installation folder.
My Other Mods: