1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-06-28 14:16:11 +02:00

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,4 +1,4 @@
local S = plantslib.intllib
local S = biome_lib.intllib
-- Basket

View File

@ -1,3 +1,3 @@
plants_lib
biome_lib
farming?
farming_plus?

View File

@ -3,7 +3,7 @@
--
-- License: WTFPL
local S = plantslib.intllib
local S = biome_lib.intllib
bushes_classic = {}
@ -30,7 +30,7 @@ bushes_classic.spawn_list = {}
dofile(minetest.get_modpath('bushes_classic') .. '/cooking.lua')
dofile(minetest.get_modpath('bushes_classic') .. '/nodes.lua')
plantslib:spawn_on_surfaces({
biome_lib:spawn_on_surfaces({
spawn_delay = 3600,
spawn_plants = bushes_classic.spawn_list,
avoid_radius = 10,

View File

@ -1,4 +1,4 @@
local S = plantslib.intllib
local S = biome_lib.intllib
plantlife_bushes = {}
@ -118,7 +118,7 @@ plantlife_bushes.after_place_node = function(pos, placer, itemstack)
meta:set_string("bush_type", name_parts[1])
end
-- regrow berries (uses a base abm instead of plants_lib because of the use of metadata).
-- regrow berries (uses a base abm instead of biome_lib because of the use of metadata).
minetest.register_abm({
nodenames = {"bushes:fruitless_bush"},