 |
 Text Formatting
To format the output of your Scribe-powered adventure, you simply add small "markup" tags into the text itself. The tags supported are:
|CENTER| Centers the rest of the line, up to the next line break/return. For example,
|CENTER|A History of Castle Xandar
Castle Xandar holds a rich and vibrant history... |
Would be displayed as:
|
A History of Castle Xandar
Castle Xandar holds a rich and vibrant history...
|
|HR| Add a horizontal line (or horizontal rule) into the text. Expanding on the previous example:
|CENTER|A History of Castle Xandar|HR|
Castle Xandar holds a rich and vibrant history... |
Would be displayed as:
A History of Castle Xandar
Castle Xandar holds a rich and vibrant history...
|
|FONT face attribs size| Sets the font to the face, attributes, and size specified. The FACE can be either "SERIF", "SANSSERIF", "DIALOG", "DIALOGINPUT", or "MONOSPACED". The Attributes can be "PLAIN", "ITALIC", "BOLD", or "BOLD,ITALIC". The size is the size of the font, in points. Expanding on the previous example (and including a new tag covered below):
|FONT MONOSPACED ITALIC 16||CENTER|A History of Castle Xandar|HR||NORMAL|
Castle Xandar holds a rich and vibrant history... |
Would be displayed as:
A History of Castle Xandar
Castle Xandar holds a rich and vibrant history...
|
|BOLD| Turns on the BOLD attribute for output text.
|ITALIC| Turns on the ITALIC attribute for output text.
|PLAIN| Turns off both BOLD and ITALIC attributes for output text.
|COLOR color| Sets the output color to the color specified. The color can either be the recognized name of a color (see list below), or three numbers to specify the RED GREEN BLUE values (0-255) to use. Two examples would be |COLOR GREEN| or |COLOR 0 255 0| .
| Name | Color |
| WHITE | |
| LIGHTGRAY | |
| GRAY | |
| DARKGRAY | |
| BLACK | |
| BLUE | |
| CYAN | |
| GREEN | |
| MAGENTA | |
| ORANGE | |
| PINK | |
| RED | |
| YELLOW | |
|NORMAL| Resets output to the default font and color.
|  |