Line 118: |
Line 118: |
| |- | | |- |
| | <tt>$p {{t|response ID}}#{{t|match text}}|{{t|no-match text}}</tt> | | | <tt>$p {{t|response ID}}#{{t|match text}}|{{t|no-match text}}</tt> |
− | | Stands for "dialoguePrerequisite". Shows different text depending on whether the player gave a particular answer to a previously-asked question. If {{t|response ID}} matches an answer the player gave, {{t|match text}} is shown; otherwise, {{t|no-match text}} is shown. These texts, separated by <code>|</code>, can each contain multiple commands separated by <code>#</code>. | + | | Stands for "dialoguePrerequisite". Shows different text depending on whether the player gave a particular answer to a previously-asked question. If {{t|response ID}} matches an answer the player gave, {{t|match text}} is shown; otherwise, {{t|no-match text}} is shown. These texts, separated by <code>|</code>, can each contain multiple commands separated by <code>#</code>. This does not need to be the first command in the dialugue string. |
| |- | | |- |
| | <tt>$b</tt> | | | <tt>$b</tt> |
− | | Indicates pauses in dialogue, where the player will need to click for the next part to load in the dialogue box. | + | | Indicates pauses in dialogue, where the player will need to click for the next part to load in a new dialogue box. |
| |- | | |- |
| | <tt>$e</tt> | | | <tt>$e</tt> |
− | | Ends the current dialogue, closing the dialogue box and resuming player control. The dialogue following <tt>$b</tt> will require a new interaction with the NPC. | + | | Ends the current dialogue, closing the dialogue box and resuming player control. The dialogue following <tt>$e</tt> will require a new interaction with the NPC. |
| |- | | |- |
| | <tt>$k</tt> | | | <tt>$k</tt> |
Line 135: |
Line 135: |
| | dialogueDependingOnWorldState<br/> | | | dialogueDependingOnWorldState<br/> |
| <code>"Tue4": "$d</code> {{t|dependence}}<code>#|Dialogue when dependence value is true.|Dialogue in other situations.",</code><br/> | | <code>"Tue4": "$d</code> {{t|dependence}}<code>#|Dialogue when dependence value is true.|Dialogue in other situations.",</code><br/> |
− | The dependence can take one of three values: "bus": is the bus fixed?; "joja": is JoJa Mart in business?; "cc": has the Community Centre been completed? | + | The dependence can take one of three values: "bus": is the bus fixed?; "joja": is JoJa Mart in business?; "cc": has the Community Centre been completed? This command must start the dialogue string and does not allow for any other dialogue commands in the string. |
| |- | | |- |
| | <tt>$y</tt> | | | <tt>$y</tt> |