Modding:Item Json Properties: Difference between revisions

From Vintage Story Wiki
Line 833: Line 833:
   <td>-</td>
   <td>-</td>
   <td>-</td>
   <td>-</td>
   <td>Adds a section to the handbook for this item (requires a lang file input).</td>
   <td>Adds a section to the handbook for this item. The title and text properties are actually code identifiers that must be filled out in the lang file of a mod, just as one would for an item or block name.</td>
   <td></td>
   <td></td>
</tr>
</tr>
 
<tr>
  <td scope="row"><div class="tt" data-tt-id="p_hlist_text" data-tt-parent="p_hlist_sections">text</div></td>
  <td>string (text id)</td>
  <td>-</td>
  <td>The textbox name that will show up in the lang file.</td>
  <td></td>
</tr>
<tr>
  <td scope="row"><div class="tt" data-tt-id="p_hlist_title" data-tt-parent="p_hlist_sections">title</div></td>
  <td>string (title id)</td>
  <td>-</td>
  <td>The title name that will show up in the lang file.</td>
  <td></td>
</tr>
<tr>
  <td scope="row"><div class="tt" data-tt-id="p_hlist_groupby" data-tt-parent="p_attributes_handbook">groupBy</div></td>
  <td>-</td>
  <td>-</td>
  <td>Groups variants into a single handbook page, rather than making multiples.</td>
  <td>-</td>
</tr>
<tr>
  <td scope="row"><div class="tt" data-tt-id="p_hlist_groupname" data-tt-parent="p_attributes_handbook">groupedName</div></td>
  <td>-</td>
  <td>-</td>
  <td>Gives a name to the group of variants within the handbook (must be filled out in the lang file).</td>
  <td>-</td>
</tr>




219

edits