mirror of
git://repo.or.cz/rocks.git
synced 2024-12-29 12:20:35 +01:00
75 lines
2.1 KiB
Lua
75 lines
2.1 KiB
Lua
local CcHard=3
|
|
local CcStrong=3
|
|
local CcMed=3
|
|
local CcSoft=3
|
|
|
|
--
|
|
-- Sedimentary
|
|
--
|
|
|
|
-- Claystone Sed soft in mudstone
|
|
rocks.register_vein("clay",{
|
|
spread = {x=30, y=10, z=30},
|
|
treshold=0.26, -- clay should be plenty
|
|
seed = 9,
|
|
layers={ "mudstone" },
|
|
})
|
|
rocks.register_ore( "clay", "default:clay", {treshold=0, chance=85 } )
|
|
|
|
-- Breccia Mixture soft in mudstone
|
|
-- Conglomerate Sed soft in mudstone
|
|
|
|
-- Coal Ocean, inland 2x swamp
|
|
rocks.register_vein("coal",{
|
|
spread = {x=20, y=10, z=20},
|
|
treshold=0.48, -- coal shold be less
|
|
seed = 10,
|
|
layers={ "mudstone" },
|
|
})
|
|
rocks.register_ore( "coal", "default:stone_with_coal", {treshold=0, chance=85 } )
|
|
|
|
-- Pyrolusite Swamp
|
|
-- Diatomite Volcanic, desert
|
|
-- Glauconite Ocean 20% sandstone
|
|
-- Apatite Any Metamorphic depth
|
|
-- Zeolite Volcanic
|
|
-- Fuller's Earth Desert
|
|
-- Kaolinite Tropics
|
|
|
|
--
|
|
-- Misc rocks
|
|
--
|
|
|
|
-- Limestone Sed med in Rhyolite, Andesite in mountains
|
|
minetest.register_node( "rocks:limestone", {
|
|
description = S("Limestone"),
|
|
tiles = { "rocks_Limestone.png" },
|
|
is_ground_content = true, sounds = default.node_sound_stone_defaults(),
|
|
groups = {cracky=CcMed, stone=1},
|
|
})
|
|
rocks.register_vein("limestone",{
|
|
spread = {x=60, y=60, z=60},
|
|
treshold=0.4,
|
|
seed = 10,
|
|
layers={ "rhyolite", "andesite" },
|
|
})
|
|
rocks.register_ore( "limestone", "rocks:limestone", {treshold=0, chance=100} )
|
|
|
|
-- Dolomite Sed med in Rhyolite, Andesite in mountains
|
|
minetest.register_node( "rocks:dolomite", {
|
|
description = S("Dolomite"),
|
|
tiles = { "rocks_Dolomite.png" },
|
|
is_ground_content = true, sounds = default.node_sound_stone_defaults(),
|
|
groups = {cracky=CcMed, stone=1},
|
|
})
|
|
rocks.register_vein("dolomite",{
|
|
spread = {x=60, y=60, z=60},
|
|
treshold=0.4,
|
|
seed = 11,
|
|
layers={ "rhyolite", "andesite" },
|
|
})
|
|
rocks.register_ore( "dolomite", "rocks:dolomite", {treshold=0, chance=100} )
|
|
|
|
-- Quartzite MM/contact vhard sandstone
|
|
|
|
print("[rocks/geologicaStrata] loaded.") |