Line 793: |
Line 793: |
| ===Data format=== | | ===Data format=== |
| The object data in <samp>Data/Objects</samp> consists of a string → model lookup, where... | | The object data in <samp>Data/Objects</samp> consists of a string → model lookup, where... |
− | * The key is the unqualified [[#Custom items|item ID]]. | + | * The key is the unqualified [[Modding:Common_data_field_types#Item_ID|item ID]]. |
| * The value is a model with the fields listed below. | | * The value is a model with the fields listed below. |
| | | |
Line 809: |
Line 809: |
| |- | | |- |
| | <samp>Type</samp> | | | <samp>Type</samp> |
− | | The item's general type, like <samp>Arch</samp> (artifact) or <samp>Minerals</samp>. See details at [[Modding:Items#Objects]]. | + | | The item's general type, like Arch (artifact) or Minerals. The vanilla types are: Litter, Basic, Minerals, Quest, asdf, Crafting, Arch, fish, Cooking, Seeds, Ring, interactive |
| |- | | |- |
| | <samp>Category</samp> | | | <samp>Category</samp> |
Line 859: |
Line 859: |
| |- | | |- |
| | <samp>BuffId</samp> | | | <samp>BuffId</samp> |
− | | ''(Optional)'' The unique ID of a buff from [[#Custom buffs|<samp>Data/Buffs</samp>]] to apply, or <samp>null</samp> to ignore <samp>Data/Buffs</samp> and set the ID to <samp>food</samp> or <samp>drink</samp> depending on the item's <samp>IsDrink</samp> field. | + | | ''(Optional)'' The unique ID of a buff from <samp>Data/Buffs</samp> to apply, or <samp>null</samp> to ignore <samp>Data/Buffs</samp> and set the ID to <samp>food</samp> or <samp>drink</samp> depending on the item's <samp>IsDrink</samp> field. |
| | | |
| If a buff from <samp>Data/Buffs</samp> is applied and you also specify other fields, here's how the buff data is combined: | | If a buff from <samp>Data/Buffs</samp> is applied and you also specify other fields, here's how the buff data is combined: |
Line 906: |
Line 906: |
| |- | | |- |
| | <samp>CustomFields</samp> | | | <samp>CustomFields</samp> |
− | | ''(Optional)'' The [[#Custom data fields|custom fields]] for this entry. | + | | ''(Optional)'' The [[Modding:Common_data_field_types#Custom_fields|custom fields]] for this entry. |
| |} | | |} |
| |} | | |} |
Line 985: |
Line 985: |
| |- | | |- |
| | <samp>CustomFields</samp> | | | <samp>CustomFields</samp> |
− | | ''(Optional)'' The [[#Custom data fields|custom fields]] for this entry. | + | | ''(Optional)'' The [[Modding:Common_data_field_types#Custom_fields|custom fields]] for this entry. |
| |} | | |} |
| | | |