public static string DebugReadout() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.AppendLine("IntenderPopulation"); stringBuilder.AppendLine(" Adjusted population: " + AdjustedPopulation.ToString("F1")); stringBuilder.AppendLine(" Pop adaptation days: " + Find.StoryWatcher.watcherPopAdaptation.AdaptDays.ToString("F2")); stringBuilder.AppendLine(" PopulationIntent: " + PopulationIntent.ToString("F2")); return(stringBuilder.ToString()); }
public static string DebugReadout() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.AppendLine("Population intent: ".PadRight(40) + PopulationIntent.ToString("F2")); stringBuilder.AppendLine("Population intent for quest: ".PadRight(40) + PopulationIntentForQuest.ToString("F2")); stringBuilder.AppendLine("Chance random quest increases population: ".PadRight(40) + NaturalRandomQuestChooser.PopulationIncreasingQuestChance().ToStringPercent()); stringBuilder.AppendLine("Adjusted population: ".PadRight(40) + AdjustedPopulation.ToString("F1")); stringBuilder.AppendLine("Adjusted population including quests: ".PadRight(40) + AdjustedPopulation.ToString("F1")); stringBuilder.AppendLine("Pop adaptation days: ".PadRight(40) + Find.StoryWatcher.watcherPopAdaptation.AdaptDays.ToString("F2")); return(stringBuilder.ToString()); }