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},{"text":"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},{"text":"Discord","color":"green","bold":true,"clickEvent":{"action":"open_url","value":"https://discord.gg/KvdmxHM"},"hoverEvent":{"action":"show_text","contents":["Click to join the Discord Server"]}},{"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},{"text":"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},{"text":"As your town grows, ","color":"white","bold":false},{"text":"The Tyrant","color":"green","bold":true,"hoverEvent":{"action":"show_text","contents":["The antagonist of New in Town.\n","A unique Wither with special attacks."]}},{"text":", 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},{"text":"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},{"text":"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},{"text":"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},{"text":"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},{"text":"Discord","color":"green","bold":true,"clickEvent":{"action":"open_url","value":"https://discord.gg/KvdmxHM"},"hoverEvent":{"action":"show_text","contents":["Click to join the Discord Server"]}},{"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},{"text":"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

#execute if score @s nitTutorialStatus matches X run tellraw @s [{"text":"[۩]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"text":"ooooTEXToooo ","color":"white","bold":false},{"text":"ooooTEXToooo","color":"green","bold":true,"hoverEvent":{"action":"show_text","contents":["ooooHOVERTEXToooo"]}},{"text":" ooooTEXToooo","color":"white","bold":false}]