Skip to content

Metatable:ItemType

Mark Samman edited this page May 3, 2015 · 8 revisions

No description available at the moment. ###Available methods: getArmor()
getArticle()
getAttack()
getCapacity()
getCharges()
getClientId()
getDecayId()
getDefense()
getDescription()
getDestroyId()
getElementDamage()
getElementType()
getExtraDefense()
getFluidSource()
getHitChance()
getId()
getName()
getPluralName()
getRequiredLevel()
getShootRange()
getSlotPosition()
getTransformDeEquipId()
getTransformEquipId()
getType()
getWeaponType()
[getWeight([count = 1])](#getWeight{[count = 1]})
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
###### getCharges() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getCharges() ``` > **Added in version:** 1.1
###### getClientId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getClientId() ``` > **Added in version:** 1.1
###### 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
###### getDestroyId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getDestroyId() ``` > **Added in version:** 1.2
###### 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
###### getHitChance() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getHitChance() ``` > **Added in version:** 1.1
###### 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
###### getRequiredLevel() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getRequiredLevel() ``` > **Added in version:** 1.1
###### getShootRange() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getShootRange() ``` > **Added in version:** 1.1
###### 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]) > **Description:** N/A > **Parameters:**
  • _count_ - _(optional, default: 1)_
> **Returns:** N/A > **Example:** ```Lua local itemtype = ItemType(...) itemtype:getWeight(1) ``` > **Added in version:** 1.0
###### 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
Clone this wiki locally