Modding:Item Json Properties: Difference between revisions

From Vintage Story Wiki
Line 4: Line 4:


Definitions:
Definitions:
'''Key''' - The name of the property, which should be used as it appears in the column.
'''Key''' - The name of the property, which should be used as it appears in the column.


Line 582: Line 583:
<tr>
<tr>
   <td scope="row"><div class="tt" data-tt-id="p_alist_spillstack" data-tt-parent="p_alist_whenspill">stack</div></td>
   <td scope="row"><div class="tt" data-tt-id="p_alist_spillstack" data-tt-parent="p_alist_whenspill">stack</div></td>
   <td>Object</td>
   <td>key: {type: item/block, code: object}</td>
   <td>-</td>
   <td>-</td>
   <td>The block or item dropped when spilled. if the "PlaceBlock" action is chosen a block is placed, if "DropContents" is used an item is generated.</td>
   <td>The block or item dropped when spilled. if the "PlaceBlock" action is chosen a block is placed, if "DropContents" is used an item is generated.</td>
Line 589: Line 590:
<tr>
<tr>
   <td scope="row"><div class="tt" data-tt-id="p_alist_sfilllevel" data-tt-parent="p_alist_whenspill">stackByFillLevel</div></td>
   <td scope="row"><div class="tt" data-tt-id="p_alist_sfilllevel" data-tt-parent="p_alist_whenspill">stackByFillLevel</div></td>
   <td>-</td>
   <td><td>key:{string (number) {type: item/block, code: object}}</td></td>
   <td>-</td>
   <td>-</td>
   <td>Allows for different blocks or items to be placed based on the level of the liquid in the container.</td>
   <td>Allows for different blocks or items to be placed based on the level of the liquid in the container.</td>
219

edits