1
0
mirror of git://repo.or.cz/rocks.git synced 2024-11-16 07:20:40 +01:00

Skel for pegmatite veins.

This commit is contained in:
Tomáš Brada 2015-04-12 12:35:45 +02:00
parent 14b16d55ca
commit 7113f0f950
2 changed files with 19 additions and 0 deletions

View File

@ -22,6 +22,7 @@ dofile(modpath.."/mapgen.lua")
dofile(modpath.."/sed.lua") dofile(modpath.."/sed.lua")
dofile(modpath.."/ign.lua") dofile(modpath.."/ign.lua")
dofile(modpath.."/skarn.lua") dofile(modpath.."/skarn.lua")
dofile(modpath.."/pegmatite.lua")
minetest.register_on_mapgen_init(function(mapgen_params) minetest.register_on_mapgen_init(function(mapgen_params)
-- todo: disable caves and ores -- todo: disable caves and ores

18
pegmatite.lua Normal file
View File

@ -0,0 +1,18 @@
--
-- Pegmatite vein
--
local CommonRarity=0.02 --too high... should be like 0.013
local CommonRadius=10
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