Pickup MythicItem
12/17/24Less than 1 minuteMythicItems
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 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 mythic item"
data:
id: "default_item"
# When the player picks up 5 times, the unlocker will trigger
condition: |-
check yui-item total-amount == 5