Changes

Jump to navigation Jump to search
→‎Big craftables: Name through Price field descriptions
Line 612: Line 612:     
===Data format===
 
===Data format===
The big craftables data in <samp>Data/BigCraftables</samp> consists of an integer→string dictionary with entries like this:
+
The big craftables data in <samp>Data/BigCraftables</samp> consists of an integer→string dictionary with entries like this<ref>See <samp>Data/BigCraftables.xnb</samp></ref>:
    
<syntaxhighlight lang="json">
 
<syntaxhighlight lang="json">
Line 643: Line 643:  
| The internal item name (and display name in English).
 
| The internal item name (and display name in English).
 
|-
 
|-
| price
+
| DisplayName
 +
| string
 +
| A tokenizable string for the item's translated display name.
 +
|-
 +
| Description
 +
| string
 +
| A tokenizable string for the item's translated description.
 +
|-
 +
| Price
 
| integer
 
| integer
 
| The gold price when sold by the player. This is not the price when bought from a shop.
 
| The gold price when sold by the player. This is not the price when bought from a shop.
Line 685: Line 693:  
|}
 
|}
 
|-
 
|-
| 8
   
| is lamp
 
| is lamp
 +
|
 
| Whether the item is a lamp and produces light when it's dark. This can be <samp>true</samp> (mark as lamp) or any other value (ignored).
 
| Whether the item is a lamp and produces light when it's dark. This can be <samp>true</samp> (mark as lamp) or any other value (ignored).
 
|-
 
|-
| 9
   
| display name
 
| display name
 +
|
 
| The translated display name (in non-English assets only).
 
| The translated display name (in non-English assets only).
 
|}
 
|}
46

edits

Navigation menu