5 local CommonRarity
=0.02 --too high... should be like 0.013
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 -- ores have to be redefined for skarn background
19 -- There is also a chance of isolated lapis crystals, Gold
20 -- Molybdenite with Cu
21 -- wollastonite with Fe
22 -- enrichments: scheelite and wollastonite
25 minetest
.register_node( "rocks:skarn_chalcopyrite", {
26 description
= S("Chalcopyrite"),
27 tiles
= { "rocks_Skarn.png^rocks_Chalcopyrite.png" },
29 is_ground_content
= true, sounds
= default
.node_sound_stone_defaults(),
32 minetest
.register_node( "rocks:skarn_malachyte", {
33 description
= S("Malachyte"),
34 tiles
= { "rocks_Skarn.png^rocks_Chalcopyrite.png" },
36 is_ground_content
= true, sounds
= default
.node_sound_stone_defaults(),
38 -- Chalcopyrite/Malachyte skarn mix
39 rocks
.register_vein("rocks:skarn",{
40 wherein
=CommonWherein
,
42 radius
={ average
=CommonRadius
, amplitude
=3, frequency
=5 },
43 density
=80, rarity
=CommonRarity
,
45 -- marble and hornfels, as well as unchanged limestone.
46 -- { ore="rocks:marble", percent=10 },
47 -- { ore="rocks:hornfels", percent=10 },
48 { ore
="rocks:skarn_chalcopyrite", percent
=30 },
49 { ore
="rocks:skarn_malachyte", percent
=15 },
50 -- { ore="rocks:skarn_molybdenite", percent=5 },
55 minetest
.register_node( "rocks:skarn_sphalerite", {
56 description
= S("Sphalerite"),
57 tiles
= { "rocks_Skarn.png^rocks_sphalerite.png" },
59 is_ground_content
= true, sounds
= default
.node_sound_stone_defaults(),
62 minetest
.register_node( "rocks:skarn_galena", {
63 description
= S("Galena"),
64 tiles
= { "rocks_Skarn.png^rocks_galena.png" },
66 is_ground_content
= true, sounds
= default
.node_sound_stone_defaults(),
69 rocks
.register_vein("rocks:skarn",{
70 wherein
=CommonWherein
,
72 radius
={ average
=CommonRadius
, amplitude
=3, frequency
=5 },
73 density
=80, rarity
=CommonRarity
,
75 -- marble and hornfels, as well as unchanged limestone.
76 -- { ore="rocks:marble", percent=10 },
77 -- { ore="rocks:hornfels", percent=10 },
78 { ore
="rocks:skarn_galena", percent
=25 },
79 { ore
="rocks:skarn_sphalerite", percent
=25 },
84 minetest
.register_node( "rocks:skarn_magnetite", {
85 description
= S("Magnetite"),
86 tiles
= { "rocks_Skarn.png^rocks_Magnetite.png" },
88 is_ground_content
= true, sounds
= default
.node_sound_stone_defaults(),
91 rocks
.register_vein("rocks:skarn",{
92 wherein
=CommonWherein
,
94 radius
={ average
=CommonRadius
, amplitude
=3, frequency
=5 },
95 density
=80, rarity
=CommonRarity
,
97 -- marble and hornfels, as well as unchanged limestone.
98 -- { ore="rocks:marble", percent=10 },
99 -- { ore="rocks:hornfels", percent=10 },
100 { ore
="rocks:skarn_magnetite", percent
=40 },
105 minetest
.register_node( "rocks:skarn_magnesite", {
106 description
= S("Magnesite"),
107 tiles
= { "rocks_Skarn.png^rocks_Magnesite.png" },
109 is_ground_content
= true, sounds
= default
.node_sound_stone_defaults(),
111 -- Vermiculite (fixme: move to CommonRocks)
112 minetest
.register_node( "rocks:vermiculite", {
113 description
= S("Vermiculite"),
114 tiles
= { "rocks_Vermiculite.png" },
115 groups
= {crumbly
=3},
116 is_ground_content
= true, sounds
= default
.node_sound_stone_defaults(),
118 -- magnesite/vermiculite skarn mix
119 rocks
.register_vein("rocks:skarn",{
120 wherein
=CommonWherein
,
122 radius
={ average
=CommonRadius
, amplitude
=3, frequency
=5 },
123 density
=80, rarity
=CommonRarity
,
125 -- marble and hornfels, as well as unchanged limestone.
126 -- { ore="rocks:marble", percent=10 },
127 -- { ore="rocks:hornfels", percent=10 },
128 { ore
="rocks:skarn_magnesite", percent
=30 },
129 { ore
="rocks:vermiculite", percent
=20 },