diff --git a/rocks/ign.lua b/rocks/ign.lua index 587b707..fbbea4c 100644 --- a/rocks/ign.lua +++ b/rocks/ign.lua @@ -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 diff --git a/rocks/pegmatite.lua b/rocks/pegmatite.lua index e5e9bf8..e0224da 100644 --- a/rocks/pegmatite.lua +++ b/rocks/pegmatite.lua @@ -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={ }