playsound entity.experience_orb.pickup master @s ~ ~ ~ 1 1

execute if score @s nitTutorialStatus matches 1 run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"translate":"nitk.tutorial.town_planner.desc.1","fallback":"You can talk to the Town Planner here for general advice and tips. He may not have all the answers, so if you feel like you're missing information that should have been given already, you can ask in the ","color":"white","bold":false},{"translate":"nitk.tutorial.discord","fallback":"Discord","color":"green","bold":true,"clickEvent":{"action":"open_url","value":"https://discord.gg/KvdmxHM"},"hoverEvent":{"action":"show_text","contents":[{"translate":"nitk.tutorial.discord.hover","fallback":"Click to join the Discord Server","color":"white","bold":false}]}},{"text":"!","color":"white","bold":false}]

execute if score @s nitTutorialStatus matches 2 run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"translate":"nitk.tutorial.town_planner.desc.2","fallback":"Having trouble seeing recipes? Some client mods, including those in Lunar Client and some versions of Forge, have a visual bug that prevents Bundle Tooltips from displaying correctly. Switch to vanilla or remove the offending mods and you'll be fine.","color":"white","bold":false}]

execute if score @s nitTutorialStatus matches 3 run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"translate":"nitk.tutorial.town_planner.desc.3.1","fallback":"As your town grows, ","color":"white","bold":false},{"translate":"nitk.name.tyrant","fallback":"The Tyrant","color":"green","bold":true,"hoverEvent":{"action":"show_text","contents":[{"translate":"nitk.tutorial.tyrant.hover","fallback":"The antagonist of New in Town.\nA unique Wither with special attacks","color":"white","bold":false}]}},{"translate":"nitk.tutorial.town_planner.desc.3.2","fallback":", an immortal Wither, will spawn Nether Attacks nearby, with increasing difficulty. They will always spawn in the evening, right before you are able to sleep, and be signaled by a lightning strike and purple beacons in the sky above them.","color":"white","bold":false}]

execute if score @s nitTutorialStatus matches 4 run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"translate":"nitk.tutorial.town_planner.desc.4","fallback":"Certain structures, like Empty Plots, and later Walls, won't cause Nether Attacks to spawn.","color":"white","bold":false}]

execute if score @s nitTutorialStatus matches 5 run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"translate":"nitk.tutorial.town_planner.desc.5","fallback":"If your Town Planner dies, don't worry! He will respawn at noon.","color":"white","bold":false}]

execute if score @s nitTutorialStatus matches 6 run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"translate":"nitk.tutorial.town_planner.desc.6","fallback":"If you're playing on a server, any number of players can start their own town, or work together on one or more towns! There is no formal joining process.","color":"white","bold":false}]

execute if score @s nitTutorialStatus matches 7 run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"translate":"nitk.tutorial.town_planner.desc.7","fallback":"As you work towards more expensive structures, you may come across some blocks that are hard to make out. In general, New in Town recipes use regular Deepslate, not Cobbled Deepslate, and regular Copper Blocks rather than Waxed Copper Blocks. If you're still having trouble telling what a block is, try disabling your resource pack, or ask in the  ","color":"white","bold":false},{"translate":"nitk.tutorial.discord","fallback":"Discord","color":"green","bold":true,"clickEvent":{"action":"open_url","value":"https://discord.gg/KvdmxHM"},"hoverEvent":{"action":"show_text","contents":[{"translate":"nitk.tutorial.discord.hover","fallback":"Click to join the Discord Server","color":"white","bold":false}]}},{"text":"!","color":"white","bold":false}]

execute if score @s nitTutorialStatus matches 8 run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"translate":"nitk.tutorial.town_planner.desc.8","fallback":"Once you've built a structure, what you see is what you get. There is no way to automatically repair it, but that also means you can change it however you want, including rebuilding it entirely by hand! Remember to keep important resource collecting Chests and Hoppers in the same place, though.","color":"white","bold":false}]

scoreboard players add @s nitTutorialStatus 1
scoreboard players set @s[scores={nitTutorialStatus=9}] nitTutorialStatus 1
advancement revoke @s only nitk:tutorial/interact_town_planner