Line 421: |
Line 421: |
| | | |
| ===Data format=== | | ===Data format=== |
− | <span style="color: red;">'''TODO'''</span> | + | The boots data in <samp>Data/Boots</samp> consists of an integer→string dictionary with entries like this: |
| + | |
| + | <syntaxhighlight lang="json"> |
| + | "511": "Dark Boots/Made from thick black leather./250/4/2/7" |
| + | </syntaxhighlight> |
| + | |
| + | For each entry in the data asset, the key is the item's <samp>ParentSheetIndex</samp> and the value is a slash-delimited string with these fields: |
| + | |
| + | {| class="wikitable" |
| + | |- |
| + | ! index |
| + | ! field |
| + | ! effect |
| + | |- |
| + | | 0 |
| + | | name |
| + | | The internal item name (and display name in English). |
| + | |- |
| + | | 1 |
| + | | description |
| + | | The translated item description shown in-game. |
| + | |- |
| + | | 2 |
| + | | price |
| + | | '''Unused.''' The actual price is calculated as <samp>(''added defence'' × 100) + (''added immunity'' × 100)</samp>. |
| + | |- |
| + | | 3 |
| + | | added defense |
| + | | A [[defense]] bonus applied to the player while equipped. |
| + | |- |
| + | | 4 |
| + | | added immunity |
| + | | An [[immunity]] bonus applied to the player while equipped. |
| + | |- |
| + | | 5 |
| + | | color index |
| + | | The index of the boot color in the <samp>Characters/Farmer/shoeColors</samp> spritesheet. |
| + | |- |
| + | | 6 |
| + | | display name |
| + | | The translated item name shown in-game (for non-English assets only). |
| + | |} |
| | | |
| ==Clothing== | | ==Clothing== |