-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathKOCSettings.cs
37 lines (27 loc) · 1.44 KB
/
KOCSettings.cs
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
29
30
31
32
33
34
35
36
37
using System;
using UnityEngine;
using KSP;
namespace KerbalOccupationColors
{
public class KOCSettings : GameParameters.CustomParameterNode
{
[GameParameters.CustomParameterUI("Automatically Apply Future Suit?", toolTip = "Should new Kerbals automatically equip the Future Suit by default?")]
public bool automaticallyApplyFutureSuit = false;
[GameParameters.CustomParameterUI("Apply Dress Code Enforcement to Kerbals on assignment as well as Kerbals at home?", toolTip = "Attempts to assign Future Suit to Kerbals in the field. May not work unless you save the game then reload it after exiting this menu.")]
public bool dressCodeAppliesToAssignedKerbals = true;
[GameParameters.CustomParameterUI("Force occupation color compliance on current hires?", toolTip = "(one time use then setting disables itself)")]
public bool enforceDressCodeCompliance = true;
public override string Section { get { return "KOC"; } }
public override int SectionOrder { get { return 1; } }
public override string Title { get { return "Kerbal Occupation Colors"; } }
public override GameParameters.GameMode GameMode { get { return GameParameters.GameMode.ANY; } }
public override bool HasPresets { get { return false; } }
public override string DisplaySection
{
get
{
return "Kerbal Occupation Colors";
}
}
}
}