Modding:Code page 437: Difference between revisions

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: Text Color Codes & Object Rendering]].
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: Color Codes & Object Rendering]].


{| class = "wikitable"
{| class = "wikitable"