Difference between revisions of "Whistle Items"
DeamonHunter (Talk | contribs) (Initial commit.) |
DeamonHunter (Talk | contribs) m (Formatting) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
</pre> | </pre> | ||
− | Whistles, currently, do not have any extra components | + | This item mainly interacts with [[Pets]]. Its usually changes the behaviour of the pets but does not do much outside of that. |
+ | |||
+ | Whistles, currently, do not have any extra components to function. | ||
= Creating a Whistle Item = | = Creating a Whistle Item = | ||
− | Whistles are created in the exact same way as [[Craft Items]]. In fact you should follow the guide, [[ | + | Whistles 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.Whistle". |
= Spawning in a Whistle Item = | = Spawning in a Whistle 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.Whistle" 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 04:56, 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 Whistle.
Whistles are all items that have the following line;
"kind": "staxel.item.Whistle",
This item mainly interacts with Pets. Its usually changes the behaviour of the pets but does not do much outside of that.
Whistles, currently, do not have any extra components to function.
Creating a Whistle Item
Whistles 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.Whistle".
Spawning in a Whistle Item
Follow the guide at Items#How to Spawn an 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 Items#Config Options.