From 0ce84c2ff51f0cbdbb6854f2d1952a01cf95ed20 Mon Sep 17 00:00:00 2001 From: TheOnlyJoeEnderman Date: Sat, 4 Mar 2023 07:29:02 +0000 Subject: [PATCH] 0.3.0 Hades --- LICENSE.txt | 16 + credits.txt | 2 +- init.lua | 33 +- mapgen.lua | 4 + mapgen_hades.lua | 953 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 989 insertions(+), 19 deletions(-) create mode 100644 mapgen_hades.lua diff --git a/LICENSE.txt b/LICENSE.txt index 4bc9b26..8320d52 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -102,3 +102,19 @@ License of geodes_lib geode generation and nodes_crystal functionality (C) alerikaisattera LGPL-3.0 + + +License of all node sounds +-------------------------- + +(C) OpenGameArt.Org + +CC0 + +(C) freesound.org + +CC0 + +(C) JoeEnderman + +CC0 diff --git a/credits.txt b/credits.txt index f8ce59a..e60629c 100644 --- a/credits.txt +++ b/credits.txt @@ -1 +1 @@ -based on code from Minetest game, all walls mod, and geodes mod. Textures created by JoeEnderman with Stable Diffusion (rough versions), Gimp (cleaning up from the others), Planet Minecraft (block and brick variants), and Blockbench (cobblestones, granites, and cracked bricks). From V0.2.2+: Many textures have been cleaned up or made using Libresprite. It may replace all but Gimp in future TMS releases. Code rebase with help from Mineclone2 and Minebase. All node sounds are CC0 and sourced from opengameart.org, freesound.org, and myself. Some are a combination of both. +based on code from Minetest game, all walls mod, and geodes mod. Textures created by JoeEnderman with Stable Diffusion (rough versions), Gimp (cleaning up from the others), Planet Minecraft (block and brick variants), and Blockbench (cobblestones, granites, and cracked bricks). From V0.2.2+: Many textures have been cleaned up or made using Libresprite. It may replace all but Gimp in future TMS releases. Code rebase with help from Mineclone2 and Minebase. All node sounds are CC0 and sourced from opengameart.org, freesound.org, and myself. Some are a combination of both. Yes, they are all CC0, I checked the online ones, and mine (nearly half) I can decide for myself because I am big boi. diff --git a/init.lua b/init.lua index c0627cf..c47f619 100644 --- a/init.lua +++ b/init.lua @@ -1,27 +1,24 @@ --- Minetest 5.0 mod: too many stones +-- Minetest 5.3 mod: too many stones -- See README.txt for licensing and other information. --- Load support for MT game translation. -local S = minetest.get_translator("too_many_stones") - -- Definitions made by this mod that other mods can use too too_many_stones = {} -default.LIGHT_MAX = 14 -default.get_translator = S +local S = minetest.get_translator("too_many_stones") -- Load files local default_path = minetest.get_modpath("too_many_stones") -dofile(default_path.."/nodes.lua") -dofile(default_path.."/crafting.lua") -dofile(default_path.."/mapgen.lua") -dofile(default_path.."/mapgen_secondary.lua") -dofile(default_path.."/wall.lua") -dofile(default_path.."/stairs.lua") -dofile(default_path.."/geodes.lua") -dofile(default_path.."/geodes_lib.lua") -dofile(default_path.."/nodes_glowing.lua") -dofile(default_path.."/nodes_crystal.lua") --- dofile(default_path.."/nodes_ore.lua") --- dofile(default_path.."/mapgen_ore.lua") + +dofile(minetest.get_modpath("too_many_stones") .. "/sounds.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/nodes.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/crafting.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/mapgen.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/mapgen_hades.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/mapgen_secondary.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/wall.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/stairs.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/geodes.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/geodes_lib.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/nodes_glowing.lua") +dofile(minetest.get_modpath("too_many_stones") .. "/nodes_crystal.lua") diff --git a/mapgen.lua b/mapgen.lua index e2f0787..ea4df15 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -1,3 +1,5 @@ +if minetest.get_modpath("default") ~= nil then + -- Amazonite minetest.register_ore({ @@ -1003,3 +1005,5 @@ persist = 0.0 }, }) + +end diff --git a/mapgen_hades.lua b/mapgen_hades.lua new file mode 100644 index 0000000..fb139b1 --- /dev/null +++ b/mapgen_hades.lua @@ -0,0 +1,953 @@ +if minetest.get_modpath("hades_core") ~= nil then + +-- Amazonite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:amazonite", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Amber + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:amber", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 7, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Amethyst + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:amethyst", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 0, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:amethyst", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = 100, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Calcite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:calcite", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + seed = 43, + octaves = 1, + persist = 0.0 + }, + }) + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:calcite", + wherein = {"default:sand", "hades_core:ash"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 10, + y_max = 0, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + seed = 43, + octaves = 1, + persist = 0.0 + }, + }) + +-- Carnotite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:carnotite", + wherein = {"hades_core:stone", "default:desert_stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = -300, + y_min = -1000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Celestine + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:celestine", + wherein = {"hades_core:ash"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Citrine + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:citrine", + wherein = {"default:desert_stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Eudialite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:eudialite", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 7, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Gabbro + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:gabbro", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 20, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Galena + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:galena", + wherein = {"hades_core:stone", "default:sandstone", "default:desert_sandstone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Black Granite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:granite_black", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Blue Granite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:granite_blue", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 30, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Gray Granite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:granite_gray", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Green Granite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:granite_green", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 31000, + y_min = -60, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + seed = 56, + octaves = 1, + persist = 0.0 + }, + }) + +-- Pink Granite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:granite_pink", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 10, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Red Granite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:granite_red", + wherein = {"hades_core:stone", "default:desert_stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 31000, + y_min = -500, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + seed = 55, + octaves = 1, + persist = 0.0 + }, + }) + +-- White Granite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:granite_white", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -300, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Heliodor + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:heliodor", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = -30, + y_min = -500, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Howlite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:howlite", + wherein = {"hades_core:stone", "hades_core:ash", "default:desert_sandstone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 1000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Ilvaite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:ilvaite", + wherein = {"hades_core:stone", "default:desert_stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 31000, + y_min = -100, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Kyanite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:kyanite", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 300, + y_min = -60, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:kyanite", + wherein = {"hades_core:ash"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = -300, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Lapis Lazuli + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:lapis_lazuli", + wherein = {"hades_core:ash"}, + clust_scarcity = 64 * 16 * 64, + clust_size = 14, + y_max = -10, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Blue Limestone + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:limestone_blue", + wherein = {"hades_core:stone", "hades_core:ash"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 300, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- White Limestone + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:limestone_white", + wherein = {"hades_core:stone", "hades_core:ash"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 31000, + y_min = -300, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Marble + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:marble", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 31000, + y_min = -500, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + seed = 50, + octaves = 1, + persist = 0.0 + }, + }) + +-- Mudstone + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:mudstone", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 10, + y_max = 31000, + y_min = -100, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Prasiolite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:prasiolite", + wherein = {"hades_core:stone", "hades_core:ash"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = -50, + y_min = -1000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:prasiolite", + wherein = {"hades_core:ash"}, + clust_scarcity = 32 * 48 * 32, + clust_size = 7, + y_max = -2, + y_min = -50, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Pumice + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:pumice", + wherein = {"hades_core:stone", "hades_core:gravel"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 10, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:pumice", + wherein = {"hades_core:lava_source"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 10, + y_max = 31000, + y_min = -1, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Quartz + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:quartz", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = -300, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:quartz", + wherein = {"hades_core:ash"}, + clust_scarcity = 32 * 48 * 32, + clust_size = 7, + y_max = -2, + y_min = -50, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Rose Quartz + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:rose_quartz", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = -300, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:rose_quartz", + wherein = {"hades_core:ash"}, + clust_scarcity = 32 * 48 * 32, + clust_size = 7, + y_max = -2, + y_min = -50, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Scoria + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:scoria", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 31000, + y_min = -60, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Serpentine + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:serpentine", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Slate + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:slate", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 300, + y_min = -60, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Smokey Quartz + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:smokey_quartz", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Soapstone + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:soapstone", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:soapstone", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = -400, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Sodalite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:sodalite", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Sugilite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:sugilite", + wherein = {"hades_core:stone"}, + clust_scarcity = 48 * 48 * 48, + clust_size = 7, + y_max = 30, + y_min = -2000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Travertine + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:travertine", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 14, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +-- Turquoise + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:silver_sandstone_with_turquoise", + wherein = {"hades_core:stone"}, + clust_scarcity = 32 * 48 * 32, + clust_size = 15, + y_max = 300, + y_min = -60, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + seed = 61, + octaves = 1, + persist = 0.0 + }, + }) + +-- Vivianite + + minetest.register_ore({ + ore_type = "blob", + ore = "too_many_stones:vivianite", + wherein = {"hades_core:stone"}, + clust_scarcity = 64 * 64 * 64, + clust_size = 7, + y_max = 31000, + y_min = -31000, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + octaves = 1, + persist = 0.0 + }, + }) + +end