Inspection Tool Items

From wiki
Revision as of 02:29, 13 July 2017 by DeamonHunter (Talk | contribs) (Initial commit.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 Inspection Tool (e.g. Magnifying Glasses).

Inspectors are all items that have the following line;

"kind": "staxel.item.InspectionTool",

Inspectors, 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 Inspector. This item reacts to tiles and entities and print out some relevant information about that tile or entity.

Creating a Inspection Item

Inspectors 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.InspectionTool".


Spawning in a Inspection Item

Follow the guide at Craft Items#Spawning in a Craft Item. When that guide mentions "kind", make sure to use "staxel.item.InspectionTool" 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 Craft Items#Config Options.