Want to make a system where the game checks your armor then flags you if you're wearing a full set.
golem_full_set_equip:
type: world
events:
on player inventory slot changes from:!golem_helmet|golem_chestplate|golem_leggings|golem_boots to:golem_helmet|golem_chestplate|golem_leggings|golem_boots slot:helmet|chestplate|leggings|boots:
- if <player.inventory.find_item[golem_helmet]>: == 40
- narrate passed
While this kinda works there is 2 main issues 1. It will fail to pass if you have multiple helms in your inventory as it only checks for the numerical first one
Secondly I would like a tag that could match multiple items at the same time rather than checking individually.
Something like this is what I'm looking for:
/ex if <player.inventory.contains_item[golem_helmet|golem_chestplate|_golem_leggings|golem_boots].slot[x]>
But that doesn't work