1
0
mirror of git://repo.or.cz/rocks.git synced 2025-01-07 16:50:27 +01:00
rocks/rocks/skarn.lua

30 lines
782 B
Lua
Raw Normal View History

2015-04-10 21:21:51 +02:00
--
-- Skarn deposit
--
2015-04-19 12:59:13 +02:00
local CommonRarity=40 --too high... should be like 76
2015-04-10 21:21:51 +02:00
local CommonRadius=10
local CommonWherein={ "rocks:granite", "rocks:limestone", "default:stone" }
2015-04-10 21:21:51 +02:00
minetest.register_node( "rocks:skarn", {
description = S("Skarn"),
tiles = { "rocks_Skarn.png" },
groups = {cracky=3, stone=1},
is_ground_content = true, sounds = default.node_sound_stone_defaults(),
})
2015-04-19 12:59:13 +02:00
-- skarn deposit
rocks.register_vein("rocks:skarn",{
wherein=CommonWherein,
miny=-320, maxy=300,
2015-04-19 12:59:13 +02:00
radius={ average=CommonRadius, amplitude=0.16, frequency=8 },
density=80, rarity=CommonRarity,
})
-- Todo:
-- There is also a chance of isolated lapis crystals, Gold
-- Molybdenite with Cu
-- wollastonite with Fe
-- enrichments: scheelite and wollastonite
2015-04-10 21:21:51 +02:00
-- ~ Tomas Brod