Difference between revisions of "Scytheable Component"

From wiki
Jump to: navigation, search
(Initial commit.)
(No difference)

Revision as of 23:18, 18 July 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 Scytheable component, signified by the following;

"scytheable": { }

Scytheable components are the compliment to Scythe Items. They are used on Tiles specifically, and are used to specify that Scythe Items can break this tile.


When and How to use

Scytheable components should be used on any tile that you would want broken by an scythe. In most cases, this will be plants such as long grass.

To create this component you would use the following;

"scythable": { }

It has an additional property, "spawnsMixedSeeds", will spawn in Mixed Seeds. This property is a bool. Otherwise there are no additional properties. If you want to spawn the tile for the player you will need to use Spawn On Break Component to specify that.

Config Options

If you want the specific tile broken to spawn when it is broken however, check out Spawn On Break Component.

"spawnsMixedSeeds"

Valid options (Bool): True or False.

Default Value: False.


This will specify whether or not this will spawned mixed seeds.