summaryrefslogtreecommitdiff
path: root/mapgen_v7n.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-04-25 12:41:36 +0100
committertenplus1 <kinsellaja@yahoo.com>2015-04-25 12:41:36 +0100
commite4ef14ac0217f9b72629907a5b250444296a22e0 (patch)
tree40abe3f7175b8db3cfc517a05fc2cf598a44bff3 /mapgen_v7n.lua
parentce55eacc47b06043283fcdcd012a363b1368d5f6 (diff)
Added new tree schematics
Diffstat (limited to 'mapgen_v7n.lua')
-rw-r--r--mapgen_v7n.lua13
1 files changed, 9 insertions, 4 deletions
diff --git a/mapgen_v7n.lua b/mapgen_v7n.lua
index c8afcd4..a0dc763 100644
--- a/mapgen_v7n.lua
+++ b/mapgen_v7n.lua
@@ -2,6 +2,11 @@
minetest.clear_registered_biomes()
minetest.clear_registered_decorations()
+-- tree schematics
+dofile(minetest.get_modpath("ethereal").."/schematics/apple_tree.lua")
+dofile(minetest.get_modpath("ethereal").."/schematics/orange_tree.lua")
+dofile(minetest.get_modpath("ethereal").."/schematics/banana_tree.lua")
+
-- Biomes (for 0.4.12 with new changes from Paramat)
if ethereal.icewater == 1 then
minetest.register_biome({
@@ -351,7 +356,7 @@ minetest.register_decoration({
sidelen = 80,
fill_ratio = 0.015,
biomes = {"grove"},
- schematic = path.."bananatree.mts",
+ schematic = ethereal.bananatree,
flags = "place_center_x, place_center_z",
})
@@ -451,7 +456,7 @@ minetest.register_decoration({
sidelen = 80,
fill_ratio = 0.03,
biomes = {"grassy", "jumble"},
- schematic = path.."tree.mts",
+ schematic = ethereal.appletree,
flags = "place_center_x, place_center_z",
})
@@ -461,7 +466,7 @@ minetest.register_decoration({
sidelen = 80,
fill_ratio = 0.005,
biomes = {"grassytwo"},
- schematic = path.."tree.mts",
+ schematic = ethereal.appletree,
flags = "place_center_x, place_center_z",
})
@@ -472,7 +477,7 @@ minetest.register_decoration({
sidelen = 80,
fill_ratio = 0.005,
biomes = {"prairie"},
- schematic = path.."orangetree.mts",
+ schematic = ethereal.orangetree,
flags = "place_center_x, place_center_z",
})