Skip to content

Metatable:ItemType

Stefan A. Brannfjell edited this page Dec 19, 2017 · 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)
hasSubType()
isContainer()
isCorpse()
isDoor()
isFluidContainer()
isMovable()
isReadable()
isRune()
isStackable()
isWritable()


getArmor()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getArmor()

[To the top] Added in version: 1.0


getArticle()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getArticle()

[To the top] Added in version: 1.0


getAttack()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getAttack()

[To the top] Added in version: 1.0


getCapacity()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getCapacity()

[To the top] Added in version: 1.0


getCharges()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getCharges()

[To the top] Added in version: 1.1


getClientId()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getClientId()

[To the top] Added in version: 1.1


getDecayId()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getDecayId()

[To the top] Added in version: 1.0


getDefense()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getDefense()

[To the top] Added in version: 1.0


getDescription()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getDescription()

[To the top] Added in version: 1.0


getDestroyId()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getDestroyId()

[To the top] Added in version: 1.2


getElementDamage()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getElementDamage()

[To the top] Added in version: 1.0


getElementType()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getElementType()

[To the top] Added in version: 1.0


getExtraDefense()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getExtraDefense()

[To the top] Added in version: 1.0


getFluidSource()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getFluidSource()

[To the top] Added in version: 1.0


getHitChance()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getHitChance()

[To the top] Added in version: 1.1


getId()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getId()

[To the top] Added in version: 1.0


getName()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getName()

[To the top] Added in version: 1.0


getPluralName()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getPluralName()

[To the top] Added in version: 1.0


getRequiredLevel()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getRequiredLevel()

[To the top] Added in version: 1.1


getShootRange()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getShootRange()

[To the top] Added in version: 1.1


getSlotPosition()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getSlotPosition()

[To the top] Added in version: 1.0


getTransformDeEquipId()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getTransformDeEquipId()

[To the top] Added in version: 1.0


getTransformEquipId()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getTransformEquipId()

[To the top] Added in version: 1.0


getType()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getType()

[To the top] Added in version: 1.0


getWeaponType()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:getWeaponType()

[To the top] Added in version: 1.0


getWeight([count = 1])

Description: N/A
Parameters:

  • count - (optional, default: 1)
Returns: N/A
Example:
local itemtype = ItemType(...)
itemtype:getWeight(1)

[To the top] Added in version: 1.0


hasSubType()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:hasSubType()

[To the top] Added in version: 1.0


isContainer()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isContainer()

[To the top] Added in version: 1.0


isCorpse()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isCorpse()

[To the top] Added in version: 1.0


isDoor()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isDoor()

[To the top] Added in version: 1.0


isFluidContainer()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isFluidContainer()

[To the top] Added in version: 1.0


isMovable()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isMovable()

[To the top] Added in version: 1.0


isReadable()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isReadable()

[To the top] Added in version: 1.0


isRune()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isRune()

[To the top] Added in version: 1.0


isStackable()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isStackable()

[To the top] Added in version: 1.0


isWritable()

Description: N/A
Parameters: None
Returns: N/A
Example:

local itemtype = ItemType(...)
itemtype:isWritable()

[To the top] Added in version: 1.0

Clone this wiki locally