485 lines
13 KiB
Lua
485 lines
13 KiB
Lua
--Extreme Survival created by maikerumine
|
|
-- Minetest 0.4.13 mod: "Extreme Survival"
|
|
-- namespace: es
|
|
--https://github.com/maikerumine
|
|
|
|
--License:
|
|
--~~~~~~~~
|
|
--Code:
|
|
--(c) Copyright 2015 maikerumine; modified zlib-License
|
|
--see "LICENSE.txt" for details.
|
|
|
|
--Media(if not stated differently):
|
|
--(c) Copyright (2014-2015) maikerumine; CC-BY-SA 3.0
|
|
|
|
|
|
--TECHNIC ORES
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "es:marble",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 1,
|
|
clust_size = 3,
|
|
height_min = -31000,
|
|
height_max = -50,
|
|
noise_threshhold = 0.4,
|
|
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 = "es:granite",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 1,
|
|
clust_size = 4,
|
|
height_min = -31000,
|
|
height_max = -150,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
--CBLOCKS CLAY!!
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "cblocks:clay_magenta",
|
|
wherein = {"default:desert_stone"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 3,
|
|
clust_size = 4,
|
|
height_min = 70,
|
|
height_max = 190,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "cblocks:clay_black",
|
|
wherein = {"default:desert_stone","default:stone"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 12,
|
|
clust_size = 4,
|
|
height_min = 60,
|
|
height_max = 96,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.80}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "cblocks:clay_red",
|
|
wherein = {"default:desert_stone"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 8,
|
|
clust_size = 4,
|
|
height_min = 44,
|
|
height_max = 70,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "cblocks:clay_grey",
|
|
wherein = {"default:desert_stone"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 8,
|
|
clust_size = 4,
|
|
height_min = 34,
|
|
height_max = 70,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "cblocks:clay_orange",
|
|
wherein ={"default:desert_stone","default:desert_sand"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 5,
|
|
clust_size = 5,
|
|
height_min = 10,
|
|
height_max = 40,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "cblocks:clay_brown",
|
|
wherein = {"default:desert_stone","default:desert_sand"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 12,
|
|
clust_size = 4,
|
|
height_min = -12,
|
|
height_max = 7,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
--ES Clay
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "es:strange_clay_red",
|
|
wherein = {"es:strange_clay_brown","default:desert_sand"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 9,
|
|
clust_size = 12,
|
|
height_min = 0,
|
|
height_max = 30,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "es:strange_clay_maroon",
|
|
wherein = {"es:strange_clay_brown"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 9,
|
|
clust_size = 12,
|
|
height_min = 0,
|
|
height_max = 30,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "cblocks:clay_black",
|
|
wherein = {"es:strange_clay_brown"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 12,
|
|
clust_size = 4,
|
|
height_min = -5,
|
|
height_max = 3,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=4, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.80}
|
|
})
|
|
|
|
--DEFAULT STRATA
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "default:stone",
|
|
wherein = {"default:desert_stone","default:desert_sand"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 3,
|
|
clust_size = 4,
|
|
height_min = 50,
|
|
height_max = 90,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "default:clay",
|
|
wherein = {"default:desert_stone","default:desert_sand","default:stone"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 12,
|
|
clust_size = 8,
|
|
height_min = 24,
|
|
height_max = 50,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "default:sandstone",
|
|
wherein ={"default:desert_stone","default:desert_sand","default:stone"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 12,
|
|
clust_size = 10,
|
|
height_min = 10,
|
|
height_max = 30,
|
|
noise_threshhold = 0.2,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "es:dry_dirt",
|
|
wherein = {"default:desert_stone","default:desert_sand","default:stone"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 12,
|
|
clust_size = 4,
|
|
height_min = -12,
|
|
height_max = 7,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
--UNDERGROUND
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "es:strange_clay_blue",
|
|
wherein = {"default:desert_stone","default:desert_sand","default:stone"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 12,
|
|
clust_size = 4,
|
|
height_min = -31000,
|
|
height_max = -120,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
--SAVANNA
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "es:dry_dirt",
|
|
wherein = {"default:dirt_with_dry_grass"},
|
|
clust_scarcity = 1,
|
|
clust_num_ores = 12,
|
|
clust_size = 8,
|
|
height_min = -12,
|
|
height_max = 88,
|
|
noise_threshhold = 0.4,
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
})
|
|
|
|
--ES LIQUIDS
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:toxic_water_source",
|
|
wherein = {"default:dry_dirt", "default:dirt_with_dry_grass","default:dirt", "default:stone"},
|
|
clust_scarcity = 24*24*24,
|
|
clust_num_ores = 4,
|
|
clust_size = 4,
|
|
y_min = -9000,
|
|
y_max = 5,
|
|
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "sheet",
|
|
ore = "es:mud",
|
|
wherein = {"default:dry_dirt", "default:dirt_with_dry_grass", "default:dirt"},
|
|
clust_scarcity = 11*5*10,
|
|
clust_num_ores = 4,
|
|
clust_size = 12,
|
|
y_min = -31,
|
|
y_max = 75,
|
|
|
|
})
|
|
|
|
|
|
--ES Node Registration and location
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_emerald",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 24*24*24,
|
|
clust_num_ores = 4,
|
|
clust_size = 4,
|
|
height_min = -1000,
|
|
height_max = -400,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_emerald",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 24*24*24,
|
|
clust_num_ores = 1,
|
|
clust_size = 1,
|
|
height_min = -1000,
|
|
height_max = -400,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_ruby",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 20*20*20,
|
|
clust_num_ores = 4,
|
|
clust_size = 3,
|
|
height_min = -3000,
|
|
height_max = -1300,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_ruby",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 20*20*20,
|
|
clust_num_ores = 1,
|
|
clust_size = 1,
|
|
height_min = -3000,
|
|
height_max = -1110,
|
|
})
|
|
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_aikerum",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 23*23*23,
|
|
clust_num_ores = 5,
|
|
clust_size = 4,
|
|
height_min = -31000,
|
|
height_max = -2400,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_aikerum",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 23*23*23,
|
|
clust_num_ores = 1,
|
|
clust_size = 1,
|
|
height_min = -4000,
|
|
height_max = -1140,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_infinium",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 20*12*20,
|
|
clust_num_ores = 5,
|
|
clust_size = 3,
|
|
height_min = -31000,
|
|
height_max = -4430,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_infinium",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 16*18*16,
|
|
clust_num_ores = 1,
|
|
clust_size = 1,
|
|
height_min = -31000,
|
|
height_max = -3190,
|
|
})
|
|
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_purpellium",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 16*18*16,
|
|
clust_num_ores = 5,
|
|
clust_size = 5,
|
|
height_min = -31000,
|
|
height_max = -4090,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_mese",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 14 * 14 * 14,
|
|
clust_num_ores = 5,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = -256,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:stone_with_mese",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 14 * 14 * 14,
|
|
clust_num_ores = 9,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = -5256,
|
|
})
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:depleted_uranium",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 54 * 14 * 54,
|
|
clust_num_ores = 3,
|
|
clust_size = 1,
|
|
y_min = -14210,
|
|
y_max = -156,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:depleted_uranium",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 14 * 14 * 14,
|
|
clust_num_ores = 6,
|
|
clust_size = 5,
|
|
y_min = -15000,
|
|
y_max = -256,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "blob",
|
|
ore = "default:lava_source",
|
|
wherein = "default:desert_stone",
|
|
clust_scarcity = 15*15*10,
|
|
clust_num_ores = 2,
|
|
clust_size = 2,
|
|
y_min = -31000,
|
|
y_max = 1140,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "blob",
|
|
ore = "default:lava_source",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 25*25*20,
|
|
clust_num_ores = 2,
|
|
clust_size = 2,
|
|
y_min = -31000,
|
|
y_max = 1140,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "blob",
|
|
ore = "default:water_source",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 15*15*10,
|
|
clust_num_ores = 2,
|
|
clust_size = 2,
|
|
y_min = -20000,
|
|
y_max = 1140,
|
|
})
|
|
|
|
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:desert_stone_with_coal",
|
|
wherein = "default:desert_stone",
|
|
clust_scarcity = 6 * 6 * 6,
|
|
clust_num_ores = 9,
|
|
clust_size = 6,
|
|
y_min = -31000,
|
|
y_max = 200,
|
|
})
|
|
|
|
-- Iron
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:desert_stone_with_iron",
|
|
wherein = "default:desert_stone",
|
|
clust_scarcity = 6 * 6 * 7,
|
|
clust_num_ores = 3,
|
|
clust_size = 2,
|
|
y_min = -150,
|
|
y_max = 200,
|
|
})
|
|
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "es:desert_stone_with_gold",
|
|
wherein = "default:desert_stone",
|
|
clust_scarcity = 13 * 13 * 13,
|
|
clust_num_ores = 5,
|
|
clust_size = 3,
|
|
y_min = -214,
|
|
y_max = 2256,
|
|
})
|
|
|
|
|