Capture Crate Items

From wiki
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 Capture Crate.

Capture Crate are all items that have the following line;

"kind": "staxel.item.CaptureCrate",

This item allows you to capture Farm Animals, which essentially despawns the Farm Animal and gives you another create in which you can spawn the Animal again.

Capture Crates, currently, do not have any extra components.


Creating a Capture Crate Item

Capture Crates 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.CaptureCrate".


Spawning in a Capture Crate Item

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