Remove Mmoitem Action
Remove MMOItem
Champs
| Champ | Type | Par défaut | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items | List<MMOItemSelection> | empty | List of MMOItems to remove
|
| Champ | Type | Par défaut | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
item | Var<MMOItemIdentifier> | — | The MMOItem to select (type and id)
|
| Champ | Type | Par défaut | Description |
|---|---|---|---|
type | Var<MMOItemType> | — | MMOItems type (e.g., SWORD, ARMOR) |
amountInt1itemVar<MMOItemIdentifier>MMOItemIdentifier (1)
| Champ | Type | Par défaut | Description |
|---|---|---|---|
type | Var<MMOItemType> | — | MMOItems type (e.g., SWORD, ARMOR) |
amountInt1factRef<ReadableFactEntry>checkInventoryVar<Boolean>truecheckHandVar<Boolean>falsegroupRef<GroupEntry>Champs TypeWriter communs (criteria, modifiers, triggers)
| Champ | Type | Par défaut | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<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
groupto remove from every member of the triggering player's group.