Difference between revisions of "Whistle Items"

From wiki
Jump to: navigation, search
(Initial commit.)
(No difference)

Revision as of 03:55, 13 July 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 Whistle.

Whistles are all items that have the following line;

"kind": "staxel.item.Whistle",

Whistles, 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 Whistle. This item mainly interacts with Pets.


Creating a Whistle Item

Whistles 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.Whistle".


Spawning in a Whistle Item

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