forked from nikita/muzika-gromche
Reorder [General] config section alphabetically
As a side-effect, this conveniently places the most important option OverrideSpawnRates at the top.
This commit is contained in:
parent
af38056d11
commit
ecee2a25e2
|
|
@ -2595,10 +2595,18 @@ namespace MuzikaGromche
|
|||
|
||||
internal Config(ConfigFile configFile)
|
||||
{
|
||||
OverrideSpawnRates = configFile.Bind("General", "Override Spawn Rates", true,
|
||||
new ConfigDescription("Deviate from vanilla spawn rates to experience content of this mod more often."));
|
||||
LethalConfigManager.AddConfigItem(new BoolCheckBoxConfigItem(OverrideSpawnRates, requiresRestart: false));
|
||||
|
||||
ReduceVFXAndHideLyrics = configFile.Bind("General", "Reduce Visual Effects, Hide Lyrics", false,
|
||||
new ConfigDescription("Reduce intensity of certain visual effects, hide lyrics in the HUD tooltip when you hear the music."));
|
||||
LethalConfigManager.AddConfigItem(new BoolCheckBoxConfigItem(ReduceVFXAndHideLyrics, requiresRestart: false));
|
||||
|
||||
SkipExplicitTracks = configFile.Bind("General", "Skip Explicit Tracks", false,
|
||||
new ConfigDescription("When choosing tracks at random, skip the ones with Explicit Content/Lyrics."));
|
||||
LethalConfigManager.AddConfigItem(new BoolCheckBoxConfigItem(SkipExplicitTracks, requiresRestart: false));
|
||||
|
||||
Volume = configFile.Bind("General", "Volume", VolumeDefault,
|
||||
new ConfigDescription("Volume of music played by this mod.", new AcceptableValueRange<float>(VolumeMin, VolumeMax)));
|
||||
LethalConfigManager.AddConfigItem(new FloatSliderConfigItem(Volume, requiresRestart: false));
|
||||
|
|
@ -2609,14 +2617,6 @@ namespace MuzikaGromche
|
|||
// too much configurability
|
||||
LethalConfigManager.SkipAutoGenFor(AudioOffset);
|
||||
|
||||
SkipExplicitTracks = configFile.Bind("General", "Skip Explicit Tracks", false,
|
||||
new ConfigDescription("When choosing tracks at random, skip the ones with Explicit Content/Lyrics."));
|
||||
LethalConfigManager.AddConfigItem(new BoolCheckBoxConfigItem(SkipExplicitTracks, requiresRestart: false));
|
||||
|
||||
OverrideSpawnRates = configFile.Bind("General", "Override Spawn Rates", true,
|
||||
new ConfigDescription("Deviate from vanilla spawn rates to experience content of this mod more often."));
|
||||
LethalConfigManager.AddConfigItem(new BoolCheckBoxConfigItem(OverrideSpawnRates, requiresRestart: false));
|
||||
|
||||
#if DEBUG
|
||||
SetupEntriesForGameOverText(configFile);
|
||||
SetupEntriesForScreenFilters(configFile);
|
||||
|
|
|
|||
Loading…
Reference in New Issue