• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

quest log "functions"

Fermantor

Active Member
Joined
Dec 16, 2009
Messages
209
Solutions
4
Reaction score
33
Location
Germany
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
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
 
XML:

 -- new line
" -- " "
Remember, it's a xml document. ;p
 
Back
Top