B
Возникла проблема с проверкой. У меня есть условный магазин на зачарования, где идет проверка на 3 условия: деньги, уровень, наличие нужного предмета в руке. Пользовался блоком minimum requirements со значением 3
Однако проверка обрывается на 3ем условии, то бишь если в руке есть деревянный меч, то срабатывает на ура, дальше все остальные мечи не отрабатывают. Хотя в параметрах задано мин 3 условия для выполнения, соотвественно должна пропускать этот блок и искать дальше с нужным мечом в руке.
Код:
# right_click_requirement:
# minimum_requirements: 3
# stop_at_success: true
# requirements:
# balance_check:
# type: has money
# amount: 10000
# optional: true
# deny_commands:
# - "[message] &8[&bMENU&8] &cНедостаточно средств!"
# exp_check:
# type: has exp
# amount: 10
# level: true
# optional: true
# deny_commands:
# - "[message] &8[&bMENU&8] &cНедостаточно опыта!"
# item_check_inhand:
# type: string equals
# input: '%checkitem_mat:WOODEN_SWORD,inhand:main%'
# output: 'yes'
# deny_commands:
# - "[message] &8[&bMENU&8] &cНет меча в руке!"
# item_check_inhand2:
# type: string equals
# input: '%checkitem_mat:STONE_SWORD,inhand:main%'
# output: 'yes'
# deny_commands:
# - "[message] &8[&bMENU&8] &cНет меча в руке!"
# item_check_inhand3:
# type: string equals
# input: '%checkitem_mat:IRON_SWORD,inhand:main%'
# output: 'yes'
# deny_commands:
# - "[message] &8[&bMENU&8] &cНет меча в руке!"
# item_check_inhand4:
# type: string equals
# input: '%checkitem_mat:GOLD_SWORD,inhand:main%'
# output: 'yes'
# deny_commands:
# - "[message] &8[&bMENU&8] &cНет меча в руке!"
# item_check_inhand5:
# type: string equals
# input: '%checkitem_mat:DIAMOND_SWORD,inhand:main%'
# output: 'yes'
# deny_commands:
# - "[message] &8[&bMENU&8] &cНет меча в руке!"
# item_check_inhand6:
# type: string equals
# input: '%checkitem_mat:NETHERITE_SWORD,inhand:main%'
# output: 'yes'
# deny_commands:
# - "[message] &8[&bMENU&8] &cНет меча в руке!"