diff options
author | ShadowNinja <noreply@gmail.com> | 2013-07-17 15:34:35 -0400 |
---|---|---|
committer | ShadowNinja <noreply@gmail.com> | 2013-09-17 16:37:56 -0400 |
commit | ee0765804c0a21deeb2f33c22ac1a36cb0db5f43 (patch) | |
tree | d6445b48f5663e10a83a2f718ffbcce5883be798 /technic_worldgen/oregen.lua | |
parent | 48ea6fb99de29a58e01c8c923bdca626aaf47c65 (diff) |
Partial rewrite
Diffstat (limited to 'technic_worldgen/oregen.lua')
-rw-r--r-- | technic_worldgen/oregen.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/technic_worldgen/oregen.lua b/technic_worldgen/oregen.lua index 50f5415..c48e358 100644 --- a/technic_worldgen/oregen.lua +++ b/technic_worldgen/oregen.lua @@ -8,6 +8,7 @@ minetest.register_ore({ height_min = -300, height_max = -80, }) + minetest.register_ore({ ore_type = "scatter", ore = "technic:mineral_chromium", @@ -18,6 +19,7 @@ minetest.register_ore({ height_min = -31000, height_max = -100, }) + minetest.register_ore({ ore_type = "scatter", ore = "technic:mineral_zinc", @@ -28,7 +30,8 @@ minetest.register_ore({ height_min = -31000, height_max = 2, }) -if technic.config:getBool("enable_marble_generation") then + +if technic.config:get_bool("enable_marble_generation") then minetest.register_ore({ ore_type = "sheet", ore = "technic:marble", @@ -42,7 +45,8 @@ minetest.register_ore({ 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 + +if technic.config:get_bool("enable_granite_generation") then minetest.register_ore({ ore_type = "sheet", ore = "technic:granite", |