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)); } }
private static void AddCityDemand(CityDemand demand, Dictionary <Item, int> demandsList) { RecipeHelper.AddItem(demandsList, demand.Item, demand.Demand); }