-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Metatable:ItemType
dalkon edited this page Oct 4, 2014
·
8 revisions
No description available at the moment.
###Available methods:
getArmor()
getArticle()
getAttack()
getCapacity()
getDecayId()
getDefense()
getDescription()
getElementDamage()
getElementType()
getExtraDefense()
getFluidSource()
getId()
getName()
getPluralName()
getSlotPosition()
getTransformDeEquipId()
getTransformEquipId()
getType()
getWeaponType()
[getWeight([count = 1[, precise = true]])](#getWeight{[count = 1[, precise = true]]})
hasSubType()
isContainer()
isCorpse()
isDoor()
isFluidContainer()
isMovable()
isReadable()
isRune()
isStackable()
isWritable()
###### getArmor() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getArmor() ``` > **Added in version:** 1.0
###### getArticle() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getArticle() ``` > **Added in version:** 1.0
###### getAttack() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getAttack() ``` > **Added in version:** 1.0
###### getCapacity() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getCapacity() ``` > **Added in version:** 1.0
###### getDecayId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getDecayId() ``` > **Added in version:** 1.0
###### getDefense() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getDefense() ``` > **Added in version:** 1.0
###### getDescription() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getDescription() ``` > **Added in version:** 1.0
###### getElementDamage() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getElementDamage() ``` > **Added in version:** 1.0
###### getElementType() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getElementType() ``` > **Added in version:** 1.0
###### getExtraDefense() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getExtraDefense() ``` > **Added in version:** 1.0
###### getFluidSource() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getFluidSource() ``` > **Added in version:** 1.0
###### getId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getId() ``` > **Added in version:** 1.0
###### getName() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getName() ``` > **Added in version:** 1.0
###### getPluralName() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getPluralName() ``` > **Added in version:** 1.0
###### getSlotPosition() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getSlotPosition() ``` > **Added in version:** 1.0
###### getTransformDeEquipId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getTransformDeEquipId() ``` > **Added in version:** 1.0
###### getTransformEquipId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getTransformEquipId() ``` > **Added in version:** 1.0
###### getType() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getType() ``` > **Added in version:** 1.0
###### getWeaponType() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getWeaponType() ``` > **Added in version:** 1.0
###### getWeight([count = 1[, precise = true]]) > **Description:** N/A > **Parameters:**
- _count_ - _(optional, default: 1)_
- _precise_ - _(optional, default: true)_
###### hasSubType() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:hasSubType() ``` > **Added in version:** 1.0
###### isContainer() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isContainer() ``` > **Added in version:** 1.0
###### isCorpse() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isCorpse() ``` > **Added in version:** 1.0
###### isDoor() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isDoor() ``` > **Added in version:** 1.0
###### isFluidContainer() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isFluidContainer() ``` > **Added in version:** 1.0
###### isMovable() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isMovable() ``` > **Added in version:** 1.0
###### isReadable() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isReadable() ``` > **Added in version:** 1.0
###### isRune() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isRune() ``` > **Added in version:** 1.0
###### isStackable() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isStackable() ``` > **Added in version:** 1.0
###### isWritable() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:isWritable() ``` > **Added in version:** 1.0