2019-07-08 08:09:28 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2018-12-30 18:00:05 +08:00
|
|
|
namespace Omegasis.TimeFreeze.Framework
|
2017-08-06 03:51:44 +08:00
|
|
|
{
|
|
|
|
/// <summary>The mod configuration.</summary>
|
|
|
|
internal class ModConfig
|
|
|
|
{
|
2019-07-08 08:09:28 +08:00
|
|
|
public List<string> LocationsToIgnoreTimeFreeze { get; set; } = new List<string>();
|
|
|
|
|
2017-08-06 03:51:44 +08:00
|
|
|
/// <summary>Whether time should be unfrozen while the player is swimming.</summary>
|
|
|
|
public bool PassTimeWhileSwimming { get; set; } = true;
|
|
|
|
|
|
|
|
/// <summary>Whether time should be unfrozen while the player is swimming in the vanilla bathhouse.</summary>
|
|
|
|
public bool PassTimeWhileSwimmingInBathhouse { get; set; } = true;
|
2018-08-08 16:39:13 +08:00
|
|
|
|
2018-12-30 18:00:05 +08:00
|
|
|
/// <summary>Whether time passes normally inside the mine.</summary>
|
2018-08-08 16:39:13 +08:00
|
|
|
public bool PassTimeWhileInsideMine { get; set; } = true;
|
|
|
|
|
2018-12-30 18:00:05 +08:00
|
|
|
/// <summary>Whether time passes normally inside the skull cavern.</summary>
|
2018-08-08 16:39:13 +08:00
|
|
|
public bool PassTimeWhileInsideSkullCave { get; set; } = true;
|
|
|
|
|
2019-07-08 08:09:28 +08:00
|
|
|
public bool PassTimeWhileInNightMarketSubmarine { get; set; } = true;
|
|
|
|
|
2018-12-30 18:00:05 +08:00
|
|
|
/// <summary>Checks if just one player meets the conditions to freeze time, and then freeze time.</summary>
|
2018-08-08 16:39:13 +08:00
|
|
|
public bool freezeIfEvenOnePlayerMeetsTimeFreezeConditions { get; set; } = false;
|
|
|
|
|
2018-12-30 18:00:05 +08:00
|
|
|
/// <summary>Checks if the majority of players can freeze time and then freeze time.</summary>
|
2018-08-14 03:41:11 +08:00
|
|
|
public bool freezeIfMajorityPlayersMeetsTimeFreezeConditions { get; set; } = true;
|
2018-08-08 16:39:13 +08:00
|
|
|
|
2018-12-30 18:00:05 +08:00
|
|
|
/// <summary>Checks if all players can freeze time and if so, do so.</summary>
|
2018-08-08 16:39:13 +08:00
|
|
|
public bool freezeIfAllPlayersMeetTimeFreezeConditions { get; set; } = false;
|
2017-08-06 03:51:44 +08:00
|
|
|
}
|
|
|
|
}
|