25
edits
(One intermediate revision by the same user not shown) | |||
Line 320: | Line 320: | ||
==Example Codes in Qud== | ==Example Codes in Qud== | ||
To use one of these characters in a name or description in game, you may need to escape them. For instance, to get the ♥, in C# you would use <code>"\x03"</code>, and in the XML <code>&x03;</code>. | To use one of these characters in a name or description in game, you may need to escape them. For instance, to get the ♥, in C# you would use <code>"\x03"</code>, and in the XML <code>&x03;</code>. | ||
In most cases, the strings are added with color codes, so here are some examples of that. For more info about Caves of Qud's color code, check out [[Modding: | In most cases, the strings are added with color codes, so here are some examples of that. For more info about Caves of Qud's color code, check out [[Modding: Colors & Object Rendering]]. | ||
{| class = "wikitable" | {| class = "wikitable" |