Difference between revisions of "Hoe Items"
DeamonHunter (Talk | contribs) (Initial commit.) |
DeamonHunter (Talk | contribs) (Update Page.) |
||
Line 9: | Line 9: | ||
</pre> | </pre> | ||
− | + | This item will hoe [[Tile|Tiles]] that have the [[Tile#"tileStateKind"]] equal to "staxel.tileState.Dirt" or similar. | |
+ | |||
+ | Hoes, currently, do not have any extra components. | ||
= Creating a Hoe Item = | = Creating a Hoe Item = | ||
− | Hoes are created in the exact same way as [[Craft Items]]. In fact you should follow the guide, [[ | + | Hoes are created in the exact same way as [[Craft Items]]. In fact you should follow the guide, [[Items#How to Make a Normal Item]], just replace the "kind" property with "staxel.item.Hoe". |
= Spawning in a Hoe Item = | = Spawning in a Hoe Item = | ||
− | Follow the guide at [[ | + | Follow the guide at [[Items#How to Spawn an Item]]. When that guide mentions "kind", make sure to use "staxel.item.Hoe" instead of "staxel.item.CraftItem" else you won't be able to spawn the item. |
= Config Options = | = Config Options = | ||
− | The list of basic properties is included at [[ | + | The list of basic properties is included at [[Items#Config Options]]. |
Latest revision as of 06:01, 12 December 2017
Items are fairly broad in their types. Each type has it's own properties and uses.
This page is for items that will act as if they were a Hoe.
Hoes are all items that have the following line;
"kind": "staxel.item.Hoe",
This item will hoe Tiles that have the Tile#"tileStateKind" equal to "staxel.tileState.Dirt" or similar.
Hoes, currently, do not have any extra components.
Creating a Hoe Item
Hoes are created in the exact same way as Craft Items. In fact you should follow the guide, Items#How to Make a Normal Item, just replace the "kind" property with "staxel.item.Hoe".
Spawning in a Hoe Item
Follow the guide at Items#How to Spawn an Item. When that guide mentions "kind", make sure to use "staxel.item.Hoe" instead of "staxel.item.CraftItem" else you won't be able to spawn the item.
Config Options
The list of basic properties is included at Items#Config Options.