1
0
mirror of git://repo.or.cz/rocks.git synced 2025-01-04 07:10:28 +01:00
rocks/pegmatite.lua
2015-04-12 13:18:48 +02:00

38 lines
1.0 KiB
Lua

--
-- 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={
}
})