Changes

Jump to navigation Jump to search
48 bytes added ,  18:48, 4 November 2021
m
Text replacement - "tt>" to "samp>"
Line 5: Line 5:  
==Raw data==
 
==Raw data==
 
===Cooking recipes===
 
===Cooking recipes===
Cooking recipe data is stored in <tt>Content\Data\CookingRecipes.xnb</tt>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference:
+
Cooking recipe data is stored in <samp>Content\Data\CookingRecipes.xnb</samp>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference:
    
{{collapse|Data|content=<syntaxhighlight lang="json">
 
{{collapse|Data|content=<syntaxhighlight lang="json">
Line 93: Line 93:     
===Crafting recipes===
 
===Crafting recipes===
Crafting recipe data is stored in <tt>Content\Data\CraftingRecipes.xnb</tt>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference:
+
Crafting recipe data is stored in <samp>Content\Data\CraftingRecipes.xnb</samp>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference:
    
{{collapse|Data|content=<syntaxhighlight lang="json">
 
{{collapse|Data|content=<syntaxhighlight lang="json">
Line 284: Line 284:  
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.
 
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 <tt>Home</tt> or <tt>Field</tt>.
+
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>.
    
===Ingredients and yield===
 
===Ingredients and yield===
Line 302: Line 302:  
! Description
 
! Description
 
|-
 
|-
| <tt>f&nbsp;{{t|NPC}}&nbsp;{{t|hearts}}</tt>
+
| <samp>f&nbsp;{{t|NPC}}&nbsp;{{t|hearts}}</samp>
 
| Cooking
 
| Cooking
| When the player reaches the given number of hearts of friendship with the named NPC, a letter with the key <tt>{{t|NPC}}Cooking</tt> will be queued for delivery tomorrow. That letter then unlocks the recipe with the [[Modding:Mail_data#Value|<tt>%item cookingRecipe %%</tt> 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]].
 
|-
 
|-
| <tt>l&nbsp;{{t|level}}</tt>
+
| <samp>l&nbsp;{{t|level}}</samp>
 
| both
 
| both
 
| When the player reaches the given [[Skills#Skill-Based_Title|total skill level]], the recipe will be unlocked.
 
| When the player reaches the given [[Skills#Skill-Based_Title|total skill level]], the recipe will be unlocked.
 
|-
 
|-
| <tt>s&nbsp;{{t|skill}}&nbsp;{{t|level}}</tt>
+
| <samp>s&nbsp;{{t|skill}}&nbsp;{{t|level}}</samp>
 
| both
 
| 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).
 
| 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).
 
|-
 
|-
| <tt>{{t|skill}}&nbsp;{{t|level}}</tt>
+
| <samp>{{t|skill}}&nbsp;{{t|level}}</samp>
 
| both
 
| both
 
| This is an alternate form of the skill unlock above.
 
| This is an alternate form of the skill unlock above.
 
|-
 
|-
| <tt>none</tt>
+
| <samp>none</samp>
 
| 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.)
Line 346: Line 346:  
Recipes that are unlocked during vanilla game events are hard-coded to be unlocked when those events are skipped.
 
Recipes that are unlocked during vanilla game events are hard-coded to be unlocked when those events are skipped.
   −
The recipes unlocked by [[The Queen of Sauce]] TV channel are set in <tt>Content\Data\TV\CookingChannel.xnb</tt>.
+
The recipes unlocked by [[The Queen of Sauce]] TV channel are set in <samp>Content\Data\TV\CookingChannel.xnb</samp>.
    
[[ru:Модификации:Рецепты]]
 
[[ru:Модификации:Рецепты]]
 
[[Category:Modding]]
 
[[Category:Modding]]
106,705

edits

Navigation menu