Fermantor
Active Member
In the file quests.xml there are the quest log texts stored. Now I wounder what text functions I can use?
I tried \n and \\n but it just prints the letters and symbols and won't start a new line.
In the source code there is
If I understand it right, |STATE| should output the storagevalue and \\n should start a new line. But neither of them seems to work. Any ideas, what I am doing wrong? I tested it on TFS 0.2.15 and 1.2
I tried \n and \\n but it just prints the letters and symbols and won't start a new line.
In the source code there is
C:
if (!mainDescription.empty()) {
std::string desc = mainDescription;
replaceString(desc, "|STATE|", std::to_string(value));
replaceString(desc, "\\n", "\n");
return desc;
}
If I understand it right, |STATE| should output the storagevalue and \\n should start a new line. But neither of them seems to work. Any ideas, what I am doing wrong? I tested it on TFS 0.2.15 and 1.2