summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorRogier <rogier777@gmail.com>2016-05-18 16:54:45 +0200
committerRogier <rogier777@gmail.com>2016-05-18 16:54:45 +0200
commitcd9926f9e53a2532296ff7019287559c3e7ea1ea (patch)
treee35abb4eadea39a7c24f1ba7b64c55eef4d67f99 /init.lua
parentee5bc1dfb3eb8a7cd18dd78c43bdb378878ba618 (diff)
Restore previous pine as cedar
Commit ad0cbbc0f disabled the previous moretrees pine, and aliased it to the default minetest pine. The default pine is a completely different tree though, with different apppearance and different textures. This commit restores the previous pine tree, renaming it to cedar to avoid a tree name clash with the default game. Any existing moretrees pine trees will be converted to cedar, so that their appearance does not change. Moretrees pine trees that have already been converted to the default pine tree are not converted back.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index d2c5128..843958b 100644
--- a/init.lua
+++ b/init.lua
@@ -85,7 +85,7 @@ if moretrees.spawn_saplings then
moretrees.spawn_oak_object = "moretrees:oak_sapling_ongen"
moretrees.spawn_sequoia_object = "moretrees:sequoia_sapling_ongen"
moretrees.spawn_palm_object = "moretrees:palm_sapling_ongen"
- moretrees.spawn_pine_object = "moretrees:pine_sapling_ongen"
+ moretrees.spawn_cedar_object = "moretrees:cedar_sapling_ongen"
moretrees.spawn_rubber_tree_object = "moretrees:rubber_tree_sapling_ongen"
moretrees.spawn_willow_object = "moretrees:willow_sapling_ongen"
moretrees.spawn_acacia_object = "moretrees:acacia_sapling_ongen"
@@ -100,7 +100,7 @@ else
moretrees.spawn_oak_object = moretrees.oak_model
moretrees.spawn_sequoia_object = moretrees.sequoia_model
moretrees.spawn_palm_object = moretrees.palm_model
- moretrees.spawn_pine_object = moretrees.pine_model
+ moretrees.spawn_cedar_object = moretrees.cedar_model
moretrees.spawn_rubber_tree_object = moretrees.rubber_tree_model
moretrees.spawn_willow_object = moretrees.willow_model
moretrees.spawn_acacia_object = moretrees.acacia_model
@@ -131,8 +131,8 @@ if moretrees.enable_palm then
biome_lib:register_generate_plant(moretrees.palm_biome, moretrees.spawn_palm_object)
end
-if moretrees.enable_pine then
- biome_lib:register_generate_plant(moretrees.pine_biome, moretrees.spawn_pine_object)
+if moretrees.enable_cedar then
+ biome_lib:register_generate_plant(moretrees.cedar_biome, moretrees.spawn_cedar_object)
end
if moretrees.enable_rubber_tree then