function lbdm:main/quest_ui/init {title:"Рубиновый поиск","task":"Найди Руби."}
data merge storage lbdm:main {quest:4}

function animated_java:quest4_dog/remove/all
execute positioned -157 -60 93 rotated 0 0 run function animated_java:quest4_dog/summon {args:{}}
execute positioned -157 -60 93 run tag @n[tag=aj.quest4_dog.root] add quest4_dog
execute as @e[tag=aj.quest4_dog.root] run function animated_java:quest4_dog/animations/sit_idle/play
kill @e[tag=quest4_dog.hitbox]
summon interaction -157 -60 93 {Tags:["quest4_dog.hitbox"],response:true}
kill @e[tag=quest4_dog.ai]
execute as @e[tag=quest4_fun_phrase] run data merge entity @s {data:{used:0b}}
function lbdm:main/door_open