Function recipeFor

  • Determine the Recipe for a given item

    Parameters

    • item: Item

      The item in question

    Returns Recipe | null

    The Recipe for that item, as a length-6 array in the order Spice, Rum, Anchor, Mast, Silk, Gold