Перейти к основному содержимому

Mmoitem Variable

MMOItem Identifier

Поля

ПолеТипПо умолчаниюОписание
itemsList<MMOItemIdentifier>emptyList of MMOItems (type/id) that this variable can return.
MMOItemIdentifier (1)
ПолеТипПо умолчаниюОписание
typeVar<MMOItemType>—MMOItems type (e.g., SWORD, ARMOR)

How to use it​

Use this variable in any field that expects an item, an MMOItems identifier or a list of items. List the possible items in items. The variable builds the real MMOItems item from its type and id, and prefers an item the player holds in the main hand or off hand that matches. If a type or id is empty, or unknown to MMOItems, a warning is written to the console and an empty item is returned.