
# -> Reset adv trigger
advancement revoke @s only overly_realistic:items/use_bone_on_wolf

# -> Tag player
tag @s add OverlyRealistic.Player.TempInteractWithWolf

# -> Operate on nearby wolves
execute as @e[type=wolf,distance=..8] run \
    function overly_realistic:players/misc/used_bone_on_wolf/wolves_operate

# -> Untag player
tag @s remove OverlyRealistic.Player.TempInteractWithWolf
