scoreboard players set .number_max dialog 6



execute if score .number dialog matches 1 run function main:mechanics/camera/start {"folder":"tutorial","id":2}
execute if score .number dialog matches 1.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"My research is finally paying off!","bold":false,"italic":true}',"duration":40}
execute if score .number dialog matches 2.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"After all of those useless books, I finally managed to struck gold.","bold":false,"italic":true}',"duration":60}
execute if score .number dialog matches 3.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Even if it`s a simple legend, those don`t appear out of nowhere.","bold":false,"italic":true}',"duration":60}

execute if score .number dialog matches 4.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"It must have a root.","bold":false,"italic":true}',"duration":40}

execute if score .number dialog matches 5.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"All I need to do is to find it.","bold":false,"italic":true}',"duration":40}

execute if score .number dialog matches 6.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"And I know just the place where to look for it...","bold":false,"italic":true}',"duration":60}
# execute if score .number dialog matches 4.. run function main:tutorial/part/1/16


# execute if score .number dialog matches 1.. run tellraw @a [{"bold":false,"color":"white","text":">>>>"},{"bold":true,"clickEvent":{"action":"run_command","value":"/function main:dialog/stop"},"color":"red","text":"DON`T SKIP"},{"bold":false,"color":"white","text":"<<<<"}]