Changes

Jump to navigation Jump to search
→‎Furniture: add info from Modding:Migrate to Stardew Valley 1.6 (main author Pathoschild, with formatting fixes by BarleyZP)
Line 1,377: Line 1,377:  
Furniture are decorative items which can be placed in the world, including chairs which the player can sit on.
 
Furniture are decorative items which can be placed in the world, including chairs which the player can sit on.
   −
They have their data in <samp>Data/Furniture</samp>, their in-game sprites in <samp>TileSheets/furniture</samp>, and their code in <samp>StardewValley.Objects.Furniture</samp>.
+
They have their data in <samp>Data/Furniture</samp>, their in-game sprites in <samp>TileSheets/furniture</samp>, translations in <samp>Strings/Furniture</samp>, and their code in <samp>StardewValley.Objects.Furniture</samp>.
    
===Data format===
 
===Data format===
Line 1,500: Line 1,500:  
| 7
 
| 7
 
| display name
 
| display name
| The translated furniture name (in non-English data assets only).
+
| The translated furniture name, which allows [[Modding:Tokenizable strings|tokenizable strings]].
 +
|-
 +
| 8
 +
| sprite index
 +
| The sprite index within the spritesheet texture to draw.
 +
|-
 +
| 9
 +
| texture
 +
| ''(Optional)'' The asset name of the texture to draw. Defaults to <samp>TileSheets/furniture</samp>.
 +
|-
 +
| 10
 +
| off limits for random sale
 +
| ''(Optional)'' Whether to prevent this furniture from appearing in randomly generated shop stocks and the furniture catalogue. Default false.
 +
|-
 +
| 11
 +
| context tags
 +
| ''(Optional)'' A space-delimited list of [[Modding:Items#Context tags|context tags]] which apply to this furniture. Default none.
 
|}
 
|}
  
138

edits

Navigation menu