From e4ef14ac0217f9b72629907a5b250444296a22e0 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sat, 25 Apr 2015 12:41:36 +0100 Subject: Added new tree schematics --- mapgen_v7n.lua | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'mapgen_v7n.lua') 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", }) -- cgit v1.2.3