summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dirt.lua19
-rw-r--r--init.lua5
-rw-r--r--mapgen_v7n.lua92
-rw-r--r--textures/baked_clay_grey.pngbin0 -> 211 bytes
4 files changed, 92 insertions, 24 deletions
diff --git a/dirt.lua b/dirt.lua
index 8647a9e..3a97931 100644
--- a/dirt.lua
+++ b/dirt.lua
@@ -112,7 +112,7 @@ if not minetest.get_modpath("bakedclay") then
is_ground_content = false,
sounds = default.node_sound_stone_defaults(),
})
-
+
stairs.register_stair_and_slab("bakedclay_red", "bakedclay:red",
{cracky=3, not_in_craft_guide=1},
{"baked_clay_red.png"},
@@ -127,7 +127,7 @@ if not minetest.get_modpath("bakedclay") then
is_ground_content = false,
sounds = default.node_sound_stone_defaults(),
})
-
+
stairs.register_stair_and_slab("bakedclay_orange", "bakedclay:orange",
{cracky=3, not_in_craft_guide=1},
{"baked_clay_orange.png"},
@@ -135,4 +135,19 @@ if not minetest.get_modpath("bakedclay") then
"Baked Clay Orange Slab",
default.node_sound_stone_defaults())
+ minetest.register_node(":bakedclay:grey", {
+ description = "Grey Baked Clay",
+ tiles = {"baked_clay_grey.png"},
+ groups = {cracky = 3},
+ is_ground_content = false,
+ sounds = default.node_sound_stone_defaults(),
+ })
+
+ stairs.register_stair_and_slab("bakedclay_grey", "bakedclay:grey",
+ {cracky=3, not_in_craft_guide=1},
+ {"baked_clay_grey.png"},
+ "Baked Clay Grey Stair",
+ "Baked Clay Grey Slab",
+ default.node_sound_stone_defaults())
+
end \ No newline at end of file
diff --git a/init.lua b/init.lua
index 3859dca..940f9a1 100644
--- a/init.lua
+++ b/init.lua
@@ -1,6 +1,6 @@
--[[
- Minetest Ethereal Mod 1.16 (25th July 2015)
+ Minetest Ethereal Mod 1.16 (27th July 2015)
Created by ChinChow
@@ -12,7 +12,7 @@ ethereal = {}
ethereal.leaftype = 0 -- 0 for 2D plantlike, 1 for 3D allfaces
-- Set following to 1 to enable biome or 0 to disable
-
+ethereal.glacier = 1 -- Huge ice glaciers with snow
ethereal.bamboo = 1 -- Bamboo with sprouts
ethereal.mesa = 1 -- Mesa red and orange clay with giant redwood
ethereal.alpine = 1 -- Snowy grass
@@ -35,7 +35,6 @@ ethereal.lake = 1 -- Small sandy lake areas with gravel below, also used fo
ethereal.plains = 1 -- Dry dirt with scorched trees
ethereal.fiery = 1 -- Red grass with lava craters
ethereal.sandclay = 1 -- Sand areas with clay underneath
-ethereal.icewater = 1 -- Ice surrounding cold coastal areas
dofile(minetest.get_modpath("ethereal").."/plantlife.lua")
dofile(minetest.get_modpath("ethereal").."/mushroom.lua")
diff --git a/mapgen_v7n.lua b/mapgen_v7n.lua
index afd425d..306efca 100644
--- a/mapgen_v7n.lua
+++ b/mapgen_v7n.lua
@@ -11,20 +11,35 @@ dofile(path.."banana_tree.lua")
--= Biomes (Minetest 0.4.12 and above)
-if ethereal.icewater == 1 then
-minetest.register_biome({
- name = "icewater",
- node_top = "default:sand",
- depth_top = 1,
- node_filler = "default:sand",
- depth_filler = 1,
- node_water_top = "default:ice",
- depth_water_top = 2,
- y_min = -31000,
- y_max = 1,
- heat_point = 0,
- humidity_point = 0,
-})
+if ethereal.glacier == 1 then
+ minetest.register_biome({
+ name = "glacier",
+ node_dust = "default:snowblock",
+ node_top = "default:snowblock",
+ depth_top = 1,
+ node_filler = "default:snowblock",
+ depth_filler = 3,
+ node_stone = "default:ice",
+ node_water_top = "default:ice",
+ depth_water_top = 10,
+ y_min = -8,
+ y_max = 31000,
+ heat_point = -5,
+ humidity_point = 50,
+ })
+
+ minetest.register_biome({
+ name = "glacier_ocean",
+ node_dust = "default:sand", -- was snowblock
+ node_top = "default:gravel",
+ depth_top = 1,
+ node_filler = "default:gravel",
+ depth_filler = 2,
+ y_min = -112,
+ y_max = -9,
+ heat_point = -5,
+ humidity_point = 50,
+ })
end
if ethereal.bamboo == 1 then
@@ -56,11 +71,11 @@ end
if ethereal.mesa == 1 then
minetest.register_biome({
name = "mesa",
- node_top = "bakedclay:red",
+ node_top = "bakedclay:orange",
depth_top = 1,
node_filler = "bakedclay:orange",
- depth_filler = 5,
- y_min = 2,
+ depth_filler = 15,
+ y_min = 1,
y_max = 71,
heat_point = 25,
humidity_point = 28,
@@ -77,6 +92,45 @@ minetest.register_biome({
heat_point = 25,
humidity_point = 28,
})
+
+minetest.register_ore({
+ ore_type = "blob",
+ ore = "bakedclay:red",
+ wherein = {"bakedclay:orange"},
+ clust_scarcity = 4 * 4 * 4,
+ clust_num_ores = 8,
+ clust_size = 6,
+ y_min = -10,
+ y_max = 71,
+ noise_params = {
+ offset = 0.35,
+ scale = 0.2,
+ spread = {x = 5, y = 5, z = 5},
+ seed = -316,
+ octaves = 1,
+ persist = 0.5
+ },
+})
+
+minetest.register_ore({
+ ore_type = "blob",
+ ore = "bakedclay:grey",
+ wherein = {"bakedclay:orange"},
+ clust_scarcity = 4 * 4 * 4,
+ clust_num_ores = 8,
+ clust_size = 6,
+ y_min = -10,
+ y_max = 71,
+ noise_params = {
+ offset = 0.35,
+ scale = 0.2,
+ spread = {x = 5, y = 5, z = 5},
+ seed = -613,
+ octaves = 1,
+ persist = 0.5
+ },
+})
+
end
if ethereal.alpine == 1 then
@@ -436,7 +490,7 @@ end
-- redwood tree
minetest.register_decoration({
deco_type = "schematic",
- place_on = {"bakedclay:red","bakedclay:orange"},
+ place_on = {"bakedclay:red"}, --"bakedclay:orange"},
sidelen = 80,
fill_ratio = 0.01,
biomes = {"mesa"},
@@ -462,7 +516,7 @@ minetest.register_decoration({
sidelen = 80,
fill_ratio = 0.04,
biomes = {"alpine"},
- y_min = 82,
+ y_min = 100,
y_max = 140,
schematic = path.."yellowtree.mts",
flags = "place_center_x, place_center_z",
diff --git a/textures/baked_clay_grey.png b/textures/baked_clay_grey.png
new file mode 100644
index 0000000..deecb6a
--- /dev/null
+++ b/textures/baked_clay_grey.png
Binary files differ