Difference between revisions of "Swimmable Component"

From wiki
Jump to: navigation, search
(Initial commit.)
 
m (When and How to use: Spelling error)
 
Line 10: Line 10:
  
 
= When and How to use =
 
= 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 avaliable for swimming.
+
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.
 
<pre>
 
<pre>
 
"swimmable": {}
 
"swimmable": {}
 
</pre>
 
</pre>
 
This component does not have any extra properties, so this is complete.
 
This component does not have any extra properties, so this is complete.
 
 
  
 
= Config Options =
 
= Config Options =
 
This component has no extra properties. Just add the component when necessary and all will work.
 
This component has no extra properties. Just add the component when necessary and all will work.

Latest revision as of 05:39, 1 August 2017

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.