Difference between revisions of "Placers(Tile Items)"
DeamonHunter (Talk | contribs) (Initial commit.) |
DeamonHunter (Talk | contribs) (Update Page.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
</pre> | </pre> | ||
− | + | Item Placers are what is used to place [[Tile|Tiles]] in the world. All [[Tile|Tiles]] have an associated Tile placer. | |
= Creating a Placer = | = Creating a Placer = | ||
− | Unlike [[Craft Items]], | + | Unlike [[Craft Items]], Placer Items are automatically generated from [[Tile|Tiles]]. You cannot make the item yourself. (i.e. Create an "*.item" file for tile items.) As such you will have to rely on [[Tile|Tile files]] to create Placer Items. |
Line 22: | Line 22: | ||
} | } | ||
</pre> | </pre> | ||
− | |||
− | |||
+ | All 2 properties must be included and cannot be blank (i.e. It must have something inside of the quotes ""). The "kind" property has to be "staxel.item.Placer" for the game to recognise it is an item to place tiles. The "tile" is the code of the [[Tile]] in which you want to spawn. | ||
− | + | Example Input: <code>{"kind": "staxel.item.Placer", "tile": "staxel.tileObject.airship.RopeFenceCorner"}</code> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 06:11, 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 can be placed, Placers.
Placers are all items that have the following line;
"kind": "staxel.item.Placer",
Item Placers are what is used to place Tiles in the world. All Tiles have an associated Tile placer.
Creating a Placer
Unlike Craft Items, Placer Items are automatically generated from Tiles. You cannot make the item yourself. (i.e. Create an "*.item" file for tile items.) As such you will have to rely on Tile files to create Placer Items.
Spawning in a Placer
As it is not possible to create a proper Placer item, you can create a clothing item using the following;
{ "kind": "staxel.item.Placer", "tile": "your.tile.here" }
All 2 properties must be included and cannot be blank (i.e. It must have something inside of the quotes ""). The "kind" property has to be "staxel.item.Placer" for the game to recognise it is an item to place tiles. The "tile" is the code of the Tile in which you want to spawn.
Example Input: {"kind": "staxel.item.Placer", "tile": "staxel.tileObject.airship.RopeFenceCorner"}