Block reinforcement: Difference between revisions

From Vintage Story Wiki
Line 43: Line 43:
== JSON editing and Modding ==
== JSON editing and Modding ==


A weak block can be made reinforceable by including the following lines in its blocktype JSON.
A weak block can be made reinforceable by including the following line in its blocktype JSON.


<code> attributes: { reinforcable: true },</code>
<code> attributes: { reinforcable: true },</code>


Note the spelling!  If attributes are already present, then <code>reinforcable: true,</code> should simply be added within the existing list of attributes.
Note the spelling!  If attributes are already present, then <code>reinforcable: true,</code> should simply be added within the existing list of attributes.
Confirmedusers, editor
348

edits