Modding:Item Json Properties: Difference between revisions

From Vintage Story Wiki
Line 510: Line 510:
   </tr>
   </tr>
   <tr>
   <tr>
   <td scope="row"><div class="tt" data-tt-id="p_attributes_liststart" data-tt-parent="p_attributes" data-invisible="true"></div></td>
   <td scope="row"><div class="tt" data-tt-id="p_attributes_list" data-tt-parent="p_attributes">Attribute List</div></td>
     <td colspan="4">
     <td colspan="4">
A complete list of existing properties are contained here:
A complete list of existing properties are contained here:
     </td>
     </td>
   </tr>
   </tr>
  <tr>
  <td scope="row"><div class="tt" data-tt-id="p_alist_breakchance" data-tt-parent="p_attributes_list">breakChanceOnImpact</div></td>
  <td>value, decimal</td>
  <td>-</td>
  <td>Determines how often a projectile will break when shot.
Flint arrow = 0.5 (50%, iron arrow = 0.20 (20%).
</td>
  <td>arrow</td>
</tr>
  <td scope="row"><div class="tt" data-tt-id="p_alist_cprefix" data-tt-parent="p_attributes_list">codePrefixes</div></td>
  <td>array</td>
  <td>-</td>
  <td>Creates a list of block prefixes a tool can interact with using special features (such as how a scythe cuts large swathes of grass).</td>
  <td>scythe</td>
</tr>
  <td scope="row"><div class="tt" data-tt-id="p_alist_currency" data-tt-parent="p_attributes_list">currency</div></td>
  <td>array</td>
  <td>-</td>
  <td>Allows an item to be traded as a universal currency.</td>
  <td>gear (rusty)</td>
</tr>
  <td scope="row"><div class="tt" data-tt-id="p_alist_cvalue" data-tt-parent="p_alist_currency">value</div></td>
  <td>value</td>
  <td>-</td>
  <td>Assigns a value to the currency, a rusty gear is valued at 1.</td>
  <td>gear (rusty)</td>
</tr>
  <td scope="row"><div class="tt" data-tt-id="p_alist_damage" data-tt-parent="p_attributes_list">damage</div></td>
  <td>value</td>
  <td>-</td>
  <td>The ranged damage of a thrown weapon (such as a spear).</td>
  <td>spear</td>
</tr>
   <tr>
   <tr>
     <td scope="row"><div class="tt" data-tt-id="p_combustibleprops" data-tt-parent="root">combustibleprops</div></td>
     <td scope="row"><div class="tt" data-tt-id="p_combustibleprops" data-tt-parent="root">combustibleprops</div></td>
219

edits