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:
parent
14b16d55ca
commit
7113f0f950
1
init.lua
1
init.lua
|
@ -22,6 +22,7 @@ dofile(modpath.."/mapgen.lua")
|
|||
dofile(modpath.."/sed.lua")
|
||||
dofile(modpath.."/ign.lua")
|
||||
dofile(modpath.."/skarn.lua")
|
||||
dofile(modpath.."/pegmatite.lua")
|
||||
|
||||
minetest.register_on_mapgen_init(function(mapgen_params)
|
||||
-- todo: disable caves and ores
|
||||
|
|
18
pegmatite.lua
Normal file
18
pegmatite.lua
Normal 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user