Swimmable Component

From wiki
Revision as of 05:39, 1 August 2017 by DeamonHunter (Talk | contribs) (When and How to use: Spelling error)

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

Category:Component Modding are all optional properties that can be added to any file. Components are useful in extending the original files with even more information, such as the cost of the item or whether the block can be broken by a weapon.

On this page, we go over the Swimmable component, signified by the following;

"swimmable": {}

Swimmable components are used to specify that the tile is available for swimming. That is, it will allow the player to swim through this tile.


When and How to use

Swimmable components should be used whenever you want a Tile to be swimmable. Just add the following to the file, and then it'll be available for swimming.

"swimmable": {}

This component does not have any extra properties, so this is complete.

Config Options

This component has no extra properties. Just add the component when necessary and all will work.