Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
Line 253: Line 253:
     <td scope="row"><div class="tt" data-tt-id="p_place" data-tt-parent="p_sounds">place</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_place" data-tt-parent="p_sounds">place</div></td>
     <td></td>
     <td></td>
     <td>0</td>
     <td>player/build</td>
     <td>Sound to played when placing this block</td>
     <td>Sound to played when placing this block</td>
   </tr>
   </tr>
Line 259: Line 259:
     <td scope="row"><div class="tt" data-tt-id="p_walk" data-tt-parent="p_sounds">walk</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_walk" data-tt-parent="p_sounds">walk</div></td>
     <td></td>
     <td></td>
     <td>1</td>
     <td>walk/default</td>
     <td>Sound to played when walking on this block</td>
     <td>Sound to played when walking on this block</td>
   </tr>
   </tr>
Line 265: Line 265:
     <td scope="row"><div class="tt" data-tt-id="p_break" data-tt-parent="p_sounds">break</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_break" data-tt-parent="p_sounds">break</div></td>
     <td></td>
     <td></td>
     <td>2</td>
     <td>player/destruct</td>
     <td>Sound to played when breaking this block</td>
     <td>Sound to played when breaking this block</td>
   </tr>
   </tr>
Line 271: Line 271:
     <td scope="row"><div class="tt" data-tt-id="p_hit" data-tt-parent="p_sounds">hit</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_hit" data-tt-parent="p_sounds">hit</div></td>
     <td></td>
     <td></td>
     <td>3</td>
     <td>-</td>
     <td></td>
     <td>Currently not used</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td scope="row"><div class="tt" data-tt-id="p_inside" data-tt-parent="p_sounds">inside</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_inside" data-tt-parent="p_sounds">inside</div></td>
     <td></td>
     <td></td>
     <td>4</td>
     <td>-</td>
     <td>Sound to played when moving inside block (only works for blocks that have no collisionbox, naturally)</td>
     <td>Sound to played when moving inside block (only works for blocks that have no collisionbox, naturally)</td>
   </tr>
   </tr>
</table>
</table>