Comment on page
Setting Up and Using Variables
The core of quests in BattlePass is the variable system. The basis of this system is that it is a filter. If the variable is set to
none, there is no filter. If it is set, if whatever the variable is entered as when a user performs an action matches the variable, it will progress.
Recently, we've also added sub variables to BattlePass which can make this system a bit more confusing. Here are some examples for different quest types with and without sub variables.
Every quest has the global sub variables listed below:
name: 'IDK some name'
Every sub-variable is optional. If you don't specify it, it won't be filtered for. Therefore, you can just use
holding.itemif you wish, or just
Examples Without Sub-Variables:
The following two quests function in the same manner, they're just two ways of formatting them.
Some more random examples:
Examples With Sub-Variables:
This quest is to enchant an item with soul speed 3 using an anvil.
Examples With Multiple Variables:
variable: diamond_block:0 OR gold_block:0 OR iron_block:0
//This will progress the quest if any of the blocks listed above is mined.
variable: stone:0 OR cobblestone:0 OR gravel:0
//This will progress the quest if any of the blocks listed above is placed.