#| Tutorial Messages |#

execute if entity @s[advancements={game:tutorial/instructions=true}] run return run advancement grant @s only game:tutorial/complete

title @s[advancements={game:tutorial/open_inventory=false}] actionbar [{"text":"Click a piece within your inventory to put a piece on the board","color":"green"}]
title @s[advancements={game:tutorial/open_inventory=true,game:tutorial/wasd_move=false}] actionbar [{"text":"Use -","color":"green"},{"keybind":"key.forward","color":"green"},{"keybind":"key.left","color":"green"},{"keybind":"key.back","color":"green"},{"keybind":"key.right","color":"green"},{"text":"- to move your piece around the board","color":"green"}]
title @s[advancements={game:tutorial/wasd_move=true,game:tutorial/piece_buttons=false}] actionbar [{"text":"With the items in your hotbar, -Right Click- to rotate, flip, or place the piece","color":"green"}]
title @s[advancements={game:tutorial/piece_buttons=true,game:tutorial/instructions=false}] actionbar [{"text":"Place your first piece in your color's corner, click the [?] in your inventory for help","color":"green"}]
