Ropes mod for Minetest
Go to file
bas080 46c891d4d6 README Update
- Link to plants_lib API for explaining the biome argument

- Minor changes to the example.
2015-02-13 02:10:35 +01:00
textures API Update + new vine 2015-02-13 01:48:47 +01:00
crafts.lua Complete rewrite 2015-02-10 07:15:16 +01:00
depends.txt API Update + new vine 2015-02-13 01:48:47 +01:00
functions.lua API Update + new vine 2015-02-13 01:48:47 +01:00
init.lua Complete rewrite 2015-02-10 07:15:16 +01:00
LICENSE.md Documentation update 2015-02-13 01:54:35 +01:00
nodes.lua Complete rewrite 2015-02-10 07:15:16 +01:00
README.md README Update 2015-02-13 02:10:35 +01:00
readme.txt Added requests and added default texture 2013-05-01 14:22:23 +02:00
recipes.lua Complete rewrite 2015-02-10 07:15:16 +01:00
shear.lua Complete rewrite 2015-02-10 07:15:16 +01:00
vines.lua API Update + new vine 2015-02-13 01:48:47 +01:00

Vines

Features

  • Rope block for spawning rope that slowly drops into the deep.
  • Vines are climbable and slowly grow downward.
  • Shears that allow the collecting of vines.
  • 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.

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.

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.