public static Twelfth FindStartingWarmTwelfth(int tile) { Twelfth twelfth = GenTemperature.EarliestTwelfthInAverageTemperatureRange(tile, 16f, 9999f); if (twelfth == Twelfth.Undefined) { twelfth = Season.Summer.GetFirstTwelfth(Find.WorldGrid.LongLatOf(tile).y); } return(twelfth); }