diff options
author | ShadowNinja <noreply@gmail.com> | 2013-04-25 21:39:08 -0400 |
---|---|---|
committer | ShadowNinja <noreply@gmail.com> | 2013-04-27 13:53:12 -0400 |
commit | 00328622d9cc38a7768a7bf449f5c52ddba666f7 (patch) | |
tree | 65371fdfc089a1ccb957a8d52a7a4ad361db3017 /technic_worldgen/oregen.lua | |
parent | 31b1393b21e77898842f0dd4fe7196771550a3c6 (diff) |
Store configuration in the world directory.
Diffstat (limited to 'technic_worldgen/oregen.lua')
-rw-r--r-- | technic_worldgen/oregen.lua | 4 |
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 |