$execute if items entity @s container.* $(id)[custom_data~{donot:1}] run return run function ws:work/misc/chef/pay with entity @e[tag=chef.display,limit=1] item
$execute if items entity @s weapon.* $(id)[custom_data~{donot:1}] run return run function ws:work/misc/chef/pay with entity @e[tag=chef.display,limit=1] item
tellraw @s {"translate":"chef.nofood"}
execute at @s run playsound minecraft:block.beacon.deactivate player @s ~ ~ ~ 0.4 1.5