
# -> Chat message
tellraw @s \
    [\
        {\
            text:"\n"\
        },\
        {\
            text:"\u0037",\
            "font":"overlyrealistic:icons"\
        },\
        {\
            text:" Tip: At ",\
            color: "#ffc444"\
        },\
        {\
            text:"night time",\
            color: "#fff1a0"\
        },\
        {\
            text:", you can remain ",\
            color: "#ffc444"\
        },\
        {\
            text:"crouched while looking down",\
            color: "#fff1a0"\
        },\
        {\
            text:" to begin sleeping on the ground!\n\nSleeping on hard surfaces can be uncomfortable however!\n",\
            color: "#ffc444"\
        }\
    ]

# -> Sound
playsound minecraft:entity.experience_orb.pickup block @s ~ ~ ~ 1 1.7

# -> Set the has-received-tip value
scoreboard players set @s OverlyRealistic.Player.Tips.HasReceivedTip_DynamicSleep 1
