219
edits
CreativeMD (talk | contribs) No edit summary |
Lazy Warlock (talk | contribs) |
||
Line 6: | Line 6: | ||
<tr style='background-color: rgba(0,0,0,0.2);'> | <tr style='background-color: rgba(0,0,0,0.2);'> | ||
<th width='300' align='left'>Property</th> | <th width='300' align='left'>Property</th> | ||
<th width=' | <th width='100' align='left'>Type</th> | ||
<th width='120' align='left'>Default</th> | <th width='120' align='left'>Default</th> | ||
<th align='left'>Usage</th> | <th width='200' align='left'>Usage</th> | ||
<th align='left'>Reference</th> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><div class="tt" data-tt-id="root">json</div></td> | <td><div class="tt" data-tt-id="root">json</div></td> | ||
<td></td> | |||
<td></td> | <td></td> | ||
<td></td> | <td></td> | ||
Line 24: | Line 26: | ||
<td>required</td> | <td>required</td> | ||
<td>A unique identifier for the item.</td> | <td>A unique identifier for the item.</td> | ||
<td>An example JSON(s) in Vintage Story.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_code_info" data-tt-parent="p_code" data-invisible="true"></div></td> | <td scope="row"><div class="tt" data-tt-id="p_code_info" data-tt-parent="p_code" data-invisible="true"></div></td> | ||
<td colspan=" | <td colspan="4"> | ||
A '''domain prefix''' will be added dynamically depending on the location of the file. Every mod and VintageStory itself have a unique prefix. | A '''domain prefix''' will be added dynamically depending on the location of the file. Every mod and VintageStory itself have a unique prefix. | ||
Line 41: | Line 44: | ||
<td>true</td> | <td>true</td> | ||
<td>If the item will be loaded or not. Can be used to temporarily remove the item.</td> | <td>If the item will be loaded or not. Can be used to temporarily remove the item.</td> | ||
<td>-</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 47: | Line 51: | ||
<td>-</td> | <td>-</td> | ||
<td>Allows you define multiple variants of the same item.</td> | <td>Allows you define multiple variants of the same item.</td> | ||
<td>armor, ore-graded, plank, </td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_variantgroups_info" data-tt-parent="p_variantgroups" data-invisible="true"></div></td> | <td scope="row"><div class="tt" data-tt-id="p_variantgroups_info" data-tt-parent="p_variantgroups" data-invisible="true"></div></td> | ||
<td colspan=" | <td colspan="4"> | ||
The variantgroups property allows you to define multiple variants of this item. All of them will have their unique pattern, which will be added to the item code. | The variantgroups property allows you to define multiple variants of this item. All of them will have their unique pattern, which will be added to the item code. | ||
edits