Pickup MythicItem
Pickup MythicItem
This unlocker will trigger when a player picks up a mythic item.
id
pickup mythic item
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 mythic item"
data:
id: "default_item"
# When the player picks up 5 times, the unlocker will trigger
condition: |-
check yui-item total-amount == 5