private void Start()
        {
            PregnancyProgressionSpeed = Config.Bind("General", "Pregnancy progression speed", 4,
                                                    new ConfigDescription("How much faster does the in-game pregnancy progresses than the standard 40 weeks. " +
                                                                          "It also reduces the time characters leave school for after birth.\n\n" +
                                                                          "x1 is 40 weeks, x2 is 20 weeks, x4 is 10 weeks, x10 is 4 weeks.",
                                                                          new AcceptableValueList <int>(1, 2, 4, 10)));

            ConceptionEnabled = Config.Bind("General", "Enable conception", true,
                                            "Allows characters to get pregnant from vaginal sex. Doesn't affect already pregnant characters.");

            AnalConceptionEnabled = Config.Bind("General", "Enable anal conception", false,
                                                "Allows characters to get pregnant from anal sex. Doesn't affect already pregnant characters.");

            ShowPregnancyIconEarly = Config.Bind("General", "Show pregnancy icon early", false,
                                                 "By default pregnancy status icon in class roster is shown after a few days (the girl had a chance to do the test). " +
                                                 "Turning this on will make the icon show up at the end of the current day.");

            CharacterApi.RegisterExtraBehaviour <PregnancyCharaController>(GUID);
            GameAPI.RegisterExtraBehaviour <PregnancyGameController>(GUID);

            var hi = new Harmony(GUID);

            Hooks.InitHooks(hi);
            PregnancyGui.Init(hi, this);
        }
Ejemplo n.º 2
0
        private void Start()
        {
            Logger = base.Logger;

            PregnancyProgressionSpeed = Config.Bind("General", "Pregnancy progression speed", 4,
                                                    new ConfigDescription("How much faster does the in-game pregnancy progresses than the standard 40 weeks. " +
                                                                          "It also reduces the time characters leave school for after birth.\n\n" +
                                                                          "x1 is 40 weeks, x2 is 20 weeks, x4 is 10 weeks, x10 is 4 weeks.",
                                                                          new AcceptableValueList <int>(1, 2, 4, 10)));

            ConceptionEnabled = Config.Bind("General", "Enable conception", true,
                                            "Allows characters to get pregnant from vaginal sex. Doesn't affect already pregnant characters.");

            FertilityOverride = Config.Bind("General", "Minimum fertility level", 0f,
                                            new ConfigDescription("If a character has a lower fertility level than this set, this level will be used instead. \n\n" +
                                                                  "0 - The value saved in the character card is used (30% by default)\n" +
                                                                  "30%, 50%, 75%, 100% - If the character card's saved value is lower, it will be raised to this level in HScenes.",
                                                                  new AcceptableValueList <float>(0f, 0.3f, 0.5f, 0.75f, 1f)));

            AnalConceptionEnabled = Config.Bind("General", "Enable anal conception", false,
                                                "Allows characters to get pregnant from anal sex. Doesn't affect already pregnant characters.");

            ShowPregnancyIconEarly = Config.Bind("General", "Show pregnancy icon early", false,
                                                 "By default pregnancy status icon in class roster is shown after a few days or weeks (the character had a chance to do the test or noticed something is wrong).\n" +
                                                 "Turning this on will always make the icon show up at the end of the current day.");

            HSceneMenstrIconOverride = Config.Bind("General", "Use custom safe/risky icons in H Scenes", true,
                                                   "Replaces the standard safe/risky indicators with custom indicators that can also show pregnancy and unknown status. " +
                                                   "If the status is unknown you will have to listen for the voice cues instead.\nChanges take effect after game restart.");

            InflationEnable = Config.Bind("Inflation", "Enable inflation", true, "Turn on the inflation effect.");

            InflationSpeed = Config.Bind("Inflation", "Inflation speed modifier", 1,
                                         new ConfigDescription("How quickly the belly will inflate/deflate compared to normal (1x, 2x, 3x as fast).", new AcceptableValueList <int>(1, 2, 3)));

            InflationOpenClothAtMax = Config.Bind("Inflation", "Open clothes at max inflation", true,
                                                  "If clothes are fully on, open them when inflation reaches the max value (they 'burst' open).");

            InflationMaxCount = Config.Bind("Inflation", "Cum count until full", 8,
                                            new ConfigDescription("How many times you have to let out inside to reach the maximum belly size.", new AcceptableValueRange <int>(2, 15)));

            LactationEnabled = Config.Bind("Lactation", "Enable lactation", true,
                                           "Enable the lactation effect. For the effect to work the character has to be pregnant, or the override setting has to be enabled.");

            LactationFillTime = Config.Bind("Lactation", "Time to fully refill", 5,
                                            new ConfigDescription("How many minutes it takes to fully refill the milk. 0 is always fully refilled.", new AcceptableValueRange <int>(0, 10)));

            LactationForceMaxCapacity = Config.Bind("Lactation", "Force max milk capacity", false,
                                                    "If enabled, all characters will lactate and have full capacity. If off, capacity depends on the pregnancy progress.");

            CharacterApi.RegisterExtraBehaviour <PregnancyCharaController>(GUID);
            GameAPI.RegisterExtraBehaviour <PregnancyGameController>(GUID);

            var hi = new Harmony(GUID);

            Hooks.InitHooks(hi);
            PregnancyGui.Init(hi, this);
        }