Changes

Jump to navigation Jump to search
Line 1,525: Line 1,525:  
===Rewards===
 
===Rewards===
 
Each order can have any number of rewards of the given types.
 
Each order can have any number of rewards of the given types.
  −
Each reward entry takes the following form:
  −
<syntaxhighlight lang="javascript">
  −
{
  −
    "Type": "<Type from list below>",
  −
    "Data": {
  −
        "<Name of key>": "<Some entry, format depends on key>"
  −
    },
  −
}
  −
</syntaxhighlight>
      
{| class="wikitable"
 
{| class="wikitable"
Line 1,542: Line 1,532:  
|-
 
|-
 
| <samp>Friendship</samp>
 
| <samp>Friendship</samp>
| Increases the amount of [[Friendship|friendship]], by default by 250 points (1 heart) with the requesting NPC. If specified, the units are in terms of number of friendship points, not hearts. For this reward type, the keys can be "Amount" to specify the amount, and "TargetName" to specify the NPC to increase friendship with.
+
| Increases the amount of [[Friendship|friendship]], which is by default 250 points (1 heart) and for the requesting NPC. If specified, the units are in terms of number of friendship points, not hearts.  
 +
<syntaxhighlight lang="javascript">
 +
"Type": "Friendship",
 +
"Data": {
 +
    "Amount": "Number of friendship points to add", // integer
 +
    "TargetName": "Name of NPC to add them to" // string
 +
}
 +
</syntaxhighlight>
 
|-
 
|-
 
| <samp>Gems</samp>
 
| <samp>Gems</samp>
| Rewards the farmer a set amount of [[Qi_Gem|Qi Gems]]. For this reward type, the only valid key is "Amount", used to specify the amount of gems.
+
| Rewards the farmer a set amount of [[Qi_Gem|Qi Gems]].
 +
<syntaxhighlight lang="javascript">
 +
"Type": "Gems",
 +
"Data": {
 +
    "Amount": "Number of Qi Gems to award" // integer
 +
}
 +
</syntaxhighlight>
 
|-
 
|-
 
|<samp>Mail</samp>
 
|<samp>Mail</samp>
| Sets a mail flag, which can be used to trigger custom events, dialogue, or other changes.  
+
| Sets a mail flag, which can be used to trigger custom events, dialogue, or other changes. "MailReceived" sets the name of the mail flag that is set upon completion of the special order. "NoLetter" controls whether there is an actual letter corresponding to the mail flag, and is true by default (no mail sent). "Host" seems to be intended to control whether only the host receives the quest completion letter, but due to "send to everyone" being always true, appears to have no real effect in the game. (TODO: verify this.) "Host" is false by default.
 +
<syntaxhighlight lang="javascript">
 +
"Type": "Mail",
 +
"Data": {
 +
    "MailReceived": "Name of mail flag", // string
 +
    "NoLetter": "true/false", // boolean
 +
    "Host": "true/false" // boolean
 +
}
 +
</syntaxhighlight>
 
|-
 
|-
 
|<samp>Money</samp>
 
|<samp>Money</samp>
|Rewards the farmer a set amount of money or a value that depends on the donated item. For this reward type, the valid keys are "Amount", used to specify the amount of money, and "Multiplier", used to specify a multiplier on the amount. The total money rewarded is <code>Amount * Multiplier</code>.  
+
|Rewards the farmer a set amount of money or a value that depends on the donated item. The total money rewarded is <code>Amount * Multiplier</code>.
 +
<syntaxhighlight lang="javascript">
 +
"Type": "Money",
 +
"Data": {
 +
    "Amount": "Amount of money", // integer
 +
    "Multiplier": "Multiplier on amount" // float
 +
}
 +
</syntaxhighlight>
 
|-
 
|-
 
|<samp>ResetEvent</samp>
 
|<samp>ResetEvent</samp>
|Removes the event IDs. For this reward type, the only valid key is "ResetEvents", and the value is a list of event IDs as integers, separated by spaces.
+
|Removes the event IDs from the list of event IDs seen by the player, thus making the events repeatable.
 +
<syntaxhighlight lang="javascript">
 +
"Type": "ResetEvent",
 +
"Data": {
 +
    "ResetEvents": "eventID1 eventID2 eventID3" // space-separated integers
 +
}
 +
</syntaxhighlight>
 
|}
 
|}
  
249

edits

Navigation menu