Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
Line 336: Line 336:
     <td scope="row"><div class="tt" data-tt-id="p_requiredminingtier_info" data-tt-parent="p_requiredminingtier" data-invisible="true"></div></td>
     <td scope="row"><div class="tt" data-tt-id="p_requiredminingtier_info" data-tt-parent="p_requiredminingtier" data-invisible="true"></div></td>
     <td colspan="4">
     <td colspan="4">
The following are examples of the mining tiers required for certian ores in Vintage Story:
<table class="wikitable">
<table class="wikitable">
   <tr style="background-color: rgba(0,0,0,0.2);">
   <tr style="background-color: rgba(0,0,0,0.2);">
Line 343: Line 345:
   <tr>
   <tr>
     <td>'''1'''</td>
     <td>'''1'''</td>
<td>'''''gelena''''' and '''''rocksalt_sylvite'''''</td>
<td>'''''galena''''' and '''''rocksalt_sylvite'''''</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 369: Line 371:
     <td>false</td>
     <td>false</td>
     <td>If true, walking against this block will make the player climb (used for ladders).</td>
     <td>If true, walking against this block will make the player climb (used for ladders).</td>
    <td>ladder</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 375: Line 378:
     <td>false</td>
     <td>false</td>
     <td>If rain can fall through this block.</td>
     <td>If rain can fall through this block.</td>
    <td>torch, torchholder</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 381: Line 385:
     <td>-</td>
     <td>-</td>
     <td>Whether snow may rest on top of this block.</td>
     <td>Whether snow may rest on top of this block.</td>
    <td>leavesbranchy</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td scope="row"><div class="tt" data-tt-id="p_snowcoverage_info" data-tt-parent="p_snowcoverage" data-invisible="true"></div></td>
     <td scope="row"><div class="tt" data-tt-id="p_snowcoverage_info" data-tt-parent="p_snowcoverage" data-invisible="true"></div></td>
     <td colspan="4">
     <td colspan="4">
All none solid blocks can't be covered by snow unless it's defined different:
All non-solid blocks can't be covered by snow unless it's defined different:
*Leaves (also branchy): '''true''',
*Leaves (also branchy): '''true''',
*Water with particles, Lakeice: '''false'''
*Water with particles, Lakeice: '''false'''
Line 395: Line 400:
     <td>box (0,0,0 -> 1,1,1)</td>
     <td>box (0,0,0 -> 1,1,1)</td>
     <td>Defines a box with which the player collides with.</td>
     <td>Defines a box with which the player collides with.</td>
    <td>carcass, door, fence, all slabs</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 411: Line 417:
Also, setting the entire property to <code>null</code> will eliminate the collision box entirely.
Also, setting the entire property to <code>null</code> will eliminate the collision box entirely.
</td>
</td>
<td>carcass</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 418: Line 423:
     <td>-</td>
     <td>-</td>
     <td>Defines multiple boxes with which the player collides with.</td>
     <td>Defines multiple boxes with which the player collides with.</td>
    <td>all stairs, crate</td>
   </tr>
   </tr>
   <tr>
   <tr>
219

edits