1
0
mirror of git://repo.or.cz/rocks.git synced 2025-01-01 14:00:30 +01:00

Fix all veins having radius 10. Pegmatite adapt new api and tweak.

This commit is contained in:
Tomáš Brada 2015-04-20 19:02:54 +02:00
parent 2c06f0486e
commit 475a413d2f
2 changed files with 3 additions and 5 deletions

View File

@ -68,7 +68,7 @@ local regv=function(name,param)
ore_type = "blob",
clust_scarcity = param.rarity^3,
clust_num_ores = 8,
clust_size = 10*2,
clust_size = param.radius.average*2,
height_min = -31000,
height_max = 50,
noise_threshhold = 0.5, --< determined experimentally

View File

@ -2,9 +2,7 @@
-- Pegmatite vein
--
local CommonRarity=0.024
local CommonRadius=8
local CommonWherein={ "rocks:granite" }
local CommonRarity=32
minetest.register_node( "rocks:pegmatite", {
description = S("Pegmatite"),
@ -30,7 +28,7 @@ minetest.register_node( "rocks:pegmatite", {
rocks.register_vein("rocks:pegmatite",{
wherein={ "rocks:granite" },
miny=-160, maxy=20,
radius={ average=8, amplitude=4, frequency=5 },
radius={ average=14, amplitude=0.3, frequency=16 },
density=80, rarity=CommonRarity,
ores={
}