Function freeCrafts

  • Parameters

    • Optionaltype:
          | "food"
          | "smith"
          | "booze"
          | "all" = "all"

      the type of crafting to check for free crafts

    Returns number

    the number of free crafts available of that type