mirror of
git://repo.or.cz/rocks.git
synced 2024-11-16 07:20:40 +01:00
Vein of clay in mudstone.
This commit is contained in:
parent
332b9d773f
commit
e912d0c5e5
|
@ -72,7 +72,7 @@ minetest.register_node( "rocks:mudstone", {
|
|||
groups = {cracky=CcSoft, stone=1},
|
||||
is_ground_content = true, sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
rocks.register_layer( "mudstone",{ gain=10, height=-13, limit=2, seed=4 }, "rocks:mudstone")
|
||||
rocks.register_layer( "mudstone",{ gain=10, height=-13, limit=2, seed=4 }, "air")
|
||||
|
||||
-- Slate MM/barro med Under mud/clay/siltstone
|
||||
minetest.register_node( "rocks:slate", {
|
||||
|
|
|
@ -8,6 +8,15 @@ local CcSoft=3
|
|||
--
|
||||
|
||||
-- Claystone Sed soft in mudstone
|
||||
rocks.register_vein("clay",{
|
||||
spread = {x=10, y=10, z=10},
|
||||
treshold=0.75,
|
||||
seed = 9,
|
||||
hmin=-8, hmax=nil,
|
||||
layers={ "mudstone" },
|
||||
})
|
||||
rocks.register_ore( "clay", "default:clay", {treshold=0, chance=0.8 } )
|
||||
|
||||
-- Breccia Mixture soft in mudstone
|
||||
-- Conglomerate Sed soft in mudstone
|
||||
-- Skarn MM/contact med in mudstone in mountains
|
||||
|
|
1
init.lua
1
init.lua
|
@ -21,6 +21,7 @@ rocks.noiseparams_layers = {
|
|||
|
||||
dofile(modpath.."/mapgen.lua")
|
||||
dofile(modpath.."/geologica.lua")
|
||||
dofile(modpath.."/geologica_nv.lua")
|
||||
|
||||
|
||||
print("[rocks] loaded.")
|
||||
|
|
|
@ -53,6 +53,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
local availlayers=mknoises(rocks.layers,minp,maxp,seed)
|
||||
local perlin_index = 1
|
||||
--
|
||||
print("[rocks] afterinit "..os.clock()-timebefore)
|
||||
for x=minp.x,maxp.x,1 do
|
||||
for z=minp.z,maxp.z,1 do
|
||||
--* initialize layers hmap
|
||||
|
|
Loading…
Reference in New Issue
Block a user