From f5c693c1de2def44851ec397addd1958c72e96d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Brada?= Date: Sun, 8 Feb 2015 21:36:34 +0100 Subject: [PATCH] Forgot to add testing file. --- testing.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing.lua diff --git a/testing.lua b/testing.lua new file mode 100644 index 0000000..8a65aac --- /dev/null +++ b/testing.lua @@ -0,0 +1,12 @@ +rocks.register_layer("testl", { gain=20, height=-55, limit=2, seed=1 }, "default:wood") + +rocks.register_vein("clay",{ + spread = {x=30, y=10, z=30}, + treshold=0.2, -- clay should be plenty + seed = 9, + hmin=-8, hmax=nil, + layers={ "mudstone" }, +}) + +rocks.register_ore( "clay", "default:clay", {treshold=0, chance=85 } ) +rocks.register_ore( "clay", "default:torch", {treshold=0, chance=15 } )