╔══════════════╗ ║ Is that a, ║ ║ a blue ║ ║ sapphire? ║ ║ I have ║ ║ always ║ ║ wanted one‼ ║ ║ Let’s swap. ║ ║ You can ║ ║ have my red ║ ║ ruby instead.║ ╚══════════════╝* No errors or warnings. |
dialog.txt
, you have several different arrays,
which define different dialog boxes. This tool concerns with the following type boxes:
shop
, dialog
, clue
, gift
,
possess
, priest
, and ferryman
.
The width of any given box is the length of the string that defines it.
The height of any given box is the number of lines in that box. For example,
"shop": [ 1, "[47]%%%%%%%%%%%%%%[49]", 5, "[4A] [4A]", 1, "[4A] ---- [hearts]---- [4A]", // cost 2, "[4A] [4A]", 1, "[4A] Buy Refuse [4A]", // yes 1, "[4A] [4A]", // no 1, "[4B]%%%%%%%%%%%%%%[4C]" ],
"shop": [ 1, "[47]%%%%%%%%%%%%%%[49]", 5, "[4A] [4A]", 1, "[4A]%%%%%%%%%%%%%%[4A]", 1, "[4A] - Buy [4A]", // cost 1, "[4A] [4A]", 1, "[4A] [hearts]---- Refuse [4A]", // hearts 1, "[4A] [4A]", 1, "[4B]%%%%%%%%%%%%%%[4C]" ],
The left-margin size is this property in your file, minus one:
// Index of first text column. Originally 2. 0 = left edge of box. "first_textcolumn" : 2If this property is 1, then the margin is zero. If this property is 2, then the margin is one cell.
To do top-margin, just add a [nl] in the beginning of your string. Explicit newlines are done by adding a [nl]. Plain newlines, leading spaces and trailing spaces will be ignored.
You can freely adjust the shape and appearance of each of these boxes in your dialog.txt
.
However, it is important that the dialog box widths and heights are both even numbers.
The printable area can be even or odd.
For the shop
dialog box, the insertor will figure out the layout of the box as follows: