1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-21 17:20:31 +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

@ -3,9 +3,9 @@
-----------------------------------------------------------------------------------------------
-- by Mossmanikin
-- License (everything): WTFPL
-- Contains code from: plants_lib
-- Contains code from: biome_lib
-- Looked at code from: default, flowers, trees
-- Dependencies: plants_lib
-- Dependencies: biome_lib
-- Supports: dryplants, stoneage, sumpf
-----------------------------------------------------------------------------------------------
@ -74,7 +74,7 @@ create_nodes()
-- Spawning
-----------------------------------------------------------------------------------------------
if abstract_ferns.config.enable_horsetails_spawning == true then
plantslib:spawn_on_surfaces({
biome_lib:spawn_on_surfaces({
spawn_delay = 1200,
spawn_plants = node_names,
spawn_chance = 400,
@ -102,7 +102,7 @@ end
-----------------------------------------------------------------------------------------------
if abstract_ferns.config.enable_horsetails_on_grass == true then
plantslib:register_generate_plant({
biome_lib:register_generate_plant({
surface = {
"default:dirt_with_grass",
"sumpf:sumpf"
@ -134,7 +134,7 @@ if abstract_ferns.config.enable_horsetails_on_grass == true then
end
if abstract_ferns.config.enable_horsetails_on_stones == true then
plantslib:register_generate_plant({
biome_lib:register_generate_plant({
surface = {
"default:gravel", -- roots go deep
"default:mossycobble",