From ecee2a25e2e55c93de9d6db9fcc92dab3ab628ba Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Fri, 23 Jan 2026 00:13:02 +0200 Subject: [PATCH] Reorder [General] config section alphabetically As a side-effect, this conveniently places the most important option OverrideSpawnRates at the top. --- MuzikaGromche/Plugin.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/MuzikaGromche/Plugin.cs b/MuzikaGromche/Plugin.cs index c12f328..bf204fc 100644 --- a/MuzikaGromche/Plugin.cs +++ b/MuzikaGromche/Plugin.cs @@ -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(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);