Pickup MMOItem
Pickup MMOItem
This unlocker will trigger when a player picks up an MMOItem.
id
pickup mmoitem
Data
type Required
- Type:
string
- Default:
none
- Description: The type of the MMOItem.
id Required
- Type:
string
- Default:
none
- Description: The id of the MMOItem.
Condition
yui-item
id: yui-item
/ item
Syntax:
item take
removes the picked-up item from the player's inventory.item total-amount
returns the total amount of the picked-up item.item pick-amount
returns the amount of items picked up this time.
Variable
type
Returns the name of the picked-up item type
display-name
Returns the display name of the picked-up item
Example
- type: "pickup mmoitem"
data:
type: "test"
id: "test"
condition: |-
check yui-item total-amount == 5