Modding:Item Json Properties: Difference between revisions

From Vintage Story Wiki
Line 1,459: Line 1,459:
     <td>boolean</td>
     <td>boolean</td>
     <td>-</td>
     <td>-</td>
     <td>Tells an item to render it's texture as a shape rather than utilizing the assigned texture</td>
     <td>Tells an item to render it's texture as a shape rather than utilizing the assigned shape</td>
     <td>redmeat (vintage)</td>
     <td>redmeat (vintage)</td>
   </tr>
   </tr>
Line 1,490: Line 1,490:
     <td>object</td>
     <td>object</td>
     <td>-</td>
     <td>-</td>
     <td>The items shape in inventory.</td>
     <td>If used, gives the item a different shape while it's in the player's inventory.</td>
    <td>lantern</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 1,497: Line 1,498:
     <td>item default</td>
     <td>item default</td>
     <td>Used for scaling, rotation or offseting the item when rendered in guis.</td>
     <td>Used for scaling, rotation or offseting the item when rendered in guis.</td>
    <td>Any Item</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 1,503: Line 1,505:
     <td>item default</td>
     <td>item default</td>
     <td>Used for scaling, rotation or offseting the item when rendered in the first person mode hand.</td>
     <td>Used for scaling, rotation or offseting the item when rendered in the first person mode hand.</td>
    <td>Any Item</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 1,509: Line 1,512:
     <td>item default</td>
     <td>item default</td>
     <td>Used for scaling, rotation or offseting the item when rendered in the third person mode hand.</td>
     <td>Used for scaling, rotation or offseting the item when rendered in the third person mode hand.</td>
    <td>Any Item</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 1,515: Line 1,519:
     <td>item default</td>
     <td>item default</td>
     <td>Used for scaling, rotation or offseting the rendered as a dropped item on the ground.</td>
     <td>Used for scaling, rotation or offseting the rendered as a dropped item on the ground.</td>
    <td>Any Item</td>
   </tr>
   </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_toolracktransform" data-tt-parent="root">toolrackTransform</div></td>
    <td>string</td>
    <td>-</td>
    <td>If the item can be placed on a toolrack (using the rackable property) this will transform its position while on the toolrack.</td>
    <td>Axe, Hoe, Scythe, Sword</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_glowlevel" data-tt-parent="root">glowLevel</div></td>
    <td>number</td>
    <td>0</td>
    <td>Gives the item a light value that it produces when held and dropped on the ground.</td>
    <td>gear (temporal)</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_animation_use" data-tt-parent="root">heldTpUseAnimation</div></td>
    <td>string</td>
    <td>-</td>
    <td>The animation played when an item is used with a right-click function.</td>
    <td>hoe</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_animation_hit" data-tt-parent="root">heldTpHitAnimation</div></td>
    <td>string</td>
    <td>-</td>
    <td>The animation played when swinging the item with the left-click mouse button.</td>
    <td>axe, hoe, sword</td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_animation_idle" data-tt-parent="root">heldTpIdleAnimation</div></td>
    <td>string</td>
    <td>-</td>
    <td>Gives the item a unique animation when being idly held by the player.</td>
    <td>strawdummy</td>
  </tr>
  </table>
  </table>


219

edits