forked from LeFauxMatt/StardewMods
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModConfig.cs
More file actions
28 lines (24 loc) · 760 Bytes
/
ModConfig.cs
File metadata and controls
28 lines (24 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace StardewMods.TooManyAnimals;
using System.Globalization;
using System.Text;
/// <summary>
/// Mod config data.
/// </summary>
internal class ModConfig
{
/// <summary>
/// Gets or sets a value indicating how many animals will be shown in the Animal Purchase menu at once.
/// </summary>
public int AnimalShopLimit { get; set; } = 30;
/// <summary>
/// Gets or sets the control scheme.
/// </summary>
public Controls ControlScheme { get; set; } = new();
/// <inheritdoc />
public override string ToString()
{
var sb = new StringBuilder();
sb.AppendLine($"AnimalShopLimit: {this.AnimalShopLimit.ToString(CultureInfo.InvariantCulture)}");
return sb.ToString();
}
}