forked from mtcontrib/plantlife_modpack
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:
@ -1,2 +1,2 @@
|
||||
plants_lib
|
||||
biome_lib
|
||||
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user