Changes

Jump to navigation Jump to search
m
Text replacement - "tt>" to "samp>"
Line 6: Line 6:     
==Raw data==
 
==Raw data==
Special orders are stored in <tt>Content\Data\SpecialOrders.xnb</tt>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}}:
+
Special orders are stored in <samp>Content\Data\SpecialOrders.xnb</samp>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}}:
 
{{collapse|Data|content=<syntaxhighlight lang="json">
 
{{collapse|Data|content=<syntaxhighlight lang="json">
 
{
 
{
Line 1,495: Line 1,495:  
! Description
 
! Description
 
|-
 
|-
| <tt>Collect</tt>
+
| <samp>Collect</samp>
| The player must obtain items that match the [[#Context tags|<tt>AcceptedContextTags</tt> field]]. The items must never have been in a player inventory. This applies to any method of collecting items (e.g. harvesting crops, slaying monsters, collecting from a machine, cooking a dish, etc). There's no restriction to how the item can be collected; e.g. a special order for emeralds will be equally find with gems found in the mines or produced in a crystalarium.
+
| The player must obtain items that match the [[#Context tags|<samp>AcceptedContextTags</samp> field]]. The items must never have been in a player inventory. This applies to any method of collecting items (e.g. harvesting crops, slaying monsters, collecting from a machine, cooking a dish, etc). There's no restriction to how the item can be collected; e.g. a special order for emeralds will be equally find with gems found in the mines or produced in a crystalarium.
 
|-
 
|-
| <tt>Deliver</tt>
+
| <samp>Deliver</samp>
| The player must give items that match the [[#Context tags|<tt>AcceptedContextTags</tt> field]] to a given character. This doesn't count towards the character's gift limit.
+
| The player must give items that match the [[#Context tags|<samp>AcceptedContextTags</samp> field]] to a given character. This doesn't count towards the character's gift limit.
 
|-
 
|-
| <tt>Fish</tt>
+
| <samp>Fish</samp>
| Equivalent to <tt>Collect</tt>, but only counts items found by [[fishing]].
+
| Equivalent to <samp>Collect</samp>, but only counts items found by [[fishing]].
 
|-
 
|-
| <tt>Gift</tt>
+
| <samp>Gift</samp>
| The player must give items that match the [[#Context tags|<tt>AcceptedContextTags</tt> field]] to a given character. This '''does''' count towards the character's gift limit. Parameters can include a minimum gift taste level.
+
| The player must give items that match the [[#Context tags|<samp>AcceptedContextTags</samp> field]] to a given character. This '''does''' count towards the character's gift limit. Parameters can include a minimum gift taste level.
 
|-
 
|-
| <tt>JKScore</tt>
+
| <samp>JKScore</samp>
 
| The player must achieve at least the given [[Junimo Kart]] score. This tracks the highest score reached while the special order is active.
 
| The player must achieve at least the given [[Junimo Kart]] score. This tracks the highest score reached while the special order is active.
 
|-
 
|-
| <tt>ReachMineFloor</tt>
+
| <samp>ReachMineFloor</samp>
| The player must reach or exceed the given floor in the [[The Mines|mines]] or the [[Skull Cavern]] (depending on the <tt>SkullCave</tt> field) while the special order is active.
+
| The player must reach or exceed the given floor in the [[The Mines|mines]] or the [[Skull Cavern]] (depending on the <samp>SkullCave</samp> field) while the special order is active.
 
|-
 
|-
| <tt>Ship</tt>
+
| <samp>Ship</samp>
| The player must ship items through their [[Shipping Bin|shipping bin]] which match the [[#Context tags|<tt>AcceptedContextTags</tt> field]]. The quest objective progresses when the items are collected, not when they're put in the bin. Player still get money for the shipped items as they would normally.
+
| The player must ship items through their [[Shipping Bin|shipping bin]] which match the [[#Context tags|<samp>AcceptedContextTags</samp> field]]. The quest objective progresses when the items are collected, not when they're put in the bin. Player still get money for the shipped items as they would normally.
 
|-
 
|-
| <tt>Donate</tt>
+
| <samp>Donate</samp>
| The player must add items that match the [[#Context tags|<tt>AcceptedContextTags</tt> field]] to a dropbox.
+
| The player must add items that match the [[#Context tags|<samp>AcceptedContextTags</samp> field]] to a dropbox.
 
|-
 
|-
| <tt>Slay</tt>
+
| <samp>Slay</samp>
 
| The player must kill a minimum number of monsters of the given name while the special order is active.
 
| The player must kill a minimum number of monsters of the given name while the special order is active.
 
|}
 
|}
Line 1,531: Line 1,531:  
! Description
 
! Description
 
|-
 
|-
| <tt>Friendship</tt>
+
| <samp>Friendship</samp>
 
| Increases the amount of [[Friendship|friendship]] with the requesting NPC. TODO: amount
 
| Increases the amount of [[Friendship|friendship]] with the requesting NPC. TODO: amount
 
|-
 
|-
| <tt>Gems</tt>
+
| <samp>Gems</samp>
 
| Rewards the farmer a set amount of [[Qi_Gem|Qi Gems]].
 
| Rewards the farmer a set amount of [[Qi_Gem|Qi Gems]].
 
|-
 
|-
|<tt>Mail</tt>
+
|<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.
 
|-
 
|-
|<tt>Money</tt>
+
|<samp>Money</samp>
 
|Rewards the farmer a set amount of money or a value that depends on the donated item.
 
|Rewards the farmer a set amount of money or a value that depends on the donated item.
 
|-
 
|-
|<tt>ResetEvent</tt>
+
|<samp>ResetEvent</samp>
 
| TODO
 
| TODO
 
|}
 
|}
    
===Context tags===
 
===Context tags===
The <tt>AcceptedContextTags</tt> fields specify [[Modding:Context tags|context tags]] for required items. This consists of a string with the following format:
+
The <samp>AcceptedContextTags</samp> fields specify [[Modding:Context tags|context tags]] for required items. This consists of a string with the following format:
    
{| class="wikitable"
 
{| class="wikitable"
106,764

edits

Navigation menu