execute unless score @s[tag=!ron] pay matches 22.. run return run function ws:store/ron/food/fail
scoreboard players remove @s[tag=!ron] pay 22
give @s minecraft:carrot_on_a_stick[minecraft:custom_data={pizza:1,ron:1},minecraft:custom_model_data=1006,minecraft:custom_name='[{"italic":false,"translate":"ron.pizza.box"}]']
give @s minecraft:carrot_on_a_stick[minecraft:custom_data={gribnaya:1,ron:1},minecraft:custom_model_data=1006,minecraft:custom_name='[{"italic":false,"translate":"ron.pizza.box"}]']
tellraw @s {"translate":"ron.order.true"}
execute at @s run playsound minecraft:entity.arrow.hit_player player @s ~ ~ ~

execute unless entity @s[tag=!ron] run return 0
scoreboard players add @a[tag=ron] pay 17
tellraw @a[tag=ron] [{"translate":"business.bonus"},{"text":": "},{"text":"17$"},{"text":" ("},{"translate":"ron.name"},{"text":")"}]
execute as @a[tag=ron] at @s run playsound minecraft:entity.experience_orb.pickup player @s ~ ~ ~ 0.05 0