Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_code" data-tt-parent="root"> | <td scope="row"><div class="tt" data-tt-id="p_code" data-tt-parent="root">Code</div></td> | ||
<td>string</td> | <td>string</td> | ||
<td>-</td> | <td>-</td> | ||
Line 28: | Line 28: | ||
<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="3"> | <td colspan="3"> | ||
A domain prefix will be added dynamically depending on the location of the file. Every mod and the VintageStory itself have a unique prefix. | A domain prefix will be added dynamically depending on the location of the file. Every mod and the VintageStory itself have a unique prefix. | ||
The code identifier has to be unique, at least inside his domain, so in theory there can be equal identifiers with different domain prefixes. | For example the code '''<code>stone</code>''' would turn into '''<code>game:stone</code>'''. | ||
The code identifier has to be unique, at least inside his domain, so in theory there can be equal identifiers with different domain prefixes. | |||
Find out more about [[Basic Modding#Domains|Domains]]. | |||
</td> | </td> | ||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_enabled" data-tt-parent="root">Enabled</div></td> | |||
<td>boolean</td> | |||
<td>true</td> | |||
<td>If the block will be loaded or not. Can be used to temporarily remove the block.</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_variantgroups" data-tt-parent="root">VariantGroups</div></td> | |||
<td>array of object</td> | |||
<td>-</td> | |||
<td>Allows you define multiple variants of the same block.</td> | |||
</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 colspan="3"> | |||
Variantgroups | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="4" style='font-size: 14pt; border-bottom: 2pt solid black; padding-left: 100px;'><b>Specific</b></td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 67: | Line 90: | ||
{{:json:block:behavior}} | {{:json:block:behavior}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> |