Item#
- class corkus.objects.Item#
Represents regular (non-crafted) Wynncraft item.
- property display_name#
Name that should be displayed to end-user, usually match
name
.Caution
This property may not be reliable. See: Wynncraft/WynncraftAPI19.
- Return type:
- property category#
Category of the item.
- Return type:
- property set#
The name of the set this item is part of.
None
if not part of a set.Caution
This property is currently bugged and works only for
Leaf
set. See: Wynncraft/WynncraftAPI#36.
- property armour_type#
Material from which armour is made. If not a armour piece, or item is player head, returns
None
.- Return type:
- property armour_color#
Color that this armour piece is dyed. This is only present if
armour_type
isArmourType.LEATHER
or else returnsNone
.
- property required_level#
Minimum combat level (
PlayerProfession.level
fromCharacter.combat
) required to use this item.- Return type:
- property required_class#
The class that is required for this item to be used.
None
if item can be used by all classes.- Return type:
- property skill_points#
Skill points required in order to use this item.
- Return type:
- property required_quest#
The quest that must have been completed in order for this item to be used.
- property restrictions#
Restrictions applied to this item.
- Return type:
- property damage#
If this item is a weapon (
category
isItemCategory.WEAPON
) return it’s damage.- Return type:
- property attack_speed#
If this item is a weapon (
category
isItemCategory.WEAPON
) return it’s attack speed.- Return type:
- property health#
If this item is a armour piece (
category
isItemCategory.ARMOUR
) return set amount of health this armor provides.- Return type:
- property armour_defence#
If this item is a armour piece (
category
isItemCategory.ARMOUR
) return protection it gives against elemental attacks.- Return type:
- property major_identifications#
List all Major IDs on the item.
- Return type:
- property identifications#
List all identifications of this item.
- Return type:
- property skin#
If this item is a helmet (
type
isItemType.HELMET
) in form player head, this return information about owner of the head.- Return type:
- property item_id#
Minecraft block/item ID + optional data value, pre-flattening. Format:
ID:DV
- Return type: