Pular para o conteúdo principal

Remove Mmoitem Action

Remove MMOItem

Campos

CampoTipoPadrãoDescrição
itemsList<MMOItemSelection>emptyList of MMOItems to remove
MMOItemSelection (2)
CampoTipoPadrãoDescrição
itemVar<MMOItemIdentifier>—The MMOItem to select (type and id)
MMOItemIdentifier (1)
CampoTipoPadrãoDescrição
typeVar<MMOItemType>—MMOItems type (e.g., SWORD, ARMOR)
amountInt1Amount of items
itemVar<MMOItemIdentifier>—The MMOItem to remove (used if items list is empty)
MMOItemIdentifier (1)
CampoTipoPadrãoDescrição
typeVar<MMOItemType>—MMOItems type (e.g., SWORD, ARMOR)
amountInt1Amount of items to remove if using single item
factRef<ReadableFactEntry>—Select a fact that provides items (e.g., MMOItems Count Fact, MMOInventory Check Item Fact)
checkInventoryVar<Boolean>trueCheck items in player's inventory
checkHandVar<Boolean>falseCheck item in player's main hand
groupRef<GroupEntry>—Optional group to remove items from all members. If empty, only the triggering player is affected.
Campos comuns do TypeWriter (criteria, modifiers, triggers)
CampoTipoPadrãoDescrição
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Choosing the items works like Give MMOItem: one item, a list in items, or the items of a linked fact.

  • checkInventory (default on) scans the whole inventory, including armor, off hand and the item on the cursor.
  • checkHand (default off) takes from the main hand first. When it is on, the inventory scan skips the held slot.
  • If there are fewer items than amount, the action removes what it finds and does not fail.
  • Set group to remove from every member of the triggering player's group.