diff options
author | RealBadAngel <mk@realbadangel.pl> | 2013-03-30 11:36:45 +0100 |
---|---|---|
committer | RealBadAngel <mk@realbadangel.pl> | 2013-03-30 11:36:45 +0100 |
commit | 279776ff62951a8a9ab96b86b03b7558e77a1c87 (patch) | |
tree | 498fbb7fcb32404132238cb4c7cf9deb8228bbcf /technic_worldgen/oregen.lua | |
parent | edd6f8c7e9bdd152a4a116874d3060cce60f3a37 (diff) |
update
Diffstat (limited to 'technic_worldgen/oregen.lua')
-rw-r--r-- | technic_worldgen/oregen.lua | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/technic_worldgen/oregen.lua b/technic_worldgen/oregen.lua new file mode 100644 index 0000000..ad2d5d6 --- /dev/null +++ b/technic_worldgen/oregen.lua @@ -0,0 +1,66 @@ +minetest.register_ore({ + ore_type = "scatter", + ore = "technic:mineral_diamond", + wherein = "default:stone", + clust_scarcity = 11*11*11, + clust_num_ores = 4, + clust_size = 3, + height_min = -31000, + height_max = -450, +}) + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic:mineral_uranium", + wherein = "default:stone", + clust_scarcity = 10*10*10, + clust_num_ores = 4, + clust_size = 3, + height_min = -300, + height_max = -80, +}) +minetest.register_ore({ + ore_type = "scatter", + ore = "technic:mineral_chromium", + wherein = "default:stone", + clust_scarcity = 10*10*10, + clust_num_ores = 2, + clust_size = 3, + height_min = -31000, + height_max = -100, +}) +minetest.register_ore({ + ore_type = "scatter", + ore = "technic:mineral_zinc", + wherein = "default:stone", + clust_scarcity = 9*9*9, + clust_num_ores = 4, + clust_size = 3, + height_min = -31000, + height_max = 2, +}) +minetest.register_ore({ + ore_type = "sheet", + ore = "technic:marble", + wherein = "default:stone", + clust_scarcity = 1, + clust_num_ores = 1, + clust_size = 3, + height_min = -150, + height_max = -50, + noise_threshhold = 0.5, + noise_params = {offset=0, scale=15, spread={x=150, y=150, z=150}, seed=23, octaves=3, persist=0.70} +}) +minetest.register_ore({ + ore_type = "sheet", + ore = "technic:granite", + wherein = "default:stone", + clust_scarcity = 1, + clust_num_ores = 1, + clust_size = 4, + height_min = -100, + height_max = -250, + noise_threshhold = 0.5, + noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70} +}) + |