2017-07-31 11:07:07 +08:00
|
|
|
|
namespace Omegasis.BuildHealth.Framework
|
2017-07-30 02:05:24 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>The mod settings and player data.</summary>
|
2017-07-31 11:07:07 +08:00
|
|
|
|
internal class ModConfig
|
2017-07-30 02:05:24 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>The XP points needed to reach the next level.</summary>
|
2017-08-06 03:49:27 +08:00
|
|
|
|
public double ExpToNextLevel { get; set; } = 20;
|
2017-07-30 02:05:24 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>The player's current XP points.</summary>
|
|
|
|
|
public double CurrentExp { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>The player's current level.</summary>
|
|
|
|
|
public int CurrentLevel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>The initial health bonus to apply regardless of the player's level, from the config file.</summary>
|
|
|
|
|
public int BaseHealthBonus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>The health points to add to the player's base health due to their current level.</summary>
|
|
|
|
|
public int CurrentLevelHealthBonus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>The multiplier for the experience points to need to reach an endurance level relative to the previous one.</summary>
|
2017-08-06 03:49:27 +08:00
|
|
|
|
public double ExpCurve { get; set; } = 1.15;
|
2017-07-30 02:05:24 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>The maximum endurance level the player can reach.</summary>
|
2017-08-06 03:49:27 +08:00
|
|
|
|
public int MaxLevel { get; set; } = 100;
|
2017-07-30 02:05:24 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>The amount of stamina the player should gain for each endurance level.</summary>
|
2017-08-06 03:49:27 +08:00
|
|
|
|
public int HealthIncreasePerLevel { get; set; } = 1;
|
2017-07-30 02:05:24 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>The experience points to gain for using a tool.</summary>
|
2017-08-06 03:49:27 +08:00
|
|
|
|
public int ExpForToolUse { get; set; } = 1;
|
2017-07-30 02:05:24 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>The experience points to gain for eating or drinking.</summary>
|
2017-08-06 03:49:27 +08:00
|
|
|
|
public int ExpForEating { get; set; } = 2;
|
2017-07-30 02:05:24 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>The experience points to gain for sleeping.</summary>
|
2017-08-06 03:49:27 +08:00
|
|
|
|
public int ExpForSleeping { get; set; } = 10;
|
2017-07-30 02:05:24 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>The experience points to gain for collapsing for the day.</summary>
|
|
|
|
|
public int ExpForCollapsing { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|