static InitializeDefProperties() { SRTSMod.mod.settings.CheckDictionarySavedValid(); SRTS_ModSettings.CheckNewDefaultValues(); SRTSHelper.PopulateDictionary(); SRTSHelper.PopulateAllowedBombs(); ModCompatibilityInitialized(); }
private void ResetMainSettings() { SoundDefOf.RadioButtonClicked.PlayOneShotOnCamera(); this.settings.passengerLimits = true; this.settings.dynamicWorldDrawingSRTS = true; this.settings.displayHomeItems = true; this.settings.allowEvenIfDowned = true; this.settings.allowEvenIfPrisonerUnsecured = false; this.settings.allowCapturablePawns = true; this.settings.disallowedBombs.Clear(); this.settings.allowedBombs.Clear(); SRTSHelper.PopulateAllowedBombs(); }
internal void ResetBombList() { this.settings.disallowedBombs.Clear(); this.settings.allowedBombs.Clear(); SRTSHelper.PopulateAllowedBombs(); }