This commit is contained in:
TheOnlyJoeEnderman 2023-02-18 00:32:59 +00:00
parent 498462280a
commit a979376380
5 changed files with 338 additions and 559 deletions

View File

@ -94,3 +94,11 @@ License of geode generation
(C) AwesomeDragon97
LGPL-3.0
License of geodes_lib geode generation
--------------------------------------
(C) alerikaisattera
LGPL-3.0

View File

@ -16,8 +16,11 @@ 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_ore.lua")
-- dofile(default_path.."/mapgen_ore.lua")

File diff suppressed because it is too large Load Diff

99
mapgen_secondary.lua Normal file
View File

@ -0,0 +1,99 @@
-- Black Opal
minetest.register_ore({
ore_type = "blob",
ore = "too_many_stones:black_opal",
wherein = {"too_many_stones:gabbro"},
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
},
})
-- Crocoite
minetest.register_ore({
ore_type = "blob",
ore = "too_many_stones:crocoite",
wherein = {"too_many_stones:carnotite", "too_many_stones:granite_black"},
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
},
})
-- Jade
minetest.register_ore({
ore_type = "blob",
ore = "too_many_stones:jade",
wherein = {"default:stone", "too_many_stones:serpentine"},
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
},
})
-- Opal
minetest.register_ore({
ore_type = "blob",
ore = "too_many_stones:opal",
wherein = {"too_many_stones:amazonite"},
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
},
})
-- Pyrite
minetest.register_ore({
ore_type = "blob",
ore = "too_many_stones:pyrite",
wherein = {"too_many_stones:mudtsone", "too_many_stones:sodalite"},
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
},
})

View File

@ -1,6 +1,6 @@
name = too_many_stones
description = Adds several new stone types to Minetest Game or any game that supplies default. V6 terrain is unsupported. Stairs, slabs, and walls will be available only if your game supplies stairs and walls. Geodes are added if you have "geodes" mod.
description = Adds several new stone types to Minetest Game or any game that supplies default. V6 terrain is unsupported. Stairs, slabs, and walls will be available only if your game supplies stairs and walls. Geodes are added if you have "geodes" or "geodes_lib" mod.
depends = default
optional_depends = stairs, walls, geodes, moreores
optional_depends = stairs, walls, geodes, moreores, geodes_lib
min_minetest_version = 5.3
title = Too Many Stones