1
0
mirror of git://repo.or.cz/rocks.git synced 2024-11-16 07:20:40 +01:00

Added and tuned coal gen.

This commit is contained in:
Tomáš Brada 2015-02-10 17:35:48 +01:00
parent 4ce4bdfa88
commit 60f9fd9551

View File

@ -4,13 +4,13 @@ local CcMed=3
local CcSoft=3 local CcSoft=3
-- --
-- nonvein vein -- Sedimentary
-- --
-- Claystone Sed soft in mudstone -- Claystone Sed soft in mudstone
rocks.register_vein("clay",{ rocks.register_vein("clay",{
spread = {x=30, y=10, z=30}, spread = {x=30, y=10, z=30},
treshold=0.2, -- clay should be plenty treshold=0.26, -- clay should be plenty
seed = 9, seed = 9,
layers={ "mudstone" }, layers={ "mudstone" },
}) })
@ -19,6 +19,27 @@ rocks.register_ore( "clay", "default:clay", {treshold=0, chance=85 } )
-- Breccia Mixture soft in mudstone -- Breccia Mixture soft in mudstone
-- Conglomerate Sed 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 -- Limestone Sed med in Rhyolite, Andesite in mountains
minetest.register_node( "rocks:limestone", { minetest.register_node( "rocks:limestone", {
description = S("Limestone"), description = S("Limestone"),
@ -33,7 +54,6 @@ rocks.register_vein("limestone",{
layers={ "rhyolite", "andesite" }, layers={ "rhyolite", "andesite" },
}) })
rocks.register_ore( "limestone", "rocks:limestone", {treshold=0, chance=100} ) rocks.register_ore( "limestone", "rocks:limestone", {treshold=0, chance=100} )
rocks.register_ore( "limestone", "default:torch", {treshold=0, chance=15 } )
-- Dolomite Sed med in Rhyolite, Andesite in mountains -- Dolomite Sed med in Rhyolite, Andesite in mountains
minetest.register_node( "rocks:dolomite", { minetest.register_node( "rocks:dolomite", {
@ -49,7 +69,6 @@ rocks.register_vein("dolomite",{
layers={ "rhyolite", "andesite" }, layers={ "rhyolite", "andesite" },
}) })
rocks.register_ore( "dolomite", "rocks:dolomite", {treshold=0, chance=100} ) rocks.register_ore( "dolomite", "rocks:dolomite", {treshold=0, chance=100} )
rocks.register_ore( "dolomite", "default:torch", {treshold=0, chance=15 } )
-- Quartzite MM/contact vhard sandstone -- Quartzite MM/contact vhard sandstone