<commit_before>﻿
using MetroOverhaul.Detours;
using MetroOverhaul.OptionsFramework.Attibutes;

namespace MetroOverhaul
{
    [Options("MetroOverhaul")]
    public class Options
    {
        private const string WIP = "WIP features";
        private const string STYLES = "Additional styles";
        public Options()
        {
#if DEBUG
            steelTracks = false;
            steelTracksNoBar = false;
#endif
            concreteTracksNoBar = true;
            improvedPassengerTrainAi = true;
            improvedMetroTrainAi = true;
            metroUi = true;
            replaceExistingNetworks = false;
        }
        [Checkbox("Concrete tracks (no fence)", STYLES)]
        public bool concreteTracksNoBar { set; get; }

        [Checkbox("Metro track customization UI (requires reloading from main menu)")]
        public bool metroUi { set; get; }
        [Checkbox("Improved PassengerTrainAI (Allows trains to return to depots)", null, nameof(PassengerTrainAIDetour), nameof(PassengerTrainAIDetour.ChangeDeployState))]
        public bool improvedPassengerTrainAi { set; get; }
        [Checkbox("Improved MetroTrainAI (Allows trains to properly spawn at surface)", null, nameof(MetroTrainAIDetour), nameof(MetroTrainAIDetour.ChangeDeployState))]
        public bool improvedMetroTrainAi { set; get; }
        [Checkbox("Replace vanilla metro tracks with MOM tracks", WIP)]
        public bool replaceExistingNetworks { set; get; }

#if DEBUG
        [Checkbox("Steel tracks", STYLES)]
        public bool steelTracks { set; get; }
        [Checkbox("Steel tracks (no fence)", STYLES)]
        public bool steelTracksNoBar { set; get; }
#endif
    }
}<commit_msg>Add general options section<commit_after>﻿
using MetroOverhaul.Detours;
using MetroOverhaul.OptionsFramework.Attibutes;

namespace MetroOverhaul
{
    [Options("MetroOverhaul")]
    public class Options
    {
        private const string WIP = "WIP features";
        private const string STYLES = "Additional styles";
        private const string GENERAL = "General settings";
        public Options()
        {
#if DEBUG
            steelTracks = false;
            steelTracksNoBar = false;
#endif
            concreteTracksNoBar = true;
            improvedPassengerTrainAi = true;
            improvedMetroTrainAi = true;
            metroUi = true;
            replaceExistingNetworks = false;
        }
        [Checkbox("Metro track customization UI (requires reloading from main menu)", GENERAL)]
        public bool metroUi { set; get; }

        [Checkbox("Improved PassengerTrainAI (Allows trains to return to depots)", GENERAL, nameof(PassengerTrainAIDetour), nameof(PassengerTrainAIDetour.ChangeDeployState))]
        public bool improvedPassengerTrainAi { set; get; }

        [Checkbox("Improved MetroTrainAI (Allows trains to properly spawn at surface)", GENERAL, nameof(MetroTrainAIDetour), nameof(MetroTrainAIDetour.ChangeDeployState))]
        public bool improvedMetroTrainAi { set; get; }

        [Checkbox("Concrete tracks (no fence)", STYLES)]
        public bool concreteTracksNoBar { set; get; }

        [Checkbox("Replace vanilla metro tracks with MOM tracks", WIP)]
        public bool replaceExistingNetworks { set; get; }

#if DEBUG
        [Checkbox("Steel tracks", STYLES)]
        public bool steelTracks { set; get; }

        [Checkbox("Steel tracks (no fence)", STYLES)]
        public bool steelTracksNoBar { set; get; }
#endif
    }
}
{'fraction_non_alphanumeric': 0.0876736111111111, 'fraction_numerical': 0.0, 'mean_word_length': 2.991916859122402, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6660611', 'n_tokens_mistral': 1020, 'n_tokens_neox': 976, 'n_words': 276}