diff --git a/ForecasterConfig.cs b/ForecasterConfig.cs index 740517e..b7d25c3 100644 --- a/ForecasterConfig.cs +++ b/ForecasterConfig.cs @@ -1,17 +1,59 @@ +/* + * This software is licensed under the MIT License + * https://github.com/GStefanowich/SDV-Forecaster + * + * Copyright (c) 2019 Gregory Stefanowich + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + using ForecasterText.Objects.Enums; namespace ForecasterText { + /// + /// The mods main config for storing/reading from disc + /// public sealed class ForecasterConfig { + #region Showing Weather + + /// When to show the weather for Stardew Valley public WeatherDisplay StardewValleyWeather { get; set; } = WeatherDisplay.ALWAYS; + + /// When to show the weather for Ginger Island public WeatherDisplay GingerIslandWeather { get; set; } = WeatherDisplay.ALWAYS; + #endregion + #region Luck Emoji + public bool ShowGoodLuck { get; set; } = true; public bool ShowNeutralLuck { get; set; } = true; public bool ShowBadLuck { get; set; } = true; + #endregion + #region Recipe Emoji + public bool ShowNewRecipes { get; set; } = true; public bool ShowExistingRecipes { get; set; } = false; + #endregion + #region Spirits Emoji + public uint SpiritsEmoji { get; set; } = 119u; public uint VeryHappySpiritEmoji { get; set; } = 43u; public uint GoodHumorSpiritEmoji { get; set; } = 2u; @@ -20,14 +62,22 @@ public sealed class ForecasterConfig { public uint MildlyPerturbedSpiritEmoji { get; set; } = 11u; public uint VeryDispleasedSpiritEmoji { get; set; } = 14u; + #endregion + #region Recipe Emoji + public uint NewRecipeEmoji { get; set; } = 132u; public uint KnownRecipeEmoji { get; set; } = 135u; + #endregion + #region Weather Emoji + public uint SunWeatherEmoji { get; set; } = 99u; public uint RainWeatherEmoji { get; set; } = 100u; public uint ThunderWeatherEmoji { get; set; } = 102u; public uint SnowWeatherEmoji { get; set; } = 103u; public uint FestivalWeatherEmoji { get; set; } = 151u; public uint WeddingWeatherEmoji { get; set; } = 46u; + + #endregion } }