dreambuilder_game/mods/vines
VanessaE 4394beec6a Convert the modpack into a standalone game for the Minetest engine
Integrated into the game is most of minetest_game as the stable base
2021-02-24 22:05:32 -05:00
..
locale Convert the modpack into a standalone game for the Minetest engine 2021-02-24 22:05:32 -05:00
textures Convert the modpack into a standalone game for the Minetest engine 2021-02-24 22:05:32 -05:00
README.md Convert the modpack into a standalone game for the Minetest engine 2021-02-24 22:05:32 -05:00
init.lua Convert the modpack into a standalone game for the Minetest engine 2021-02-24 22:05:32 -05:00
mod.conf Convert the modpack into a standalone game for the Minetest engine 2021-02-24 22:05:32 -05:00
screenshot.png Convert the modpack into a standalone game for the Minetest engine 2021-02-24 22:05:32 -05:00

README.md

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