Line 227: |
Line 227: |
| | | |
| ===Portrait commands=== | | ===Portrait commands=== |
− | These commands determine which portrait is shown in the dialogue box for the current line of dialogue. If no portrait is specified, the neutral ($0) portrait is used. | + | These set the portrait shown in the dialogue box for the current line of dialogue. If there's no portrait command, the neutral portrait is used. |
| | | |
− | Portrait commands should be at the end of a dialogue line:
| + | Portraits are numbered left-to-right and top-to-bottom, starting at <tt>$0</tt>. The first six portraits are standard, and can be identified by the number (like <tt>$2</tt>) or a unique alias (like <tt>$s</tt>). All potential spouses and many other characters have these six portraits, but it's not fully consistent; for example, Caroline only has four. |
− | :<code>"fall_Fri6": "When I was a little girl, my father abandoned us.$s#$b#I'm sorry to make things uncomfortable for you...$u#$e#Anyway... How's the farming life going?",</code>
| |
| | | |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
− | ! command | + | ! numbered |
| + | ! alias |
| ! description | | ! description |
| |- | | |- |
| + | | <tt>$0</tt> |
| | <tt>$k</tt> | | | <tt>$k</tt> |
| | Use their neutral portrait. | | | Use their neutral portrait. |
| |- | | |- |
| + | | <tt>$1</tt> |
| | <tt>$h</tt> | | | <tt>$h</tt> |
− | | Use their happy portrait. | + | | Use their happy portrait.<br/>NOTE: <tt>$1</tt> can't be used as the first dialogue command (see <tt>$1</tt> below). |
| |- | | |- |
| + | | <tt>$2</tt> |
| | <tt>$s</tt> | | | <tt>$s</tt> |
| | Use their sad portrait. | | | Use their sad portrait. |
| |- | | |- |
| + | | <tt>$3</tt> |
| | <tt>$u</tt> | | | <tt>$u</tt> |
− | | Use their unique portrait. | + | | Use their unique portrait. This is different for each NPC: grumpy ([[Abigail]]), holding football ([[Alex]]), angry ([[Caroline]]), sick ([[Governor]]), etc. |
| |- | | |- |
| + | | <tt>$4</tt> |
| | <tt>$l</tt> | | | <tt>$l</tt> |
| | Use their love portrait. | | | Use their love portrait. |
| |- | | |- |
| + | | <tt>$5</tt> |
| | <tt>$a</tt> | | | <tt>$a</tt> |
| | Use their angry portrait. | | | Use their angry portrait. |
| |- | | |- |
| | <tt>${{t|id}}</tt> | | | <tt>${{t|id}}</tt> |
− | | Use the portrait at the given index in their portraits file. Portraits are numbered from left to right and top to bottom, starting at <tt>$0</tt>. Most characters, including all potential spouses, have six standard portraits: <tt>$0</tt> (neutral), <tt>$1</tt> (happy), <tt>$2</tt> (sad), <tt>$3</tt> (unique), <tt>$4</tt> (love), and <tt>$5</tt> (angry). Characters may have custom portraits beyond those for their dialogue and cutscenes.<br/>NOTE: <tt>$1</tt> can't be used as the first dialogue command (see <tt>$1</tt> below). | + | | |
| + | | A custom portrait beyond the standard six. |
| |} | | |} |
| + | |
| + | Portrait commands should be at the end of a dialogue line: |
| + | :<code>"fall_Fri6": "When I was a little girl, my father abandoned us.$s#$b#I'm sorry to make things uncomfortable for you...$u#$e#Anyway... How's the farming life going?",</code> |
| | | |
| ===Dialogue commands=== | | ===Dialogue commands=== |