Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 77: Line 77:


<table id="treeviewtable" class="table table-bordered tt-table">
<table id="treeviewtable" class="table table-bordered tt-table">
   <tr>
   <tr style='background-color: gray;'>
     <th width='300'>Property</th>
     <th width='300' align='left'>Property</th>
     <th>Type</th>
     <th width='80' align='left'>Type</th>
     <th>Default</th>
     <th width='80' align='left'>Default</th>
     <th>Usage</th>
     <th align='left'>Usage</th>
   </tr>
   </tr>
   <tr>
   <tr>
Line 92: Line 92:
     <td scope="row"><div class="tt" data-tt-id="p_code" data-tt-parent="root">code</div></td>
     <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>empty<td>
     <td>empty</td>
     <td>Usage</td>
     <td>Usage</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_maxstacksize" data-tt-parent="root">maxstacksize</div></td>
    <td>number</td>
    <td>64</td>
    <td>determines the maximum amount you can stack the block in one slot</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 added to game or not</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_renderpass" data-tt-parent="root">renderpass</div></td>
    <td>enum</td>
    <td>opaque</td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_opaque" data-tt-parent="p_renderpass">opaque</div></td>
    <td></td>
    <td>0</td>
    <td>default blocks</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_opaquenocull" data-tt-parent="p_renderpass">opaquenocull</div></td>
    <td></td>
    <td>1</td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_transparent" data-tt-parent="p_renderpass">transparent</div></td>
    <td></td>
    <td>2</td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_liquid" data-tt-parent="p_renderpass">liquid</div></td>
    <td></td>
    <td>3</td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_topsoil" data-tt-parent="p_renderpass">topsoil</div></td>
    <td></td>
    <td>4</td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_variantgroups" data-tt-parent="root">variantgroups</div></td>
    <td>arrays</td>
    <td></td>
    <td></td>
   </tr>
   </tr>
</table>
</table>
Confirmedusers, editor, Administrators
886

edits