forked from mtcontrib/darkage
Introducing Tuff and Rhyolitic Tuff
Tuff and Rhyolitic Tuff are materials used in the Medival to build churches or houses of rich people. Tuff, Tuff bricks and tuff ruble are now available in Darkage.
This commit is contained in:
42
mapgen.lua
42
mapgen.lua
@ -157,6 +157,10 @@ local function generate_claylike(data, varea, name, minp, maxp, seed, chance, mi
|
||||
end
|
||||
end
|
||||
|
||||
local mgparams = minetest.get_mapgen_params()
|
||||
local seed = mgparams.seed
|
||||
|
||||
|
||||
-- Generate desert stone with iron in derset.
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
@ -188,6 +192,44 @@ minetest.register_ore({
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "sheet",
|
||||
ore = "darkage:tuff",
|
||||
wherein = {"default:stone", "default:dirt", "default:gravel", "default:stone_with_coal"},
|
||||
column_height_max = 20,
|
||||
column_height_min = 15,
|
||||
y_min = -200,
|
||||
y_max = 200,
|
||||
noise_threshold = 0.5,
|
||||
noise_params = {
|
||||
offset = 0.35,
|
||||
scale = 0.19,
|
||||
seed = seed+12,
|
||||
spread = {x = 45, y = 45, z = 45},
|
||||
octaves = 1,
|
||||
persistence = 0.6
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "sheet",
|
||||
ore = "darkage:rhyolitic_tuff",
|
||||
wherein = {"default:stone", "default:dirt", "default:gravel", "default:stone_with_coal"},
|
||||
column_height_max = 20,
|
||||
column_height_min = 15,
|
||||
y_min = -2000,
|
||||
y_max = 200,
|
||||
noise_threshold = 0.53,
|
||||
noise_params = {
|
||||
offset = 0.35,
|
||||
scale = 0.2,
|
||||
seed = seed+13,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
octaves = 1,
|
||||
persistence = 0.6
|
||||
},
|
||||
})
|
||||
|
||||
-- Generate strati
|
||||
local function generate_strati(minp, maxp, seed)
|
||||
|
||||
|
Reference in New Issue
Block a user