1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-13 22:00:39 +01:00
plantlife_modpack/vines
2021-12-04 18:53:39 +00:00
..
locale Remove translations in minetest.log output 2020-02-15 14:32:06 +00:00
textures Vines update 2015-02-17 01:31:36 -05:00
init.lua Cutting vines with shears now gives the player the vine ends, so they can make their own vine farm 2021-12-04 18:53:39 +00:00
mod.conf Remove translations in minetest.log output 2020-02-15 14:32:06 +00:00
README.md switch to Tenplus1's fork of vines 2018-10-25 11:49:01 -04:00
screenshot.png update vines mod from upstream 2017-05-18 05:47:41 -04:00
settingtypes.txt Settings to disable any type of vine and vine rope. Settings to adjust rarity of vines. 2021-12-04 17:55:49 +00:00

Vines Mod by Bas80 (Edited by TenPlus1)

License: MIT for code, CC for textures

Features

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