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,5 +1,5 @@
|
||||
default
|
||||
plants_lib
|
||||
biome_lib
|
||||
bushes?
|
||||
ferns?
|
||||
moretrees?
|
||||
|
@ -162,7 +162,7 @@ abstract_trunks.place_twig = function(pos)
|
||||
end
|
||||
|
||||
if Twigs_on_ground == true then
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"default:dirt_with_grass"},
|
||||
max_count = Twigs_on_ground_Max_Count,
|
||||
rarity = Twigs_on_ground_Rarity,
|
||||
@ -179,7 +179,7 @@ plantslib:register_generate_plant({
|
||||
end
|
||||
|
||||
if Twigs_on_water == true then
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"default:water_source"},
|
||||
max_count = Twigs_on_water_Max_Count,
|
||||
rarity = Twigs_on_water_Rarity,
|
||||
@ -341,7 +341,7 @@ abstract_trunks.place_trunk = function(pos)
|
||||
end
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"default:dirt_with_grass"},
|
||||
max_count = Trunks_Max_Count, -- 320,
|
||||
rarity = Trunks_Rarity, -- 99,
|
||||
@ -374,7 +374,7 @@ abstract_trunks.grow_moss_on_ground = function(pos)
|
||||
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"default:dirt_with_grass"},
|
||||
max_count = Moss_on_ground_Max_Count,
|
||||
rarity = Moss_on_ground_Rarity,
|
||||
@ -458,7 +458,7 @@ abstract_trunks.grow_moss_on_trunk = function(pos)
|
||||
--end
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {
|
||||
"default:tree",
|
||||
"default:jungletree",
|
||||
@ -535,7 +535,7 @@ abstract_trunks.grow_roots = function(pos)
|
||||
end
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"group:tree"},
|
||||
max_count = 1000,
|
||||
rarity = 1,
|
||||
|
Reference in New Issue
Block a user