2017-08-06 03:51:44 +08:00
namespace Omegasis.HappyBirthday.Framework
{
/// <summary>The mod configuration.</summary>
2018-09-19 09:04:38 +08:00
public class ModConfig
2017-08-06 03:51:44 +08:00
{
/// <summary>The key which shows the menu.</summary>
public string KeyBinding { get ; set ; } = "O" ;
2018-09-19 09:04:38 +08:00
/// <summary>
/// The minimum amount of friendship needed to get a birthday gift.
/// </summary>
public int minNeutralFriendshipGiftLevel = 3 ;
/// <summary>
/// The max amount of friendship needed to get a neutral gift from an npc.
/// </summary>
public int maxNeutralFriendshipGiftLevel = 4 ;
/// <summary>
///The minimum amount of friendship to get a like gift from an npc.
/// </summary>
public int minLikeFriendshipLevel = 5 ;
/// <summary>
/// The max amount of friendship needed to get a liked gift from an npc.
/// </summary>
public int maxLikeFriendshipLevel = 6 ;
/// <summary>
/// The minimum amount of friendship needed to get a loved gift from an npc.
/// </summary>
public int minLoveFriendshipLevel = 7 ;
/// <summary>
/// The minimum amount of friendship needed to get a happy birthday greeting from an npc.
/// </summary>
public int minimumFriendshipLevelForBirthdayWish = 2 ;
/// <summary>
/// Handles different translations of files.
/// </summary>
public TranslationInfo translationInfo ;
2018-12-06 09:16:28 +08:00
/// <summary>
/// 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.
/// </summary>
public bool useLegacyBirthdayFiles ;
2018-09-19 09:04:38 +08:00
/// <summary>
/// Constructor.
/// </summary>
public ModConfig ( )
{
this . translationInfo = new TranslationInfo ( ) ;
2018-12-06 09:16:28 +08:00
this . useLegacyBirthdayFiles = true ;
2018-09-19 09:04:38 +08:00
}
2017-08-06 03:51:44 +08:00
}
}