diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-12 12:05:53 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-12 12:05:53 +0000 |
commit | 85256ab9b65ab131569d7a5c92eea6f406f99004 (patch) | |
tree | 0bc04fde9010510aec31988853b5262c87700133 | |
parent | 4add54dbd24c820ad2da6b658044186b2818da3e (diff) |
mesa biome has dry dirt top, replaced green_dirt with dirt_with_grass
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | dirt.lua | 5 | ||||
-rw-r--r-- | mapgen.lua | 8 | ||||
-rw-r--r-- | sapling.lua | 3 |
4 files changed, 18 insertions, 6 deletions
@@ -10,6 +10,13 @@ Ethereal Mapgen mod for Minetest (works on all except v6) ## Changelog +### 1.22 + + - Added coral and silver sand to mapgen (0.4.15 only) + - Replaced ethereal:green_dirt with default:dirt_with_grass for mortrees compatibility + - Mesa biomes are now topped with dirt with dry grass (redwood saplings grow on dry grass) + - Added bonemeal support for moretree's saplings + ### 1.21 - Saplings need clear space above to grow (depending on height of tree) @@ -18,7 +25,6 @@ Ethereal Mapgen mod for Minetest (works on all except v6) - Added default Abm overrides - Added 4 new plants from baked clay mod to mapgen - Added swamp biome to outskirts of bamboo areas - - Added coral and silver sand to mapgen (0.4.15 only) ### 1.20 @@ -4,7 +4,7 @@ local S = ethereal.intllib -- override default dirt (to stop caves cutting away dirt) minetest.override_item("default:dirt", {is_ground_content = ethereal.cavedirt}) --- green dirt +--[[ green dirt minetest.register_node("ethereal:green_dirt", { description = S("Green Dirt"), tiles = { @@ -23,7 +23,8 @@ minetest.register_node("ethereal:green_dirt", { sounds = default.node_sound_dirt_defaults({ footstep = {name = "default_grass_footstep", gain = 0.25}, }), -}) +})]] +minetest.register_alias("ethereal:green_dirt", "default:dirt_with_grass") -- dry dirt minetest.register_node("ethereal:dry_dirt", { @@ -106,7 +106,8 @@ add_biome("bamboo", nil, "ethereal:bamboo_dirt", 1, "default:dirt", 3, add_biome("bamboo_ocean", nil, "default:sand", 1, "default:sand", 2,
nil, nil, nil, nil, nil, -192, 2, 45, 75, ethereal.bamboo)
-add_biome("mesa", nil, "bakedclay:orange", 1, "bakedclay:orange", 15,
+--add_biome("mesa", nil, "bakedclay:orange", 1, "bakedclay:orange", 15,
+add_biome("mesa", nil, "default:dirt_with_dry_grass", 1, "bakedclay:orange", 15,
nil, nil, nil, nil, nil, 1, 71, 25, 28, ethereal.mesa)
add_biome("mesa_ocean", nil, "default:sand", 1, "default:sand", 2,
@@ -236,7 +237,8 @@ local add_schem = function(a, b, c, d, e, f, g) end
-- redwood tree
-add_schem({"bakedclay:orange"}, 0.0025, {"mesa"}, 1, 100, path .. "redwood.mts", ethereal.mesa)
+--add_schem({"bakedclay:orange"}, 0.0025, {"mesa"}, 1, 100, path .. "redwood.mts", ethereal.mesa)
+add_schem({"default:dirt_with_dry_grass"}, 0.0025, {"mesa"}, 1, 100, path .. "redwood.mts", ethereal.mesa)
-- banana tree
add_schem({"ethereal:grove_dirt"}, 0.015, {"grove"}, 1, 100, ethereal.bananatree, ethereal.grove)
@@ -360,6 +362,8 @@ add_node({"bakedclay:red", "bakedclay:orange"}, 0.015, {"mesa"}, 1, 100, {"defau -- dry grass
add_node({"default:dirt_with_dry_grass"}, 0.25, {"savannah"}, 1, 100, {"default:dry_grass_2",
"default:dry_grass_3", "default:dry_grass_4", "default:dry_grass_5"}, nil, nil, nil, ethereal.savannah)
+add_node({"default:dirt_with_dry_grass"}, 0.10, {"mesa"}, 1, 100, {"default:dry_grass_2",
+ "default:dry_grass_3", "default:dry_grass_4", "default:dry_grass_5"}, nil, nil, nil, ethereal.mesa)
-- flowers & strawberry
add_node({"ethereal:green_dirt"}, 0.025, {"grassy"}, 1, 100, {"flowers:dandelion_white",
diff --git a/sapling.lua b/sapling.lua index c5ee62f..293081b 100644 --- a/sapling.lua +++ b/sapling.lua @@ -189,7 +189,8 @@ ethereal.grow_sapling = function (pos, node) ethereal.grow_willow_tree(pos) elseif node.name == "ethereal:redwood_sapling" - and under == "bakedclay:red" then + --and under == "bakedclay:red" then + and under == "default:dirt_with_dry_grass" then ethereal.grow_redwood_tree(pos) elseif node.name == "ethereal:orange_tree_sapling" |