Using lua mapgen to generate layers and minetest to do ores, but I do not like it.
[rocks.git] / rocks / skarn.lua
blobe0081ac80cb92dad9df695e0cb165f246121da3c
1 --
2 -- Skarn deposit
3 --
5 local CommonRarity=40 --too high... should be like 76
6 local CommonRadius=10
7 local CommonWherein={ "rocks:granite", "rocks:limestone" }
9 minetest.register_node( "rocks:skarn", {
10 description = S("Skarn"),
11 tiles = { "rocks_Skarn.png" },
12 groups = {cracky=3, stone=1},
13 is_ground_content = true, sounds = default.node_sound_stone_defaults(),
16 -- skarn deposit
17 rocks.register_vein("rocks:skarn",{
18 wherein=CommonWherein,
19 miny=-320, maxy=300,
20 radius={ average=CommonRadius, amplitude=0.16, frequency=8 },
21 density=80, rarity=CommonRarity,
24 -- Todo:
25 -- There is also a chance of isolated lapis crystals, Gold
26 -- Molybdenite with Cu
27 -- wollastonite with Fe
28 -- enrichments: scheelite and wollastonite
30 -- ~ Tomas Brod