summaryrefslogtreecommitdiff
path: root/technic_worldgen/oregen.lua
diff options
context:
space:
mode:
authorkpoppel <poulsen.kim@gmail.com>2013-05-06 20:55:33 +0200
committerkpoppel <poulsen.kim@gmail.com>2013-05-06 20:55:33 +0200
commitd98405f1299c8d73956b7ff560515d4a5c35529f (patch)
treeabd4cc55c1b2d9981eb6273b757a30d55acd1c49 /technic_worldgen/oregen.lua
parent6463b77e60639f4012b702fef344cc7e201d3e3a (diff)
parent2239a4447b43fe5beb034ba185288d948daa311b (diff)
Merge branch 'master' of https://github.com/kpoppel/technic
Diffstat (limited to 'technic_worldgen/oregen.lua')
-rw-r--r--technic_worldgen/oregen.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/technic_worldgen/oregen.lua b/technic_worldgen/oregen.lua
index b17e438..50f5415 100644
--- a/technic_worldgen/oregen.lua
+++ b/technic_worldgen/oregen.lua
@@ -28,6 +28,7 @@ minetest.register_ore({
height_min = -31000,
height_max = 2,
})
+if technic.config:getBool("enable_marble_generation") then
minetest.register_ore({
ore_type = "sheet",
ore = "technic:marble",
@@ -40,6 +41,8 @@ minetest.register_ore({
noise_threshhold = 0.4,
noise_params = {offset=0, scale=15, spread={x=150, y=150, z=150}, seed=23, octaves=3, persist=0.70}
})
+end
+if technic.config:getBool("enable_granite_generation") then
minetest.register_ore({
ore_type = "sheet",
ore = "technic:granite",
@@ -52,4 +55,5 @@ minetest.register_ore({
noise_threshhold = 0.4,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})
+end