mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Cut down on the savefile size by not writing default values
This commit is contained in:
		
							parent
							
								
									f2fa99853f
								
							
						
					
					
						commit
						89a7d410df
					
				
					 4 changed files with 55 additions and 55 deletions
				
			
		| 
						 | 
					@ -189,51 +189,51 @@ namespace RJW_Menstruation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public override void ExposeData()
 | 
					        public override void ExposeData()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            Scribe_Values.Look(ref ImplantationChanceAdjust, "ImplantationChanceAdjust", ImplantationChanceAdjust, true);
 | 
					            Scribe_Values.Look(ref ImplantationChanceAdjust, "ImplantationChanceAdjust", ImplantationChanceAdjustDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref ImplantationChance, "ImplantationChance", ImplantationChance, true);
 | 
					            Scribe_Values.Look(ref ImplantationChance, "ImplantationChance", ImplantationChanceDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref FertilizeChanceAdjust, "FertilizeChanceAdjust", FertilizeChanceAdjust, true);
 | 
					            Scribe_Values.Look(ref FertilizeChanceAdjust, "FertilizeChanceAdjust", FertilizeChanceAdjustDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref FertilizeChance, "FertilizeChance", FertilizeChance, true);
 | 
					            Scribe_Values.Look(ref FertilizeChance, "FertilizeChance", FertilizeChanceDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref CumDecayRatioAdjust, "CumDecayRatioAdjust", CumDecayRatioAdjust, true);
 | 
					            Scribe_Values.Look(ref CumDecayRatioAdjust, "CumDecayRatioAdjust", CumDecayRatioAdjustDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref CumDecayRatio, "CumDecayRatio", CumDecayRatio, true);
 | 
					            Scribe_Values.Look(ref CumDecayRatio, "CumDecayRatio", CumDecayRatioDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref CumFertilityDecayRatioAdjust, "CumFertilityDecayRatioAdjust", CumFertilityDecayRatioAdjust, true);
 | 
					            Scribe_Values.Look(ref CumFertilityDecayRatioAdjust, "CumFertilityDecayRatioAdjust", CumFertilityDecayRatioAdjustDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref CumFertilityDecayRatio, "CumFertilityDecayRatio", CumFertilityDecayRatio, true);
 | 
					            Scribe_Values.Look(ref CumFertilityDecayRatio, "CumFertilityDecayRatio", CumFertilityDecayRatioDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref CycleAcceleration, "CycleAcceleration", CycleAcceleration, true);
 | 
					            Scribe_Values.Look(ref CycleAcceleration, "CycleAcceleration", CycleAccelerationDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref ColonistTickInterval, "ColonistTickInterval", ColonistTickInterval, true);
 | 
					            Scribe_Values.Look(ref ColonistTickInterval, "ColonistTickInterval", ColonistTickIntervalDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref NonColonistTickInterval, "NonColonistTickInterval", NonColonistTickInterval, true);
 | 
					            Scribe_Values.Look(ref NonColonistTickInterval, "NonColonistTickInterval", NonColonistTickIntervalDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref AnimalTickInterval, "AnimalTickInterval", AnimalTickInterval, true);
 | 
					            Scribe_Values.Look(ref AnimalTickInterval, "AnimalTickInterval", AnimalTickIntervalDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableWombIcon, "EnableWombIcon", EnableWombIcon, true);
 | 
					            Scribe_Values.Look(ref EnableWombIcon, "EnableWombIcon", true);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableDraftedIcon, "EnableDraftedIcon", EnableDraftedIcon, true);
 | 
					            Scribe_Values.Look(ref EnableDraftedIcon, "EnableDraftedIcon", true);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableAnimalCycle, "EnableAnimalCycle", EnableAnimalCycle, true);
 | 
					            Scribe_Values.Look(ref EnableAnimalCycle, "EnableAnimalCycle", false);
 | 
				
			||||||
            Scribe_Values.Look(ref DrawWombStatus, "DrawWombStatus", DrawWombStatus, true);
 | 
					            Scribe_Values.Look(ref DrawWombStatus, "DrawWombStatus", true);
 | 
				
			||||||
            Scribe_Values.Look(ref DrawVaginaStatus, "DrawVaginaStatus", DrawVaginaStatus, true);
 | 
					            Scribe_Values.Look(ref DrawVaginaStatus, "DrawVaginaStatus", true);
 | 
				
			||||||
            Scribe_Values.Look(ref DrawEggOverlay, "DrawEggOvray", DrawEggOverlay, true);
 | 
					            Scribe_Values.Look(ref DrawEggOverlay, "DrawEggOvray", true);
 | 
				
			||||||
            Scribe_Values.Look(ref Debug, "Debug", Debug, true);
 | 
					            Scribe_Values.Look(ref Debug, "Debug", false);
 | 
				
			||||||
            Scribe_Values.Look(ref infoDetail, "InfoDetail", infoDetail, true);
 | 
					            Scribe_Values.Look(ref infoDetail, "InfoDetail", DetailLevel.All);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableMenopause, "EnableMenopause", EnableMenopause, true);
 | 
					            Scribe_Values.Look(ref EnableMenopause, "EnableMenopause", true);
 | 
				
			||||||
            Scribe_Values.Look(ref EstrusOverridesHookupSettings, "EstrusOverridesHookupSettings", EstrusOverridesHookupSettings, true);
 | 
					            Scribe_Values.Look(ref EstrusOverridesHookupSettings, "EstrusOverridesHookupSettings", false);
 | 
				
			||||||
            Scribe_Values.Look(ref EstrusFuckabilityToHookup, "EstrusFuckabilityToHookup", EstrusFuckabilityToHookup, true);
 | 
					            Scribe_Values.Look(ref EstrusFuckabilityToHookup, "EstrusFuckabilityToHookup", EstrusFuckabilityToHookup, true);
 | 
				
			||||||
            Scribe_Values.Look(ref EstrusAttractivenessToHookup, "EstrusAttractivenessToHookup", EstrusAttractivenessToHookup, true);
 | 
					            Scribe_Values.Look(ref EstrusAttractivenessToHookup, "EstrusAttractivenessToHookup", EstrusAttractivenessToHookup, true);
 | 
				
			||||||
            Scribe_Values.Look(ref EstrusRelationshipToHookup, "EstrusRelationshipToHookup", EstrusRelationshipToHookup, true);
 | 
					            Scribe_Values.Look(ref EstrusRelationshipToHookup, "EstrusRelationshipToHookup", EstrusRelationshipToHookup, true);
 | 
				
			||||||
            Scribe_Values.Look(ref PregnancySource, "PregnancySource", PregnancySource, true);
 | 
					            Scribe_Values.Look(ref PregnancySource, "PregnancySource", PregnancyType.MultiplePregnancy);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableBiotechTwins, "EnableBiotechTwins", EnableBiotechTwins, true);
 | 
					            Scribe_Values.Look(ref EnableBiotechTwins, "EnableBiotechTwins", false);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableHeteroOvularTwins, "EnableHeteroOvularTwins", EnableHeteroOvularTwins, true);
 | 
					            Scribe_Values.Look(ref EnableHeteroOvularTwins, "EnableHeteroOvularTwins", true);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableEnzygoticTwins, "EnableEnzygoticTwins", EnableEnzygoticTwins, true);
 | 
					            Scribe_Values.Look(ref EnableEnzygoticTwins, "EnableEnzygoticTwins", true);
 | 
				
			||||||
            Scribe_Values.Look(ref EnzygoticTwinsChance, "EnzygoticTwinsChance", EnzygoticTwinsChance, true);
 | 
					            Scribe_Values.Look(ref EnzygoticTwinsChance, "EnzygoticTwinsChance", EnzygoticTwinsChanceDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref EnzygoticTwinsChanceAdjust, "EnzygoticTwinsChanceAdjust", EnzygoticTwinsChanceAdjust, true);
 | 
					            Scribe_Values.Look(ref EnzygoticTwinsChanceAdjust, "EnzygoticTwinsChanceAdjust", EnzygoticTwinsChanceAdjustDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref MaxEnzygoticTwins, "MaxEnzygoticTwins", MaxEnzygoticTwins, true);
 | 
					            Scribe_Values.Look(ref MaxEnzygoticTwins, "MaxEnzygoticTwins", MaxEnzygoticTwinsDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref BleedingAmount, "BleedingAmount", BleedingAmount, true);
 | 
					            Scribe_Values.Look(ref BleedingAmount, "BleedingAmount", BleedingAmountDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableButtonInHT, "EnableButtonInHT", EnableButtonInHT, true);
 | 
					            Scribe_Values.Look(ref EnableButtonInHT, "EnableButtonInHT", false);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableGatherCumGizmo, "EnableGatherCumGizmo", true, true);
 | 
					            Scribe_Values.Look(ref EnableGatherCumGizmo, "EnableGatherCumGizmo", true);
 | 
				
			||||||
            Scribe_Values.Look(ref ShowFlag, "ShowFlag", ShowFlag, true);
 | 
					            Scribe_Values.Look(ref ShowFlag, "ShowFlag", PawnFlags.Colonist | PawnFlags.Prisoner);
 | 
				
			||||||
            Scribe_Values.Look(ref UseHybridExtention, "UseHybridExtention", UseHybridExtention, true);
 | 
					            Scribe_Values.Look(ref UseHybridExtention, "UseHybridExtention", true);
 | 
				
			||||||
            Scribe_Values.Look(ref MotherFirst, "MotherFirst", MotherFirst, true);
 | 
					            Scribe_Values.Look(ref MotherFirst, "MotherFirst", false);
 | 
				
			||||||
            Scribe_Values.Look(ref MaxBreastIncrementFactor, "MaxBreastIncrementFactor", MaxBreastIncrementFactor, true);
 | 
					            Scribe_Values.Look(ref MaxBreastIncrementFactor, "MaxBreastIncrementFactor", MaxBreastIncrementFactorDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref MaxNippleIncrementFactor, "MaxNippleIncrementFactor", MaxNippleIncrementFactor, true);
 | 
					            Scribe_Values.Look(ref MaxNippleIncrementFactor, "MaxNippleIncrementFactor", MaxNippleIncrementFactorDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref PermanentNippleChange, "PermanentNippleChange", PermanentNippleChange, true);
 | 
					            Scribe_Values.Look(ref PermanentNippleChange, "PermanentNippleChange", PermanentNippleChangeDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref AllowShrinkIcon, "AllowShrinkIcon", AllowShrinkIcon, true);
 | 
					            Scribe_Values.Look(ref AllowShrinkIcon, "AllowShrinkIcon", false);
 | 
				
			||||||
            Scribe_Values.Look(ref EggLifespanMultiplier, "EggLifespanMultiplier", EggLifespanMultiplier, true);
 | 
					            Scribe_Values.Look(ref EggLifespanMultiplier, "EggLifespanMultiplier", EggLifespanMultiplierDefault);
 | 
				
			||||||
            Scribe_Values.Look(ref EnableBirthVaginaMorph, "EnableBirthVaginaMorph", EnableBirthVaginaMorph, true);
 | 
					            Scribe_Values.Look(ref EnableBirthVaginaMorph, "EnableBirthVaginaMorph", false);
 | 
				
			||||||
            Scribe_Values.Look(ref VaginaMorphPower, "VaginaMorphPower", VaginaMorphPower, true);
 | 
					            Scribe_Values.Look(ref VaginaMorphPower, "VaginaMorphPower", VaginaMorphPowerDefault);
 | 
				
			||||||
            Scribe_Collections.Look(ref HybridOverride, saveDestroyedThings: true, label: "HybridOverride", lookMode: LookMode.Deep, ctorArgs: new object[0]);
 | 
					            Scribe_Collections.Look(ref HybridOverride, saveDestroyedThings: true, label: "HybridOverride", lookMode: LookMode.Deep, ctorArgs: new object[0]);
 | 
				
			||||||
            base.ExposeData();
 | 
					            base.ExposeData();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -165,11 +165,11 @@ namespace RJW_Menstruation
 | 
				
			||||||
            Scribe_References.Look(ref pawn, "pawn", true);
 | 
					            Scribe_References.Look(ref pawn, "pawn", true);
 | 
				
			||||||
            Scribe_Values.Look(ref volume, "volume", volume, true);
 | 
					            Scribe_Values.Look(ref volume, "volume", volume, true);
 | 
				
			||||||
            Scribe_Values.Look(ref fertility, "fertility", fertility, true);
 | 
					            Scribe_Values.Look(ref fertility, "fertility", fertility, true);
 | 
				
			||||||
            Scribe_Values.Look(ref notcumthickness, "notcumthickness", notcumthickness, true);
 | 
					            Scribe_Values.Look(ref notcumthickness, "notcumthickness", 0);
 | 
				
			||||||
            Scribe_Values.Look(ref notcum, "notcum", notcum, true);
 | 
					            Scribe_Values.Look(ref notcum, "notcum", false);
 | 
				
			||||||
            Scribe_Values.Look(ref notcumLabel, "notcumLabel", notcumLabel, true);
 | 
					            Scribe_Values.Look(ref notcumLabel, "notcumLabel", "");
 | 
				
			||||||
            Scribe_Values.Look(ref useCustomColor, "useCustomColor", useCustomColor, true);
 | 
					            Scribe_Values.Look(ref useCustomColor, "useCustomColor", false);
 | 
				
			||||||
            Scribe_Values.Look(ref customColor, "customColor", customColor, true);
 | 
					            Scribe_Values.Look(ref customColor, "customColor", default);
 | 
				
			||||||
            Scribe_Defs.Look(ref filthDef, "filthDef");
 | 
					            Scribe_Defs.Look(ref filthDef, "filthDef");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -642,10 +642,10 @@ namespace RJW_Menstruation
 | 
				
			||||||
            Scribe_Values.Look(ref currentIntervalTicks, "currentIntervalTicks", currentIntervalTicks, true);
 | 
					            Scribe_Values.Look(ref currentIntervalTicks, "currentIntervalTicks", currentIntervalTicks, true);
 | 
				
			||||||
            Scribe_Values.Look(ref crampPain, "crampPain", crampPain, true);
 | 
					            Scribe_Values.Look(ref crampPain, "crampPain", crampPain, true);
 | 
				
			||||||
            Scribe_Values.Look(ref ovarypower, "ovarypower", ovarypower, true);
 | 
					            Scribe_Values.Look(ref ovarypower, "ovarypower", ovarypower, true);
 | 
				
			||||||
            Scribe_Values.Look(ref eggstack, "eggstack", eggstack, true);
 | 
					            Scribe_Values.Look(ref eggstack, "eggstack", 0);
 | 
				
			||||||
            Scribe_Values.Look(ref estrusflag, "estrusflag", estrusflag, true);
 | 
					            Scribe_Values.Look(ref estrusflag, "estrusflag", false);
 | 
				
			||||||
            Scribe_Values.Look(ref originvagsize, "originvagsize", originvagsize, true);
 | 
					            Scribe_Values.Look(ref originvagsize, "originvagsize", originvagsize, true);
 | 
				
			||||||
            Scribe_Values.Look(ref DoCleanWomb, "DoCleanWomb", false, false);
 | 
					            Scribe_Values.Look(ref DoCleanWomb, "DoCleanWomb", false);
 | 
				
			||||||
            Scribe_References.Look(ref pregnancy, "pregnancy");
 | 
					            Scribe_References.Look(ref pregnancy, "pregnancy");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -225,10 +225,10 @@ namespace RJW_Menstruation
 | 
				
			||||||
                Scribe_Values.Look(ref wearhours, "wearhours", wearhours, true);
 | 
					                Scribe_Values.Look(ref wearhours, "wearhours", wearhours, true);
 | 
				
			||||||
                if (wearhours >= 0) wearTicks = wearhours * GenDate.TicksPerHour;
 | 
					                if (wearhours >= 0) wearTicks = wearhours * GenDate.TicksPerHour;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            Scribe_Values.Look(ref absorbedfluids, "absorbedfluids", absorbedfluids, true);
 | 
					            Scribe_Values.Look(ref absorbedfluids, "absorbedfluids", 0);
 | 
				
			||||||
            Scribe_Values.Look(ref dirty, "dirty", dirty, true);
 | 
					            Scribe_Values.Look(ref dirty, "dirty", false);
 | 
				
			||||||
            Scribe_Values.Look(ref wearTicks, "wearTicks", wearTicks, true);
 | 
					            Scribe_Values.Look(ref wearTicks, "wearTicks", 0);
 | 
				
			||||||
            Scribe_Values.Look(ref fluidColor, "fluidColor", fluidColor, true);
 | 
					            Scribe_Values.Look(ref fluidColor, "fluidColor", Color.white);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -256,7 +256,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
        public override void ExposeData()
 | 
					        public override void ExposeData()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            base.ExposeData();
 | 
					            base.ExposeData();
 | 
				
			||||||
            Scribe_Values.Look(ref color, "color", color, true);
 | 
					            Scribe_Values.Look(ref color, "color", Color.white);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public override Color DrawColor
 | 
					        public override Color DrawColor
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue