Recipe#

class corkus.objects.Recipe#

Needed materials and professions for Crafting a item with given properties.

property level#

Level range that this item should be used in.

Return type:

LevelRange

property id#

Return the id of recipe like Food-13-15 or Wand-63-65.

Return type:

str

property type#

Type of the item.

Return type:

ItemType

property category#

Category of the item.

Return type:

ItemCategory

property profession#

Profession required to craft this item.

Return type:

ProfessionType

property materials#

Materials required to craft this item.

Return type:

List[Material]

property health_or_damage#

If this item is a weapon this returns damage dealt by this item, if not, health bonus.

Return type:

IdentificationValues

property duration#

If item is comsumbale returns how long it will work after use.

Return type:

Optional[IdentificationValues]

property charges#

If item is comsumbale returns how many times it can be used.

Return type:

Optional[Literal[3]]

property durability#

If item is armour accessory or weapon, return it’s durability.

Return type:

Optional[IdentificationValues]