Changes

19 bytes removed ,  19:00, 8 September 2017
Line 76: Line 76:  
|}
 
|}
   −
Dialogue commands:
+
===Portrait commands===
 +
These commands determine which portrait will be shown in the dialogue box. Portrait commands go to the end of a line of dialogue:
 +
:<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"
 
|-
 
|-
! group
   
! command
 
! command
 
! description
 
! description
 
|-
 
|-
| portraits
   
| <tt>$h</tt>
 
| <tt>$h</tt>
 
| Switch the speaking character to their happy portrait.
 
| Switch the speaking character to their happy portrait.
 
|-
 
|-
| portraits
   
| <tt>$s</tt>
 
| <tt>$s</tt>
 
| Switch the speaking character to their sad portrait.
 
| Switch the speaking character to their sad portrait.
 
|-
 
|-
| portraits
   
| <tt>$u</tt>
 
| <tt>$u</tt>
 
| Switch the speaking character to their unique portrait.
 
| Switch the speaking character to their unique portrait.
 
|-
 
|-
| portraits
   
| <tt>$neutral</tt>
 
| <tt>$neutral</tt>
 
| Switch the speaking character to their neutral portrait.
 
| Switch the speaking character to their neutral portrait.
 
|-
 
|-
| portraits
   
| <tt>$l</tt>
 
| <tt>$l</tt>
 
| Switch the speaking character to their love portrait.
 
| Switch the speaking character to their love portrait.
 
|-
 
|-
| portraits
   
| <tt>$a</tt>
 
| <tt>$a</tt>
 
| Switch the speaking character to their angry portrait.
 
| Switch the speaking character to their angry portrait.
 
|-
 
|-
| portraits
   
| <tt>${{t|id}}</tt>
 
| <tt>${{t|id}}</tt>
 
| Switch the speaking character to the portrait at the given index in their portraits file. NOTE: <tt>$1</tt> can't be used as the first dialogue command (see <tt>$1</tt> below).
 
| Switch the speaking character to the portrait at the given index in their portraits file. NOTE: <tt>$1</tt> can't be used as the first dialogue command (see <tt>$1</tt> below).
 +
|}
 +
 +
===Dialogue commands===
 +
 +
{| class="wikitable"
 
|-
 
|-
| dialogue
   
| <tt>$q {{t|?}} {{t|?}}#{{t|text}}</tt>
 
| <tt>$q {{t|?}} {{t|?}}#{{t|text}}</tt>
 
| TODO. Show a dialogue box containing the given question text.
 
| TODO. Show a dialogue box containing the given question text.
 
|-
 
|-
| dialogue
   
| <tt>$r {{t|value A}} {{t|value B}} {{t|response ID}}#{{t|answer text}}</tt>
 
| <tt>$r {{t|value A}} {{t|value B}} {{t|response ID}}#{{t|answer text}}</tt>
 
| TODO. Adds an {{t|answer text}} option to the question dialogue, which when selected triggers the response indicated by {{t|response ID}} from the speaker's <tt>Content\Characters\Dialogue\*.xnb</tt> file. Values are used to group responses for future reference.
 
| TODO. Adds an {{t|answer text}} option to the question dialogue, which when selected triggers the response indicated by {{t|response ID}} from the speaker's <tt>Content\Characters\Dialogue\*.xnb</tt> file. Values are used to group responses for future reference.
 
|-
 
|-
| dialogue
   
| <tt>$e</tt>
 
| <tt>$e</tt>
 
| End the current dialogue. Everything before <tt>$e</tt> is shown the first time you talk to an NPC; everything after is shown in subsequent conversations.
 
| End the current dialogue. Everything before <tt>$e</tt> is shown the first time you talk to an NPC; everything after is shown in subsequent conversations.
 
|-
 
|-
| dialogue
   
| <tt>$b</tt>
 
| <tt>$b</tt>
 
| End the current textbox, so the next part of the dialogue is shown in a new box.
 
| End the current textbox, so the next part of the dialogue is shown in a new box.
 
|-
 
|-
| dialogue
   
| <tt>$k</tt>
 
| <tt>$k</tt>
 
| TODO. Stands for "dialogueKill".
 
| TODO. Stands for "dialogueKill".
 
|-
 
|-
| dialogue
   
| <tt>$c {{t|probability}}</tt>
 
| <tt>$c {{t|probability}}</tt>
 
| Choose the given text with a {{t|probability}} between 0 and 1.
 
| Choose the given text with a {{t|probability}} between 0 and 1.
 
|-
 
|-
| dialogue
   
| <tt>$d {{t|bus|joja|cc}}</tt>
 
| <tt>$d {{t|bus|joja|cc}}</tt>
 
| TODO. Stands for "dialogueDependingOnWorldState". Format:<br/>
 
| TODO. Stands for "dialogueDependingOnWorldState". Format:<br/>
 
<code>"Tue4": "$d bus#Dialogue when bus is out of order.|Dialogue when bus is restored.",</code>
 
<code>"Tue4": "$d bus#Dialogue when bus is out of order.|Dialogue when bus is restored.",</code>
 
|-
 
|-
| dialogue
   
| <tt>$y</tt>
 
| <tt>$y</tt>
 
| TODO. Stands for "dialogueQuickResponse"; works like $q, but within one and the same text line.
 
| TODO. Stands for "dialogueQuickResponse"; works like $q, but within one and the same text line.
 
|-
 
|-
| dialogue
   
| <tt>$p</tt>
 
| <tt>$p</tt>
 
| TODO. Stands for "dialoguePrerequisite".
 
| TODO. Stands for "dialoguePrerequisite".
 
|-
 
|-
| dialogue
   
| <tt>$1 {{t|character name}}1</tt>
 
| <tt>$1 {{t|character name}}1</tt>
 
| TODO. When used as the first dialogue command, stands for "dialogueSingle". Likely a check for whether the player is dating the specified character.
 
| TODO. When used as the first dialogue command, stands for "dialogueSingle". Likely a check for whether the player is dating the specified character.
 
|-
 
|-
| dialogue
   
| <tt>%fork</tt>
 
| <tt>%fork</tt>
 
| TODO. Seems to have to do with questions and forks, however is used sparingly in originals game code. Seems to be replaced with the actual question command.
 
| TODO. Seems to have to do with questions and forks, however is used sparingly in originals game code. Seems to be replaced with the actual question command.
 +
|}
 +
 +
