Difference between revisions of "Hoeable Component"

From wiki
Jump to: navigation, search
(Initial commit.)
 
m (Fix redlink.)
 
Line 10: Line 10:
  
 
= When and How to use =
 
= When and How to use =
Hoeable components should be used on any tile that you would want tilled by a hoe. This component can only be specifically used by [[Tiles]] with a [[Tile#"tileStateKind"]] equal to "staxel.tileState.Dirt" and therefore tillable.
+
Hoeable components should be used on any tile that you would want tilled by a hoe. This component can only be specifically used by [[Tile|Tiles]] with a [[Tile#"tileStateKind"]] equal to "staxel.tileState.Dirt" and therefore tillable.
  
 
To create this component you would use the following;
 
To create this component you would use the following;

Latest revision as of 06:00, 1 August 2017

Category:Component Modding are all optional properties that can be added to any file. Components are useful in extending the original files with even more information, such as the cost of the item or whether the block can be broken by a weapon.

On this page, we go over the Hoeable component, signified by the following;

"hoeable": { }

Hoeable components are the compliment to Hoe Items. They are used on Tiles specifically, and are used to specify that Hoe Items can till this tile.


When and How to use

Hoeable components should be used on any tile that you would want tilled by a hoe. This component can only be specifically used by Tiles with a Tile#"tileStateKind" equal to "staxel.tileState.Dirt" and therefore tillable.

To create this component you would use the following;

"hoeable": { }

There are no additional properties to the Hoeable binding itself.

Config Options

There are no additional Configuration Options for this component.