2019-12-27 14:36:55 +01:00
|
|
|
.. _doc_general_item_enums:
|
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
:ref:`Item Enums <class_ItemEnums>`
|
|
|
|
===================================
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
Contains item-related enums.
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
:ref:`ItemRarity <enum_ItemEnums_ItemRarity>`
|
|
|
|
---------------------------------------------
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
Yout can set the visual rarity representation with this.
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
:ref:`ItemRarityFlag <enum_ItemEnums_ItemRarityFlag>`
|
|
|
|
-----------------------------------------------------
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
For generated items. You can set with it which rarities can happen.
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
:ref:`ItemType <enum_ItemEnums_ItemType>`
|
|
|
|
-----------------------------------------
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
Main item type / category.
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
Contains things like equipment, weapont, potion, herb, etc.
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
:ref:`ItemSubtype <enum_ItemEnums_ItemSubtype>`
|
|
|
|
-----------------------------------------------
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
Subtype. Like axe, mace, quest item etc.
|
2019-12-27 14:36:55 +01:00
|
|
|
|
2019-12-27 16:04:57 +01:00
|
|
|
:ref:`ItemSubSubtype <enum_ItemEnums_ItemSubSubtype>`
|
|
|
|
-----------------------------------------------------
|
|
|
|
|
|
|
|
SubSubtype. Like One hand, Two Hand etc.
|
|
|
|
|
|
|
|
.. note:: I don't like this setup, I'll try to make this better.
|
|
|
|
|
|
|
|
:ref:`EquipSlots <enum_ItemEnums_EquipSlots>`
|
|
|
|
---------------------------------------------
|
|
|
|
|
|
|
|
The equipslots you want for your character.
|
|
|
|
|
|
|
|
Head, Neck, Shoulders etc.
|
|
|
|
|
|
|
|
.. note:: I don't like this setup, I'll try to make this better (Somehow make it easily changeable).
|
|
|
|
Maybe make it customiyable with a macro from a central file somehow. TODO (Same will be
|
|
|
|
applied, to any enum which should be customizable)
|
|
|
|
|
|
|
|
:ref:`ArmorType <enum_ItemEnums_ArmorType>`
|
|
|
|
-------------------------------------------
|
|
|
|
|
|
|
|
Armor types. Cloth, Leather, etc.
|
|
|
|
|
|
|
|
:ref:`EntityTextureLayers <enum_ItemEnums_EntityTextureLayers>`
|
|
|
|
---------------------------------------------------------------
|
|
|
|
|
|
|
|
Texture Layers for merging equipment textures, so you can color skins, eyes etc, and then merge
|
|
|
|
(and also possibly color) equipment textures.
|
|
|
|
|
|
|
|
Think of equipment coloring in Diablo 3.
|