Changes

Jump to navigation Jump to search
Fix broken links
Line 3: Line 3:  
This page covers the data format for [[Crafting#Decor|craftable floors & paths]]. This is an advanced guide for mod developers
 
This page covers the data format for [[Crafting#Decor|craftable floors & paths]]. This is an advanced guide for mod developers
   −
==Copied from [[Modding:Migrate to Stardew Valley 1.6]]==
+
==Data Format==
   −
You can now add or customize [[Crafting#Decor|craftable floors & paths]] by editing the <samp>Data/FloorsAndPaths</samp> asset.
+
You can add or customize [[Crafting#Decor|craftable floors & paths]] by editing the <samp>Data/FloorsAndPaths</samp> asset.
    
This consists of a string → model lookup, where the key matches the <samp>ID</samp> field and the value is a model with these fields:
 
This consists of a string → model lookup, where the key matches the <samp>ID</samp> field and the value is a model with these fields:
Line 17: Line 17:  
|-
 
|-
 
| <samp>ItemId</samp>
 
| <samp>ItemId</samp>
| The unqualified [[#Custom items|item ID]] for the corresponding object-type item.
+
| The unqualified [[Modding:Common_data_field_types#Item_ID|item ID]] for the corresponding object-type item.
 
|-
 
|-
 
| <samp>Texture</samp>
 
| <samp>Texture</samp>
Line 26: Line 26:  
|-
 
|-
 
| <samp>PlacementSound</samp>
 
| <samp>PlacementSound</samp>
| The [[#Custom audio|audio cue ID]] played when the item is applied/placed (e.g. <samp>axchop</samp> used by [[Wood Floor]]).
+
| The [[Modding:Audio|audio cue ID]] played when the item is applied/placed (e.g. <samp>axchop</samp> used by [[Wood Floor]]).
 
|-
 
|-
 
| <samp>FootstepSound</samp>
 
| <samp>FootstepSound</samp>
| The [[#Custom audio|audio cue ID]] played when the player steps on the tile (e.g. <samp>woodyStep</samp> used by [[Wood Floor]]).
+
| The [[Modding:Audio|audio cue ID]] played when the player steps on the tile (e.g. <samp>woodyStep</samp> used by [[Wood Floor]]).
 
|-
 
|-
 
| <samp>WinterTexture</samp><br /><samp>Corner</samp>
 
| <samp>WinterTexture</samp><br /><samp>Corner</samp>
Line 35: Line 35:  
|-
 
|-
 
| <samp>RemovalSound</samp>
 
| <samp>RemovalSound</samp>
| ''(Optional)'' The [[#Custom audio|audio cue ID]] played when the item is unapplied or picked up. Defaults to the same sound as <samp>PlacementSound</samp>.
+
| ''(Optional)'' The [[Modding:Audio|audio cue ID]] played when the item is unapplied or picked up. Defaults to the same sound as <samp>PlacementSound</samp>.
 
|-
 
|-
 
| <samp>RemovalDebrisType</samp>
 
| <samp>RemovalDebrisType</samp>
138

edits

Navigation menu