execute unless items entity @s weapon.* minecraft:carrot_on_a_stick[minecraft:custom_data~{ron:1}] run return run scoreboard players set @s pizzaopen 0
scoreboard players reset @s pizzaopen
execute if items entity @s weapon.mainhand carrot_on_a_stick[custom_data~{pizza:1}] run return run function ws:item/ron/pizza/pizza {slot:mainhand}
execute if items entity @s weapon.offhand carrot_on_a_stick[custom_data~{pizza:1}] run return run function ws:item/ron/pizza/pizza {slot:offhand}
execute if items entity @s weapon.mainhand carrot_on_a_stick[custom_data~{gribnaya:1}] run return run function ws:item/ron/pizza/mushroom {slot:mainhand}
execute if items entity @s weapon.offhand carrot_on_a_stick[custom_data~{gribnaya:1}] run return run function ws:item/ron/pizza/mushroom {slot:offhand}
execute if items entity @s weapon.mainhand carrot_on_a_stick[custom_data~{4sira:1}] run return run function ws:item/ron/pizza/cheese {slot:mainhand}
execute if items entity @s weapon.offhand carrot_on_a_stick[custom_data~{4sira:1}] run return run function ws:item/ron/pizza/cheese {slot:offhand}
execute if items entity @s weapon.mainhand carrot_on_a_stick[custom_data~{mix:1}] run return run function ws:item/ron/pizza/mixed {slot:mainhand}
execute if items entity @s weapon.offhand carrot_on_a_stick[custom_data~{mix:1}] run return run function ws:item/ron/pizza/mixed {slot:offhand}