Function canMake

  • Determines if you're currently able to make a particular item

    Parameters

    • item: Item

      The item in question

    • amount: number = 1

      The number of the item to make; defaults to one

    Returns boolean

    Whether we currently can make the item--that is, whether the TakerSpace is in your workshed and you have enough resources