Ejemplo n.º 1
0
 private static void AddLab(Lab lab, Dictionary <Item, int> demandsList)
 {
     foreach (Research.RequiredItem reqItem in lab.Research.GetItemsPerDay().ToList())
     {
         RecipeHelper.AddItem(demandsList, reqItem.Item, Mathf.RoundToInt(reqItem.Count * lab.SharedData.Efficiency * 30));
     }
 }
Ejemplo n.º 2
0
 private static void AddCityDemand(CityDemand demand, Dictionary <Item, int> demandsList)
 {
     RecipeHelper.AddItem(demandsList, demand.Item, demand.Demand);
 }