summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-08-09 10:13:33 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-08-09 10:34:53 -0400
commit10ce68961fa6cb810340b7fb6da3ced2250e606c (patch)
treee7f19c09d40f9f6c0c4873f8bbd82e75bea5ccc1
parentba170ee66ef0d969f2579fc9aaf374b846041e2e (diff)
update to match the renaming of plants_lib --> biome_lib
-rw-r--r--README.md2
-rw-r--r--default_settings.txt2
-rw-r--r--depends.txt2
-rw-r--r--init.lua28
-rw-r--r--saplings.lua22
5 files changed, 28 insertions, 28 deletions
diff --git a/README.md b/README.md
index 8e5758b..905cefa 100644
--- a/README.md
+++ b/README.md
@@ -8,4 +8,4 @@ jungle trees mod, and big contributions by RealBadAngel.
Brought together into one mod and made L-systems compatible by Vanessa
Ezekowitz.
-Dependencies: <a href="https://github.com/VanessaE/plantlife">plants_lib</a> and default
+Dependencies: <a href="https://forum.minetest.net/viewtopic.php?f=11&t=12999">biome_lib</a> and default
diff --git a/default_settings.txt b/default_settings.txt
index 29c9d24..f3843de 100644
--- a/default_settings.txt
+++ b/default_settings.txt
@@ -18,7 +18,7 @@ moretrees.enable_beech = false
-- set this to true to make moretrees spawn saplings at mapgen time instead
-- of fully-grown trees, which will grow into full trees very quickly. With
--- older versions of plants_lib, doing this will reduce mapgen lag.
+-- older versions of biome_lib, doing this will reduce mapgen lag.
moretrees.spawn_saplings = false
diff --git a/depends.txt b/depends.txt
index 3e8cf2d..c666762 100644
--- a/depends.txt
+++ b/depends.txt
@@ -1,5 +1,5 @@
default
-plants_lib
+biome_lib
stairs?
moreblocks?
intllib?
diff --git a/init.lua b/init.lua
index 0ac4562..6bbf133 100644
--- a/init.lua
+++ b/init.lua
@@ -128,57 +128,57 @@ end
if moretrees.enable_beech then
- plantslib:register_generate_plant(moretrees.beech_biome, moretrees.spawn_beech_object)
+ biome_lib:register_generate_plant(moretrees.beech_biome, moretrees.spawn_beech_object)
end
if moretrees.enable_apple_tree then
- plantslib:register_generate_plant(moretrees.apple_tree_biome, moretrees.spawn_apple_tree_object)
+ biome_lib:register_generate_plant(moretrees.apple_tree_biome, moretrees.spawn_apple_tree_object)
end
if moretrees.enable_oak then
- plantslib:register_generate_plant(moretrees.oak_biome, moretrees.spawn_oak_object)
+ biome_lib:register_generate_plant(moretrees.oak_biome, moretrees.spawn_oak_object)
end
if moretrees.enable_sequoia then
- plantslib:register_generate_plant(moretrees.sequoia_biome, moretrees.spawn_sequoia_object)
+ biome_lib:register_generate_plant(moretrees.sequoia_biome, moretrees.spawn_sequoia_object)
end
if moretrees.enable_palm then
- plantslib:register_generate_plant(moretrees.palm_biome, moretrees.spawn_palm_object)
+ biome_lib:register_generate_plant(moretrees.palm_biome, moretrees.spawn_palm_object)
end
if moretrees.enable_pine then
- plantslib:register_generate_plant(moretrees.pine_biome, moretrees.spawn_pine_object)
+ biome_lib:register_generate_plant(moretrees.pine_biome, moretrees.spawn_pine_object)
end
if moretrees.enable_rubber_tree then
- plantslib:register_generate_plant(moretrees.rubber_tree_biome, moretrees.spawn_rubber_tree_object)
+ biome_lib:register_generate_plant(moretrees.rubber_tree_biome, moretrees.spawn_rubber_tree_object)
end
if moretrees.enable_willow then
- plantslib:register_generate_plant(moretrees.willow_biome, moretrees.spawn_willow_object)
+ biome_lib:register_generate_plant(moretrees.willow_biome, moretrees.spawn_willow_object)
end
if moretrees.enable_acacia then
- plantslib:register_generate_plant(moretrees.acacia_biome, moretrees.spawn_acacia_object)
+ biome_lib:register_generate_plant(moretrees.acacia_biome, moretrees.spawn_acacia_object)
end
if moretrees.enable_birch then
- plantslib:register_generate_plant(moretrees.birch_biome, moretrees.spawn_birch_object)
+ biome_lib:register_generate_plant(moretrees.birch_biome, moretrees.spawn_birch_object)
end
if moretrees.enable_spruce then
- plantslib:register_generate_plant(moretrees.spruce_biome, moretrees.spawn_spruce_object)
+ biome_lib:register_generate_plant(moretrees.spruce_biome, moretrees.spawn_spruce_object)
end
if moretrees.enable_jungle_tree then
- plantslib:register_generate_plant(moretrees.jungletree_biome, moretrees.spawn_jungletree_object)
+ biome_lib:register_generate_plant(moretrees.jungletree_biome, moretrees.spawn_jungletree_object)
end
if moretrees.enable_fir then
- plantslib:register_generate_plant(moretrees.fir_biome, moretrees.spawn_fir_object)
+ biome_lib:register_generate_plant(moretrees.fir_biome, moretrees.spawn_fir_object)
if minetest.get_modpath("snow") then
- plantslib:register_generate_plant(moretrees.fir_biome_snow, moretrees.spawn_fir_snow_object)
+ biome_lib:register_generate_plant(moretrees.fir_biome_snow, moretrees.spawn_fir_snow_object)
end
end
diff --git a/saplings.lua b/saplings.lua
index 7d8a9b9..b34db92 100644
--- a/saplings.lua
+++ b/saplings.lua
@@ -7,8 +7,8 @@ for i in ipairs(moretrees.treelist) do
if treename ~= "birch" and treename ~= "spruce" and treename ~= "fir" and treename ~= "jungletree" then
- plantslib:dbg(dump(moretrees[tree_biome].surface))
- plantslib:grow_plants({
+ biome_lib:dbg(dump(moretrees[tree_biome].surface))
+ biome_lib:grow_plants({
grow_delay = moretrees.sapling_interval,
grow_chance = moretrees.sapling_chance,
grow_plant = "moretrees:"..treename.."_sapling",
@@ -16,7 +16,7 @@ for i in ipairs(moretrees.treelist) do
grow_function = moretrees[tree_model],
})
- plantslib:grow_plants({
+ biome_lib:grow_plants({
grow_delay = 2,
grow_chance = 30,
grow_plant = "moretrees:"..treename.."_sapling_ongen",
@@ -27,7 +27,7 @@ for i in ipairs(moretrees.treelist) do
end
end
-plantslib:grow_plants({
+biome_lib:grow_plants({
grow_delay = moretrees.sapling_interval,
grow_chance = moretrees.sapling_chance,
grow_plant = "moretrees:birch_sapling",
@@ -35,7 +35,7 @@ plantslib:grow_plants({
grow_function = "moretrees:grow_birch"
})
-plantslib:grow_plants({
+biome_lib:grow_plants({
grow_delay = 2,
grow_chance = 30,
grow_plant = "moretrees:birch_sapling_ongen",
@@ -43,7 +43,7 @@ plantslib:grow_plants({
grow_function = "moretrees:grow_birch"
})
-plantslib:grow_plants({
+biome_lib:grow_plants({
grow_delay = moretrees.sapling_interval,
grow_chance = moretrees.sapling_chance,
grow_plant = "moretrees:spruce_sapling",
@@ -51,7 +51,7 @@ plantslib:grow_plants({
grow_function = "moretrees:grow_spruce"
})
-plantslib:grow_plants({
+biome_lib:grow_plants({
grow_delay = 2,
grow_chance = 30,
grow_plant = "moretrees:spruce_sapling_ongen",
@@ -59,7 +59,7 @@ plantslib:grow_plants({
grow_function = "moretrees:grow_spruce"
})
-plantslib:grow_plants({
+biome_lib:grow_plants({
grow_delay = moretrees.sapling_interval,
grow_chance = moretrees.sapling_chance,
grow_plant = "moretrees:fir_sapling",
@@ -67,7 +67,7 @@ plantslib:grow_plants({
grow_function = "moretrees:grow_fir"
})
-plantslib:grow_plants({
+biome_lib:grow_plants({
grow_delay = 2,
grow_chance = 30,
grow_plant = "moretrees:fir_sapling_ongen",
@@ -75,7 +75,7 @@ plantslib:grow_plants({
grow_function = "moretrees:grow_fir"
})
-plantslib:grow_plants({
+biome_lib:grow_plants({
grow_delay = moretrees.sapling_interval,
grow_chance = moretrees.sapling_chance,
grow_plant = "moretrees:jungletree_sapling",
@@ -83,7 +83,7 @@ plantslib:grow_plants({
grow_function = "moretrees:grow_jungletree"
})
-plantslib:grow_plants({
+biome_lib:grow_plants({
grow_delay = 2,
grow_chance = 30,
grow_plant = "moretrees:jungletree_sapling_ongen",