private static void SetupForQuickTestPlay() { Current.ProgramState = ProgramState.Entry; Current.Game = new Game(); Current.Game.InitData = new GameInitData(); Current.Game.Scenario = ScenarioDefOf.Crashlanded.scenario; Find.Scenario.PreConfigure(); Current.Game.storyteller = new Storyteller(StorytellerDefOf.Cassandra, DifficultyDefOf.Rough); Current.Game.World = WorldGenerator.GenerateWorld(0.05f, GenText.RandomSeedString(), OverallRainfall.Normal, OverallTemperature.Normal, OverallPopulation.Normal); Find.GameInitData.ChooseRandomStartingTile(); Find.GameInitData.mapSize = 150; Find.GameInitData.PrepForMapGen(); Find.Scenario.PreMapGenerate(); }