Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
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. | ||
For example the code '''<code>stone</code>''' would turn into '''<code>game:stone</code>'''. | 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. | 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]]. | Find out more about [[Basic Modding#Domains|Domains]]. | ||
Line 199: | Line 201: | ||
<td colspan="3"> | <td colspan="3"> | ||
Same examples of resistance's values used in VintageStory: | Same examples of resistance's values used in VintageStory: | ||
<table class="wikitable"> | |||
<tr style="background-color: grey;"> | |||
<th style="background-color: grey;">Block</th> | |||
<th style="background-color: grey;">Value</th> | |||
</tr> | |||
<tr> | |||
<td>'''leave'''</td> | |||
<td>''0.5''</td> | |||
</tr> | |||
<tr> | |||
<td>'''wool'''</td> | |||
<td>''1.0''</td> | |||
</tr> | |||
<tr> | |||
<td>'''bowl'''</td> | |||
<td>''1.5''</td> | |||
</tr> | |||
<tr> | |||
<td>'''obsidian'''</td> | |||
<td>''2''</td> | |||
</tr> | |||
<tr> | |||
<td>'''plank'''</td> | |||
<td>''3.5''</td> | |||
</tr> | |||
<tr> | |||
<td>'''log'''</td> | |||
<td>''4.5''</td> | |||
</tr> | |||
<tr> | |||
<td>'''rock'''</td> | |||
<td>''6''</td> | |||
</tr> | |||
</table> | |||
</td> | </td> | ||
</tr> | </tr> |