-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModConfig.cs
More file actions
55 lines (38 loc) · 2.85 KB
/
ModConfig.cs
File metadata and controls
55 lines (38 loc) · 2.85 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
using BepInEx.Configuration;
namespace Atlas
{
public class ModConfig
{
internal static ConfigEntry<bool> configCanyonSky, configValleySky, configTundraSky, configCompanySky, configAmethystSky, configAmethystFog;
internal static ConfigEntry<string> configMoonBlacklist, configCanyonOverrides, configValleyOverrides, configTundraOverrides, configCompanyOverrides, configAmethystOverrides;
internal static void Init(ConfigFile cfg)
{
configCanyonSky = cfg.Bind("General", "Canyon Skies", true,
new ConfigDescription("Adds a new HDRI volume to moons tagged with \"Canyon\""));
configValleySky = cfg.Bind("General", "Valley Skies", true,
new ConfigDescription("Adds a new HDRI volume to moons tagged with \"Valley\""));
configTundraSky = cfg.Bind("General", "Tundra Skies", true,
new ConfigDescription("Adds a new HDRI volume to moons tagged with \"Tundra\""));
configCompanySky = cfg.Bind("General", "Company Skies", true,
new ConfigDescription("Adds a new HDRI volume to moons tagged with \"Company\""));
configAmethystSky = cfg.Bind("General", "Amethyst Skies", true,
new ConfigDescription("Adds a new HDRI volume to moons tagged with \"Amethyst\""));
configAmethystFog = cfg.Bind("General", "Amethyst Fog", true,
new ConfigDescription("Adds extra fog to the new Amethyst sky, applies to both interior and exterior."));
// -- blacklist --
configMoonBlacklist = cfg.Bind("Blacklist", "Moon Blacklist", "Experimentation, Artifice",
new ConfigDescription("Planet names in this list will not have their skies overwritten. Must be separated by comma."));
// -- overrides --
configCanyonOverrides = cfg.Bind("Overrides", "Canyon", "",
new ConfigDescription("Moon names in this list will forcefully load the Canyon profile. Must be separated by comma."));
configValleyOverrides = cfg.Bind("Overrides", "Valley", "",
new ConfigDescription("Moon names in this list will forcefully load the Valley profile. Must be separated by comma."));
configTundraOverrides = cfg.Bind("Overrides", "Tundra", "",
new ConfigDescription("Moon names in this list will forcefully load the Tundra profile. Must be separated by comma."));
configCompanyOverrides = cfg.Bind("Overrides", "Company", "",
new ConfigDescription("Moon names in this list will forcefully load the Company profile. Must be separated by comma."));
configAmethystOverrides = cfg.Bind("Overrides", "Amethyst", "",
new ConfigDescription("Moon names in this list will forcefully load the Amethyst profile. Must be separated by comma."));
}
}
}