diff options
author | Rogier <rogier777@gmail.com> | 2016-05-18 22:54:19 +0200 |
---|---|---|
committer | Rogier <rogier777@gmail.com> | 2016-06-27 23:23:54 +0200 |
commit | afab0692df2d99c36473568602d1cc4059aa2e65 (patch) | |
tree | 0da1e864c4dfad53e4f43dbe375cc342f51428c7 /biome_defs.lua | |
parent | 9ced339ce5cbdc48a7d9417786585f6f9c968ce1 (diff) |
Add date palm
Spawns in hot and dry desert, but requires water. This makes it a bit harder to
find, but where found, it can be more abundant.
If found in the middle of a desert, its presence indicates a water source below
the surface.
As an additional optional feature, dates (slowly) grow back after harvesting.
Diffstat (limited to 'biome_defs.lua')
-rw-r--r-- | biome_defs.lua | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/biome_defs.lua b/biome_defs.lua index 48efee0..46228f5 100644 --- a/biome_defs.lua +++ b/biome_defs.lua @@ -24,6 +24,40 @@ moretrees.palm_biome = { max_count = 10, } +moretrees.date_palm_biome = { + surface = "default:desert_sand", + avoid_nodes = moretrees.avoidnodes, + avoid_radius = 10, + seed_diff = 339, + min_elevation = -1, + max_elevation = 10, + near_nodes = {"default:water_source"}, + near_nodes_size = 20, + near_nodes_count = 100, + near_nodes_vertical = 20, + temp_min = -0.20, + humidity_max = 0.20, + rarity = 10, + max_count = 30, +} + +moretrees.date_palm_biome_2 = { + surface = "default:desert_sand", + avoid_nodes = moretrees.avoidnodes, + avoid_radius = 10, + seed_diff = 340, + min_elevation = 11, + max_elevation = 30, + near_nodes = {"default:water_source"}, + near_nodes_size = 1, + near_nodes_count = 1, + near_nodes_vertical = 30, + temp_min = -0.20, + humidity_max = 0.20, + rarity = 10, + max_count = 30, +} + moretrees.apple_tree_biome = { surface = "default:dirt_with_grass", avoid_nodes = moretrees.avoidnodes, |