From f2b555e7b671d1f37058f42cc11583e8bb181e74 Mon Sep 17 00:00:00 2001 From: TheOnlyJoeEnderman Date: Sat, 4 Mar 2023 07:26:11 +0000 Subject: [PATCH] 0.3.0 Hades --- changelog.txt | 7 ++ credits.txt | 2 +- geodes.lua | 2 +- geodes_lib.lua | 208 ++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 216 insertions(+), 3 deletions(-) diff --git a/changelog.txt b/changelog.txt index 09319d9..ea52295 100644 --- a/changelog.txt +++ b/changelog.txt @@ -58,3 +58,10 @@ V0.2.4 Added Prasiolite Added Quartz +V0.3.0 +Default is now optional +Stair and Slab names can now be translated into other languages +Hades Revisted is now a mapgen supported game and can spawn Geodes with geodes_lib only +Turquoise ore no longer uses default textures from MTG, TMS supplies them +TMS now uses its own sound library +Crystals and polished Crystals now make crystalline sounds diff --git a/credits.txt b/credits.txt index 4a97478..f8ce59a 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. +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. diff --git a/geodes.lua b/geodes.lua index a460362..4860d2c 100644 --- a/geodes.lua +++ b/geodes.lua @@ -1,4 +1,4 @@ -if minetest.get_modpath("geodes") ~= nil then +if minetest.get_modpath("geodes") and minetest.get_modpath("default") ~= nil then geodes.register_geode("too_many_stones:mudstone", "too_many_stones:calcite", "too_many_stones:amazonite", "too_many_stones:amazonite_crystal") diff --git a/geodes_lib.lua b/geodes_lib.lua index c045d48..f70eccb 100644 --- a/geodes_lib.lua +++ b/geodes_lib.lua @@ -1,4 +1,7 @@ -if minetest.get_modpath("geodes_lib") ~= nil then + +-- Geodes for most games + +if minetest.get_modpath("geodes_lib") and minetest.get_modpath("default") ~= nil then geodes_lib:register_geode({ wherein = "default:stone", @@ -196,3 +199,206 @@ geodes_lib:register_geode({ }) end + +-- Hades Version + +if minetest.get_modpath("geodes_lib") and minetest.get_modpath("hades_core") ~= nil then + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:amazonite", + core_alt = "too_many_stones:amazonite_budding", + core_alt_chance = 100, + shell = {"too_many_stones:mudstone", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:amethyst", + core_alt = "too_many_stones:amethyst_budding", + core_alt_chance = 100, + shell = {"too_many_stones:gabbro", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:citrine", + core_alt = "too_many_stones:citrine_budding", + core_alt_chance = 100, + shell = {"too_many_stones:slate", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:crocoite", + core_alt = "too_many_stones:crocoite_budding", + core_alt_chance = 100, + shell = {"too_many_stones:gabbro", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:eudialite", + core_alt = "too_many_stones:eudialite_budding", + core_alt_chance = 100, + shell = {"too_many_stones:mudstone", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:kyanite", + core_alt = "too_many_stones:kyanite_budding", + core_alt_chance = 100, + shell = {"too_many_stones:mudstone", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:rose_quartz", + core_alt = "too_many_stones:rose_quartz_budding", + core_alt_chance = 100, + shell = {"too_many_stones:travertine", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:smokey_quartz", + core_alt = "too_many_stones:smokey_quartz_budding", + core_alt_chance = 100, + shell = {"too_many_stones:serpentine", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:vivianite", + core_alt = "too_many_stones:vivianite_budding", + core_alt_chance = 100, + shell = {"too_many_stones:travertine", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:opal", + core_alt = "too_many_stones:opal", + core_alt_chance = 100, + shell = {"too_many_stones:travertine", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:heliodor", + core_alt = "too_many_stones:heliodor_budding", + core_alt_chance = 100, + shell = {"too_many_stones:serpentine", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:black_opal", + core_alt = "too_many_stones:black_opal", + core_alt_chance = 100, + shell = {"too_many_stones:travertine", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:celestine", + core_alt = "too_many_stones:celestine_budding", + core_alt_chance = 100, + shell = {"too_many_stones:pumice", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:quartz", + core_alt = "too_many_stones:quartz_budding", + core_alt_chance = 100, + shell = {"too_many_stones:pumice", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +geodes_lib:register_geode({ + wherein = "hades_core:stone", + y_min = -31000, + y_max = -10, + scarcity = 80, + core = "too_many_stones:prasiolite", + core_alt = "too_many_stones:prasiolite_budding", + core_alt_chance = 100, + shell = {"too_many_stones:limestone_white", "too_many_stones:calcite"}, + radius_min = 2, + radius_max = 10, +}) + +end + +