// Token: 0x0600004F RID: 79 RVA: 0x000031EC File Offset: 0x000013EC public static bool TechLevelAllowed(TechLevel level) { Storyteller storyteller = Find.Storyteller; bool flag = storyteller != null; return(!flag || StorytellerDefExtension.Get(storyteller.def).allowedTechLevels.Includes(level)); }
public static bool TechLevelAllowed(TechLevel level) { // Paranoid nullcheck var storyteller = Find.Storyteller; if (storyteller != null) { return(StorytellerDefExtension.Get(storyteller.def).allowedTechLevels.Includes(level)); } return(true); }