Pickup MMOItem
12/14/24Less than 1 minuteMMOItems
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 takeremoves the picked-up item from the player's inventory.item total-amountreturns the total amount of the picked-up item.item pick-amountreturns 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