using StardewModdingAPI; namespace Omegasis.HappyBirthday.Framework { /// The mod configuration. public class ModConfig { /// The key which shows the menu. public SButton KeyBinding { get; set; } = SButton.O; /// The minimum amount of friendship needed to get a birthday gift. public int minNeutralFriendshipGiftLevel = 3; /// The max amount of friendship needed to get a neutral gift from an npc. public int maxNeutralFriendshipGiftLevel = 4; /// ///The minimum amount of friendship to get a like gift from an npc. /// public int minLikeFriendshipLevel = 5; /// The max amount of friendship needed to get a liked gift from an npc. public int maxLikeFriendshipLevel = 6; /// The minimum amount of friendship needed to get a loved gift from an npc. public int minLoveFriendshipLevel = 7; /// The minimum amount of friendship needed to get a happy birthday greeting from an npc. public int minimumFriendshipLevelForBirthdayWish = 2; public bool autoSetTranslation { get; set; } = true; /// Handles different translations of files. public TranslationInfo translationInfo; /// Whether or not to load from the old BirthdayGifts.xnb located in StardewValley/Data or from the new BirthdayGifts.json located in the mod directory. public bool useLegacyBirthdayFiles; /// Construct an instance. public ModConfig() { this.translationInfo = new TranslationInfo(); this.useLegacyBirthdayFiles = true; } } }