Aller au contenu principal

BTC Quest Item Audience

Forces players to keep an item in their inventory with full control

Champs

ChampTypePar défautDescription
itemVar<Item>——
consumableBooleanfalseIf true, the item can be consumed. If false, consumption is blocked.
onConsumeList<Ref<TriggerableEntry>>emptyActions to execute when the item is consumed (if consumable is true).
onInteractList<Ref<TriggerableEntry>>emptyActions to execute when the player interacts with the item.
interactionTypesList<BTCItemInteractionType>—Types of interaction that trigger the actions.Valeurs :LEFT_CLICKRIGHT_CLICKSHIFT_LEFT_CLICKSHIFT_RIGHT_CLICKALL
interactCooldownLong10Cooldown in ticks for interaction actions.
unbreakableBooleantrueIf true, the item will be unbreakable. If false, durability loss is prevented at 1 durability.