Skip to content

Creating a new Vine

jellysnake edited this page Jan 2, 2018 · 1 revision

Vines can be considered a more advanced form of Bushes. They are larger multiblock structures that spawn bushes along their length. As such they consist of three parts, a seed and bush part identical to those listed in the Creating a new Bush page. The only distinction is that the prefab field of the seed should point to a prefab with a VineDefinitionComponent.

Vines

The vine section comprises of a VineDefinitionComponent. This component contains the block to use as the trunk as well as the time it takes for the vine to grow. The bud field should contain a prefab containing the BushDefinitionComponent to use for the buds.
For example, here is the AdditionalFruits:Passionfruit vine prefab.
Image

Clone this wiki locally