Playing the "Artois Voysey" sidequest, for once I let him keep his secret. After paying and waiting for him to be healed after being shot, I meet him at the port, where he says "Thank you, captain! You've saved my life yet again. Now I think I can tell you my secret." That's all he says. He doesn't continue on to tell me the secret and I need to look at the questbook to see what he told me.
In fact, his line is supposed to be almost identical to the one he uses in the jungle if you tell him he's no pirate, you're his captain, so out with it. In both cases, there's the introductory bit ("Thank you, captain!..." or "You make a good point..."), then a line break, then the story about Nigel Blythe, another line break, and the location of the treasure. The version in the jungle works perfectly. The version in port doesn't get past the first line break.
As an experiment, I copied the line from the jungle to replace the line in the port. So, although it wouldn't make sense, after being shot and recovered, Artois should say exactly the same as if you'd demanded his secret in the jungle. The line break still didn't work - with the exact same text line that does work in the jungle!
Alright, what else is different from the jungle scene? In the jungle, you ask why the pirates attacked Artois, he says he's bound by the code, you say he's no pirate and you're his captain, and then he makes his speech. In port, he goes straight into the speech. Next experiment: I added an intermediate dialog case so that Artois thanks you for saving him again, you acknowledge him, and then he makes his speech. That worked - the speech was correctly divided into parts by the line breaks and the whole lot showed up. The revised dialog is going into the next update.
Conclusion: "\n" line breaks in a dialog don't work if it's the NPC's first line, but do work if the dialog has already started and the line with breaks is in a follow-up case.
In fact, his line is supposed to be almost identical to the one he uses in the jungle if you tell him he's no pirate, you're his captain, so out with it. In both cases, there's the introductory bit ("Thank you, captain!..." or "You make a good point..."), then a line break, then the story about Nigel Blythe, another line break, and the location of the treasure. The version in the jungle works perfectly. The version in port doesn't get past the first line break.
As an experiment, I copied the line from the jungle to replace the line in the port. So, although it wouldn't make sense, after being shot and recovered, Artois should say exactly the same as if you'd demanded his secret in the jungle. The line break still didn't work - with the exact same text line that does work in the jungle!
Alright, what else is different from the jungle scene? In the jungle, you ask why the pirates attacked Artois, he says he's bound by the code, you say he's no pirate and you're his captain, and then he makes his speech. In port, he goes straight into the speech. Next experiment: I added an intermediate dialog case so that Artois thanks you for saving him again, you acknowledge him, and then he makes his speech. That worked - the speech was correctly divided into parts by the line breaks and the whole lot showed up. The revised dialog is going into the next update.
Conclusion: "\n" line breaks in a dialog don't work if it's the NPC's first line, but do work if the dialog has already started and the line with breaks is in a follow-up case.