Example #1
0
 public static bool CanBeCraft(IEnumerable <Item> store, FactorioRecipe recipe) =>
 recipe.Ingredients?.All(el =>
Example #2
0
 protected CraftingMachineState(double craftingSpeed)
 {
     Ingredients    = new Inventory();
     Recipe         = new FactorioRecipe();
     _craftingSpeed = craftingSpeed;
 }