===Replacer commands===
 +
Replacer commands will be replaced with the relevant string.
 +
 +
{| class="wikitable"
 
|-
 
|-
| content
   
| <tt>@</tt>
 
| <tt>@</tt>
| Replaced with the player's name.<br />''Example: <code>Hi there @!</code>''
+
| Farmer's name.<br />''Example: <code>Hi there @!</code>''
 
|-
 
|-
| content
   
| <tt>%adj</tt>
 
| <tt>%adj</tt>
| Replaced with a random adjective.
+
| Random adjective.
 
|-
 
|-
| content
   
| <tt>%noun</tt>
 
| <tt>%noun</tt>
| Replaced with a random noun.
+
| Random noun.
 
|-
 
|-
| content
   
| <tt>%place</tt>
 
| <tt>%place</tt>
| Replaced with a random place name.
+
| Random place name.
 
|-
 
|-
| content
   
| <tt>%spouse</tt>
 
| <tt>%spouse</tt>
| Replaced with the name of the farmer's spouse.
+
| The name of Farmer's spouse.
 
|-
 
|-
| content
   
| <tt>%name</tt>
 
| <tt>%name</tt>
 
| TODO. Stands for "randomNameSpecialCharacter". Seems to return a random name?  
 
| TODO. Stands for "randomNameSpecialCharacter". Seems to return a random name?  
 
|-
 
|-
| content
   
| <tt>%firstnameletter</tt>
 
| <tt>%firstnameletter</tt>
 
| TODO. Stands for "firstNameLettersSpecialCharacter".
 
| TODO. Stands for "firstNameLettersSpecialCharacter".
 
|-
 
|-
| content
   
| <tt>%time</tt>
 
| <tt>%time</tt>
| Replaced with the current time.
+
| Current time.
 
|-
 
|-
| content
   
| <tt>%band</tt>
 
| <tt>%band</tt>
 
| TODO. Possibly the genre of Sam and Sebastian's band.
 
| TODO. Possibly the genre of Sam and Sebastian's band.
 
|-
 
|-
| content
   
| <tt>%book</tt>
 
| <tt>%book</tt>
 
| TODO. Possibly the genre of Elliott's book.
 
| TODO. Possibly the genre of Elliott's book.
 
|-
 
|-
| content
   
| <tt>%rival</tt>
 
| <tt>%rival</tt>
| TODO.
+
| TODO. Possibly the name or personal pronoun of Leah's ex.
 
|-
 
|-
| content
   
| <tt>%pet</tt>
 
| <tt>%pet</tt>
| Replaced with the name of the farmer's pet.
+
| The name of Farmer's pet.
 
|-
 
|-
| content
   
| <tt>%farm</tt>
 
| <tt>%farm</tt>
| Replaced with the farm name.
+
| Farm name.
 
|-
 
|-
| content
   
| <tt>%favorite</tt>
 
| <tt>%favorite</tt>
 
| TODO. Returns favorite thing? Unused?
 
| TODO. Returns favorite thing? Unused?
 
|-
 
|-
| content
   
| <tt>%kid1</tt>
 
| <tt>%kid1</tt>
| Replaced with the name of the farmer's first child.
+
| The name of Farmer's first child.
 
|-
 
|-
| content
   
| <tt>%kid2</tt>
 
| <tt>%kid2</tt>
| Replaced with the name of the farmer's second child.
+
| The name of Farmer's second child.
 
|}
 
|}
    
[[Category:Modding]]
 
[[Category:Modding]]
52

edits