public Storyteller(StorytellerDef def, DifficultyDef difficulty) { this.def = def; this.difficulty = difficulty; this.intenderPopulation = new StoryIntender_Population(this); this.InitializeStorytellerComps(); }
public void DoTable_PopulationIntents() { List <float> list = new List <float>(); for (int i = 0; i < 30; i++) { list.Add((float)i); } List <float> list2 = new List <float>(); for (int j = 0; j < 40; j += 2) { list2.Add((float)j); } DebugTables.MakeTablesDialog <float, float>(list2, (float ds) => "d-" + ds.ToString("F0"), list, (float rv) => rv.ToString("F2"), (float ds, float p) => StoryIntender_Population.CalculatePopulationIntent(this.Def, p, (int)(ds * 60000f)).ToString("F2"), "pop"); }
private string <PopulationIntents> m__2(float ds, float p) { return(StoryIntender_Population.CalculatePopulationIntent(this.Def, p, (int)(ds * 60000f)).ToString("F2")); }