public static void Reset()
 {
     allGeneratableItems.Clear();
     foreach (ThingDef allDef in DefDatabase <ThingDef> .AllDefs)
     {
         if (CanGenerate(allDef))
         {
             allGeneratableItems.Add(allDef);
         }
     }
     ThingSetMaker_Meteorite.Reset();
 }
예제 #2
0
 public static void Reset()
 {
     ThingSetMakerUtility.allGeneratableItems.Clear();
     foreach (ThingDef current in DefDatabase <ThingDef> .AllDefs)
     {
         if (ThingSetMakerUtility.CanGenerate(current))
         {
             ThingSetMakerUtility.allGeneratableItems.Add(current);
         }
     }
     ThingSetMaker_Meteorite.Reset();
 }