Changes

Line 277: Line 277:  
| style="text-align: center;" | 4
 
| style="text-align: center;" | 4
 
| style="text-align: center;" | 5
 
| style="text-align: center;" | 5
| Display name<br /><small>(not for English)</small>
+
| Display name<br /><small>Tokenizable String. Defaults to the display name of the first product if not given.</small>
 
| ''Ensalada''
 
| ''Ensalada''
 
| ''Valla de piedra''
 
| ''Valla de piedra''
 
|}
 
|}
  −
In English, the '''display name''' is the same as the '''name''' from the key and cannot be changed. In other languages, the separate display name field applies.
      
The values in '''field 1''' are of different types for cooking and crafting recipes, but both kinds of value are unused by the game. For cooking, the field is set to a pair of numbers. For crafting, the field is set to <samp>Home</samp> or <samp>Field</samp>.
 
The values in '''field 1''' are of different types for cooking and crafting recipes, but both kinds of value are unused by the game. For cooking, the field is set to a pair of numbers. For crafting, the field is set to <samp>Home</samp> or <samp>Field</samp>.
Line 288: Line 286:  
===Ingredients and yield===
 
===Ingredients and yield===
   −
The '''ingredients''' are a space-separated list of numbers in pairs. The first number of each pair is an object index from [[Modding:Object data|ObjectInformation.xnb]]. (Negative numbers refer to categories, also listed in that article.) The second number of each pair is the quantity of that object that is required for the recipe.
+
The '''ingredients''' are a space-separated list of numbers in pairs. The first number of each pair is an object index from [[Modding:Items|Objects.xnb]]. (Negative numbers refer to categories, also listed in that article.) The second number of each pair is the quantity of that object that is required for the recipe.
   −
The '''yield''' is also a space-separated list of numbers in pairs. The first number of each pair is an object index from [[Modding:Object data|ObjectInformation.xnb]] or, for big craftables, an index from [[Modding:Big craftables data|BigCraftablesInformation.xnb]]. The second number of each pair is the quantity of that object (or big craftable) that is created by the recipe. If there is only one object/craftable yielded, the quantity is optional and defaults to one.
+
The '''yield''' is also a space-separated list of numbers in pairs. The first number of each pair is an [[Modding:Items|object or big craftable ID]]. The second number of each pair is the quantity of that object (or big craftable) that is created by the recipe. If there is only one object/craftable yielded, the quantity is optional and defaults to one.
    
===Unlock conditions===
 
===Unlock conditions===
Line 305: Line 303:  
| Cooking
 
| Cooking
 
| When the player reaches the given number of hearts of friendship with the named NPC, a letter with the key <samp>{{t|NPC}}Cooking</samp> will be queued for delivery tomorrow. That letter then unlocks the recipe with the [[Modding:Mail_data#Value|<samp>%item cookingRecipe %%</samp> token]].
 
| When the player reaches the given number of hearts of friendship with the named NPC, a letter with the key <samp>{{t|NPC}}Cooking</samp> will be queued for delivery tomorrow. That letter then unlocks the recipe with the [[Modding:Mail_data#Value|<samp>%item cookingRecipe %%</samp> token]].
|-
  −
| <samp>l&nbsp;{{t|level}}</samp>
  −
| both
  −
| When the player reaches the given [[Skills#Skill-Based_Title|total skill level]], the recipe will be unlocked.
  −
|-
  −
| <samp>s&nbsp;{{t|skill}}&nbsp;{{t|level}}</samp>
  −
| both
  −
| When the player reaches the given level of the named skill, the recipe will be unlocked. The valid skill names are <code>Farming</code>, <code>Mining</code>, <code>Fishing</code>, <code>Foraging</code>, <code>Luck</code>, and <code>Combat</code> (but <code>Luck</code> is unimplemented).
   
|-
 
|-
 
| <samp>{{t|skill}}&nbsp;{{t|level}}</samp>
 
| <samp>{{t|skill}}&nbsp;{{t|level}}</samp>
 
| both
 
| both
| This is an alternate form of the skill unlock above.
+
| When the player reaches the given level of the named skill, the recipe will be unlocked on the level up menu. The valid skill names are <code>Farming</code>, <code>Mining</code>, <code>Fishing</code>, <code>Foraging</code>, <code>Luck</code>, and <code>Combat</code> (but <code>Luck</code> is unimplemented).
 
|-
 
|-
| <samp>none</samp>
+
| <samp>none</samp><br />''or any other value''
 
| both
 
| both
 
| The recipe must be unlocked in some other way, such as an event. (See [[#Exceptions|Exceptions]] below for starting recipes and other hard-coded unlocks.)
 
| The recipe must be unlocked in some other way, such as an event. (See [[#Exceptions|Exceptions]] below for starting recipes and other hard-coded unlocks.)
29

edits