Json:block:behavior: Difference between revisions

From Vintage Story Wiki
(Created blank page)
 
No edit summary
Line 1: Line 1:
 
  <tr>
    <td scope="row" valign="top"><div class="tt" data-tt-id="p_behaviors_HorizontalAttachable" data-tt-parent="p_behaviors">HorizontalAttachable</div></td>
    <td colspan="3">Block can only be attached horizontally. Used for:
* Painting
* Toolrack
Requires <code>abstract/horizontalorientation</code> as the last variantgroup. Example use:
      <syntaxhighlight lang="json">
variantgroups: [
{ code:"painting", loadFromProperties: "block/painting" },
{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
],
      </syntaxhighlight>
----
    </td>
  </tr>
  <tr>
    <td scope="row" valign="top"><div class="tt" data-tt-id="p_behaviors_HorizontalOrientable" data-tt-parent="p_behaviors">HorizontalOrientable</div></td>
    <td colspan="3">Block can be rotated horizontally. Used for:
* Workbench
* Ladder
* Echochamber
* Chest
* stove
* Altar
* Windmillrotor
* Bellows
Requires <code>abstract/horizontalorientation</code> as the last variantgroup. Example use:
      <syntaxhighlight lang="json">
variantgroups: [
{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
],
      </syntaxhighlight>
    </td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_NWOrientable" data-tt-parent="p_behaviors">NWOrientable</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_Pillar" data-tt-parent="p_behaviors">Pillar</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_Slab" data-tt-parent="p_behaviors">Slab</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_HorizontalUpDownOrientable" data-tt-parent="p_behaviors">HorizontalUpDownOrientable</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_FiniteSpreadingLiquid" data-tt-parent="p_behaviors">FiniteSpreadingLiquid</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_OmniAttachable" data-tt-parent="p_behaviors">OmniAttachable</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_Unplaceable" data-tt-parent="p_behaviors">Unplaceable</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_Unstable" data-tt-parent="p_behaviors">Unstable</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_Harvestable" data-tt-parent="p_behaviors">Harvestable</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_NoParticles" data-tt-parent="p_behaviors">NoParticles</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_Container" data-tt-parent="p_behaviors">Container</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_Ignitable" data-tt-parent="p_behaviors">Ignitable</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_Falling" data-tt-parent="p_behaviors">Falling</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_DropIfFloating" data-tt-parent="p_behaviors">DropIfFloating</div></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td scope="row"><div class="tt" data-tt-id="p_behaviors_CanIgnite" data-tt-parent="p_behaviors">CanIgnite</div></td>
    <td></td>
    <td></td>
    <td></td>

Revision as of 10:31, 11 August 2017

HorizontalAttachable

Block can only be attached horizontally. Used for:

  • Painting
  • Toolrack

Requires abstract/horizontalorientation as the last variantgroup. Example use:

	variantgroups: [
		{ code:"painting", loadFromProperties: "block/painting" },
		{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
	],

HorizontalOrientable

Block can be rotated horizontally. Used for:

  • Workbench
  • Ladder
  • Echochamber
  • Chest
  • stove
  • Altar
  • Windmillrotor
  • Bellows

Requires abstract/horizontalorientation as the last variantgroup. Example use:

	variantgroups: [
		{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
	],
NWOrientable
Pillar
Slab
HorizontalUpDownOrientable
FiniteSpreadingLiquid
OmniAttachable
Unplaceable
Unstable
Harvestable
NoParticles
Container
Ignitable
Falling
DropIfFloating
CanIgnite