tellraw @a ["\n",{"text":"THE THIRD KNOCK","color":"#7d2b20","bold":true},{"text":"  —  the village that slept through the last call.\n","color":"gray"}]
execute unless score #ending knock.state matches 3 run tellraw @a [{"text":"You may wander Kajeng now. Something may still be listening.","color":"dark_gray","italic":true}]
execute if score #ending knock.state matches 3 run tellraw @a [{"text":"You may wander Kajeng now. The knocking is over, and the curse of the drum is lifted — the village is itself again.","color":"dark_gray","italic":true}]
execute if score #ending knock.state matches 1..2 if score #marks knock.state matches 3.. run tellraw @a [{"text":"It has your name now, in the only place it keeps names. It is patient. It has been patient for forty years.","color":"dark_gray","italic":true}]
execute if score #ending knock.state matches 3 if score #marks knock.state matches 0 run tellraw @a [{"text":"It never once got you down — not in twelve days. Nobody in Kajeng managed that. Including him.","color":"#a89f8e","italic":true}]
execute if score #ending knock.state matches 3 run tellraw @a [{"text":"The drawer under the maps is empty now — you carry all four. Someone should hear what his father carried. The fog is thinner on the road. The bus runs at dawn.","color":"#a89f8e","italic":true}]
execute if score #ending knock.state matches 1 run function knock:ui/objective {text:"Free roam — nothing walks the route. Nothing answers it either."}
execute if score #ending knock.state matches 2 run function knock:ui/objective {text:"Free roam — walk the route. Tonight, and every night."}
execute if score #ending knock.state matches 3 run function knock:ui/objective {text:"Free roam — the bus runs at dawn."}
execute unless score #ending knock.state matches 1..3 run function knock:ui/objective {text:"Free roam — thank you for playing"}
