Give Mmoitem Action
Give MMOItem
Campos
| Campo | Tipo | Predeterminado | Descripción | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items | List<MMOItemSelection> | empty | List of MMOItems to give
|
| Campo | Tipo | Predeterminado | Descripción | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
item | Var<MMOItemIdentifier> | — | The MMOItem to select (type and id)
|
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
type | Var<MMOItemType> | — | MMOItems type (e.g., SWORD, ARMOR) |
amountInt1itemVar<MMOItemIdentifier>MMOItemIdentifier (1)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
type | Var<MMOItemType> | — | MMOItems type (e.g., SWORD, ARMOR) |
amountInt1factRef<ReadableFactEntry>groupRef<GroupEntry>Campos comunes de TypeWriter (criteria, modifiers, triggers)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Pick what to give in one of three ways:
- One item — leave
itemsempty and fillitem(typeandid), plusamount. - Several items — fill
items. Each line has its ownitemandamount;itemandamountat the top are then ignored. - From a fact — link
factto an MMOItems Count Fact. The action gives the items listed in that fact, using the action'samount. Ifitemhas a type filled, only the matching items of the fact are given.
Set group to give the items to every member of the triggering player's group. The items are given with the console command mmoitems give <type> <id> <player> <amount>, so an unknown type is skipped.