## Activated ability for chef. Adjust animation length (cooldown) in endmo-bp/animations/player.json > animation.player.morph_chef_activated

scoreboard objectives add ChefInhaled dummy
#scoreboard objectives setdisplay sidebar ChefInhaled
scoreboard players add @s ChefInhaled 0
execute as @s[scores={ChefInhaled=..0},tag=!chef_dirty] run function morph/chef_inhale
execute as @s[scores={ChefInhaled=1..},tag=!chef_dirty] run function morph/chef_exhale