playsound atmos:bell_1 master @a ~ ~ ~ 10 1 1
summon item ~ ~0.5 ~ {Silent:1b,Age:-32768,Glowing:1b,CustomNameVisible:1b,PickupDelay:32767,Invulnerable:1b,Motion:[0.0,0.5,0.0],Tags:["no","skip_reward","artifact"],CustomName:'[{"bold":true,"color":"gold","text":"Purging Carrot"}]',Item:{id:"minecraft:golden_carrot",count:1,components:{"minecraft:custom_data":{artifact:skip_reward},item_model:"minecraft:golden_carrot"}}}

execute as @e[type=item,tag=skip_reward] run team join gold_color @s

execute if entity @a[advancements={main:dialogs/room/artifact/purging_spawn=false}] run function main:dialog/start {"folder":"room/artifact/","allow_skip":"2",id:purging_spawn}