summaryrefslogtreecommitdiff
path: root/technic_worldgen/oregen.lua
diff options
context:
space:
mode:
authorShadowNinja <noreply@gmail.com>2013-07-17 15:34:35 -0400
committerShadowNinja <noreply@gmail.com>2013-09-17 16:37:56 -0400
commitee0765804c0a21deeb2f33c22ac1a36cb0db5f43 (patch)
treed6445b48f5663e10a83a2f718ffbcce5883be798 /technic_worldgen/oregen.lua
parent48ea6fb99de29a58e01c8c923bdca626aaf47c65 (diff)
Partial rewrite
Diffstat (limited to 'technic_worldgen/oregen.lua')
-rw-r--r--technic_worldgen/oregen.lua8
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",