## Can barter?
execute unless score @s vb.timer.cat_barter matches 1.. if entity @n[type=item,distance=..1.2] if entity @s[nbt={Sitting:1b,Age:0}] run function vb:tick_entity/modified_mob/cat/barter

## Timer & particles for bartering cooldown
execute if score @s vb.timer.cat_barter matches 1.. run particle smoke ~ ~0.2 ~ 0.2 0.2 0.2 0 1
execute if score @s vb.timer.cat_barter matches 1.. run scoreboard players remove @s vb.timer.cat_barter 1