Modding:Code page 437: Difference between revisions

Jump to navigation Jump to search
m
→‎Example Codes in Qud: linked to text color codes in modding
m (→‎Table: tried to make it smaller but wiki table formatting is so bad)
m (→‎Example Codes in Qud: linked to text color codes in modding)
Line 571: Line 571:
==Example Codes in Qud==
==Example Codes in Qud==
In most cases, the strings are added as  
In most cases, the strings are added as  
<syntaxhighlight lang="c#">str.Append(color code).Append(escape code for symbol)</syntaxhighlight> Where <code>str</code> is an object of the <code>StringBuilder</code> class.
<syntaxhighlight lang="c#">str.Append(color code).Append(escape code for symbol)</syntaxhighlight> Where <code>str</code> is an object of the <code>StringBuilder</code> class. For more info about Caves of Qud's color code, check out [[Modding: Text Color Codes & Object Rendering]].


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

Navigation menu