recipe#
Models for the Recipe API.
- class wow.models.recipe.CraftedQuantity[source]#
Bases:
ModelHow many items one craft makes: a fixed
value, or a range fromminimumtomaximum.- value: float | None = None#
- minimum: float | None = None#
- maximum: float | None = None#
- class wow.models.recipe.Recipe[source]#
Bases:
DocumentA profession recipe: what it makes and the reagents it uses.
- Variables:
crafted_item – The item the recipe makes. Recipes that make no item, such as enchants, have none.
crafted_quantity – How many items one craft makes. Recipes that craft nothing, such as the one that teaches Skinning, have none.
rank – The rank of a recipe that has several ranks.
- id: int#
- name: str#
- crafted_quantity: CraftedQuantity | None = None#
- reagents: tuple[ItemReagent, ...] = ()#
- rank: int | None = None#
- description: str | None = None#