mirror of
git://repo.or.cz/rocks.git
synced 2025-01-01 14:00:30 +01:00
Merge branch 'pegmatite'
Conflicts: mapgen.lua
This commit is contained in:
commit
2c06f0486e
@ -29,6 +29,7 @@ local modpath=minetest.get_modpath(minetest.get_current_modname())
|
||||
dofile(modpath.."/sed.lua")
|
||||
dofile(modpath.."/ign.lua")
|
||||
dofile(modpath.."/skarn.lua")
|
||||
dofile(modpath.."/pegmatite.lua")
|
||||
|
||||
minetest.register_on_mapgen_init(function(mapgen_params)
|
||||
-- todo: disable caves and ores
|
||||
|
37
rocks/pegmatite.lua
Normal file
37
rocks/pegmatite.lua
Normal file
@ -0,0 +1,37 @@
|
||||
--
|
||||
-- Pegmatite vein
|
||||
--
|
||||
|
||||
local CommonRarity=0.024
|
||||
local CommonRadius=8
|
||||
local CommonWherein={ "rocks:granite" }
|
||||
|
||||
minetest.register_node( "rocks:pegmatite", {
|
||||
description = S("Pegmatite"),
|
||||
tiles = { "rocks_Pegmatite.png" },
|
||||
groups = {cracky=3, stone=1},
|
||||
is_ground_content = true, sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- ores have to be redefined for pegmatite background
|
||||
|
||||
-- Lepidolite Li Medium Pegmatite (2.5%)
|
||||
-- Cassiterite Sn Strong Granite, Pegmatite (1.5%)
|
||||
-- Pollucite Cs Strong Pegmatite (0.1%)
|
||||
-- Scheelite W Medium SEDEX, Pegmatite (2%), Skarn
|
||||
-- Spodumene Li Strong Pegmatite (7%)
|
||||
-- Tantalite Ta Strong Pegmatite (2%)
|
||||
-- Wolframite W Medium Pegmatite (1%)
|
||||
-- Spodumene 7%
|
||||
-- Muscovite (mica) 7%
|
||||
-- Kyanite 5%
|
||||
|
||||
-- pegmatites are only 1 kind
|
||||
rocks.register_vein("rocks:pegmatite",{
|
||||
wherein={ "rocks:granite" },
|
||||
miny=-160, maxy=20,
|
||||
radius={ average=8, amplitude=4, frequency=5 },
|
||||
density=80, rarity=CommonRarity,
|
||||
ores={
|
||||
}
|
||||
})
|
BIN
rocks/textures/rocks_Pegmatite.png
Normal file
BIN
rocks/textures/rocks_Pegmatite.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 893 B |
Loading…
Reference in New Issue
Block a user