
# -> Message
execute unless score @s OverlyRealistic.Player.HasQuitGame matches 1.. run \
    tellraw @s [{translate:"initialization.overlyrealistic.join_message_v3_4_0",fallback:"\n%2$s Successfully connected!\n\n%1$s You are not using the required resource pack! Please install it by %3$s \n",with:[{text:"x",color:"#b83030"},{text:"✔",color:"#29c94b"},{text:"[Clicking here]",bold:true,color:"gold",hover_event:{action:"show_text",value:{text:">Click here to open the resource pack download page!",color:"gold"}},click_event:{action:"open_url",url:"https://modrinth.com/resourcepack/overly-realistic-base-resources/versions"}}]}]

# -> (@NOTE: TEMP, remove in the next update)
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/husbandry/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/archery/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/mining/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/equitation/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/healthcare/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/combat/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/fishing/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/cookery/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/building/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/blacksmithing/level_0
advancement grant @s only overly_realistic:advancements/livelyhood/wisdom_children/scribing/level_0

advancement revoke @s only overly_realistic:items/consumption/consume_highqual_foods
