Difference between revisions of "Axe Items"

From wiki
Jump to: navigation, search
(Initial commit. Copy past and slight edit from shovels.)
 
(Update Page.)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
[[Items]] are fairly broad in their types. Each [[:Category:Item Modding|type]] has it's own properties and uses.  
 
[[Items]] are fairly broad in their types. Each [[:Category:Item Modding|type]] has it's own properties and uses.  
  
This page is for items that will act as if they were a axe.
+
This page is for items that will act as if they were a Axe.
  
 
Axes are all items that have the following line;
 
Axes are all items that have the following line;
Line 9: Line 9:
 
</pre>
 
</pre>
  
Axes, currently, do not have any extra components when compared to [[Craft Items]], but will activate the ability to use the item as if it was a axe. This item reacts to tiles (i.e. break them) that have the [[Axeable Component]] in their specifications.
+
This item will break to [[Tile|Tiles]] that have the [[Axeable Component]] in their specifications.
 +
 
 +
Axes, currently, do not have any extra components.
  
  
 
= Creating a Axe Item =
 
= Creating a Axe Item =
Axes are created in the exact same way as [[Craft Items]]. In fact you should follow the guide, [[Craft Items#Creating a Craft Item]], just replace the "kind" property with "staxel.item.Axe".
+
Axes 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.Axe".
  
  
 
= Spawning in a Axe Item =
 
= Spawning in a Axe Item =
Follow the guide at [[Craft Items#Spawning in a Craft Item]]. When that guide mentions "kind", make sure to use "staxel.item.Axe" instead of "staxel.item.CraftItem" else you won't be able to spawn the item.
+
Follow the guide at [[Items#How to Spawn an Item]]. When that guide mentions "kind", make sure to use "staxel.item.Axe" 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 [[Craft Items#Config Options]].
+
The list of basic properties is included at [[Items#Config Options]].

Latest revision as of 05:07, 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 Axe.

Axes are all items that have the following line;

"kind": "staxel.item.Axe",

This item will break to Tiles that have the Axeable Component in their specifications.

Axes, currently, do not have any extra components.


Creating a Axe Item

Axes 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.Axe".


Spawning in a Axe Item

Follow the guide at Items#How to Spawn an Item. When that guide mentions "kind", make sure to use "staxel.item.Axe" 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.