Remove Mmoitem Action
Remove MMOItem
Felder
| Feld | Typ | Standard | Beschreibung | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items | List<MMOItemSelection> | empty | List of MMOItems to remove
|
| Feld | Typ | Standard | Beschreibung | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
item | Var<MMOItemIdentifier> | — | The MMOItem to select (type and id)
|
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
type | Var<MMOItemType> | — | MMOItems type (e.g., SWORD, ARMOR) |
amountInt1itemVar<MMOItemIdentifier>MMOItemIdentifier (1)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
type | Var<MMOItemType> | — | MMOItems type (e.g., SWORD, ARMOR) |
amountInt1factRef<ReadableFactEntry>checkInventoryVar<Boolean>truecheckHandVar<Boolean>falsegroupRef<GroupEntry>Gemeinsame TypeWriter-Felder (criteria, modifiers, triggers)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
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.