Go to file
FaceDeer f621ad23fc Merge pull request #3 from tacotexmex/patch-1
Replace deprecated settings method
2017-06-18 14:29:02 -06:00
locale hook up intllib support 2017-02-04 01:16:26 -07:00
sounds add shear snip sound 2017-02-12 11:27:21 -07:00
textures Vines and ropes have been split into two mods, this is the vines side. 2017-01-31 20:22:26 -07:00
LICENSE.md Documentation update 2015-02-13 01:54:35 +01:00
README.md Much enhanced rope blocks, added rope ladder 2016-06-07 19:53:41 -06:00
aliases.lua Replace nodes on servers that use the older vines 2015-02-16 20:46:24 +01:00
bower.json minetest bower.json package support 2015-08-09 15:32:43 +02:00
depends.txt add mobs and creatures as optional dependencies to ensure this mod can account for them properly 2017-02-12 00:28:01 -07:00
doc.lua hook up intllib support 2017-02-04 01:16:26 -07:00
functions.lua Shrink the selection box for plantlike vines to make it easier to mine while climbing them 2017-02-11 22:26:54 -07:00
init.lua hook up intllib support 2017-02-04 01:16:26 -07:00
intllib.lua hook up intllib support 2017-02-04 01:16:26 -07:00
mod.conf add a mod.conf 2017-01-31 19:47:23 -07:00
shear.lua Replace deprecated settings method 2017-06-18 21:18:27 +02:00
vines.lua Shrink the selection box for plantlike vines to make it easier to mine while climbing them 2017-02-11 22:26:54 -07:00

README.md

Vines

Features

  • Rope blocks for spawning rope that slowly drops into the deep.
  • Rope ladder that similarly descends into the deep.
  • Vines are climbable and slowly grow downward.
  • Shears that allow the collecting of vines and the trimming of ropes
  • Spawns vines on jungletree leaves.
  • Roots on the bottom of dirt and dirt with grass nodes.
  • Spawns vines on trees located in swampy area.
  • Jungle vines that spawn on the side of jungletrees

API

The API is very minimal. It allows the registering of vines and the spawning of existing vines on nodes of your own.

If you want vines to spawn on a certain node then you can choose which vine by adding to the node groups the unique group of that vine. This is determined by the name of the vine ( see vines.lua ) appended with '_vines'. An example would be.

"willow_vines" or "jungle_vines"

There are two types of vines. One that spawns at the bottom of nodes and uses the plantlike drawtype, and vines that spawn on the side that use signlike drawtype. The type is determined by the spawn_on_side property in the biome table.

Example

taken from mod


  vines.register_vine( name, definitions, biome )

  --e.g.

  vines.register_vine( 'vine', {
    description = "Vines",
    average_length = 9
  }, biome )

definitions

key type description
description string The vine's tooltip description
average_length int The average length of vines

For biome definitions please see the plants_lib API documentation

Notice

Vines use after_destruct on registered leave nodes to remove vines from which the leaves are removed. This is done by using the override function. Malfunctions may occur if other mods override the after_destruct of these nodes also.