From 8ac2730e5873765ad56a869d53aa3ad397b3851e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Brada?= Date: Thu, 23 Apr 2015 15:10:32 +0200 Subject: [PATCH] Generate basalt or granite below -48 (also the other rocks). --- rocks/ign.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rocks/ign.lua b/rocks/ign.lua index 12cb078..eb9d8d3 100644 --- a/rocks/ign.lua +++ b/rocks/ign.lua @@ -54,6 +54,15 @@ local reg=function(name,param) end rocks.register_igneous_stratus=reg +-- add our rocks to stone, under -48 there are no biomes, so randomly choose. + reg( "rocks:basalt", {spread=60, height=40, treshold=0.43, inr={"default:stone"} }) + + minetest.register_ore({ + ore="rocks:granite", wherein="default:stone", + ore_type="scatter", clust_scarcity=3^3, clust_num_ores=6^3, clust_size=6, + height_min=-31000, height_max=-49, + }) + -- continental (granite): diorite and gabbro -- oceanic (basalt): gabbro reg( "rocks:gabbro", {spread=60, height=40, treshold=0.34, inr={"rocks:granite","rocks:basalt"} })