split plants_lib off into its own repository

renamed it to biome_lib
changed all relevant functions, tables, depends.txt, etc. in this modpack to call for the new name.
This commit is contained in:
Vanessa Ezekowitz
2015-08-09 10:11:30 -04:00
parent 273ad9d1da
commit 42732b0636
41 changed files with 85 additions and 1422 deletions

View File

@ -1,2 +1,2 @@
plants_lib
biome_lib

View File

@ -1,7 +1,7 @@
-- This file supplies poison ivy for the plantlife modpack
-- Last revision: 2013-01-24
local S = plantslib.intllib
local S = biome_lib.intllib
local SPAWN_DELAY = 1000
local SPAWN_CHANCE = 200
@ -69,7 +69,7 @@ minetest.register_node('poisonivy:climbing', {
buildable_to = true,
})
plantslib:spawn_on_surfaces({
biome_lib:spawn_on_surfaces({
spawn_delay = SPAWN_DELAY,
spawn_plants = {"poisonivy:seedling"},
avoid_radius = 10,
@ -82,7 +82,7 @@ plantslib:spawn_on_surfaces({
verticals_list = walls_list
})
plantslib:grow_plants({
biome_lib:grow_plants({
grow_delay = SPAWN_DELAY,
grow_chance = GROW_CHANCE,
grow_plant = "poisonivy:seedling",
@ -90,7 +90,7 @@ plantslib:grow_plants({
grow_nodes = {"default:dirt_with_grass"}
})
plantslib:grow_plants({
biome_lib:grow_plants({
grow_delay = GROW_DELAY,
grow_chance = GROW_CHANCE*2,
grow_plant = "poisonivy:climbing",