add slate, fix bug, add ores

This commit is contained in:
TheOnlyJoeEnderman 2022-12-02 23:54:55 +00:00
parent 33bfc9030b
commit 14ddd6494e
5 changed files with 3462 additions and 16 deletions

View File

@ -14,7 +14,9 @@ default.get_translator = S
local default_path = minetest.get_modpath("too_many_stones") local default_path = minetest.get_modpath("too_many_stones")
dofile(default_path.."/nodes.lua") dofile(default_path.."/nodes.lua")
dofile(default_path.."/nodes_ore.lua")
dofile(default_path.."/crafting.lua") dofile(default_path.."/crafting.lua")
dofile(default_path.."/mapgen.lua") dofile(default_path.."/mapgen.lua")
dofile(default_path.."/mapgen_ore.lua")
dofile(default_path.."/wall.lua") dofile(default_path.."/wall.lua")
dofile(default_path.."/stairs.lua") dofile(default_path.."/stairs.lua")

View File

@ -198,14 +198,54 @@
-- Carnotite -- Carnotite
minetest.register_ore({
ore_type = "blob",
ore = "too_many_stones:calcite",
wherein = {"default: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},
seed = 44,
octaves = 1,
persist = 0.0
},
})
minetest.register_ore({ minetest.register_ore({
ore_type = "blob", ore_type = "blob",
ore = "too_many_stones:carnotite", ore = "too_many_stones:calcite",
wherein = {"default:stone", "default:desert_stone"}, wherein = {"default:stone"},
clust_scarcity = 64 * 64 * 64,
clust_size = 20,
y_max = -60,
y_min = -31000,
noise_threshold = 0.0,
noise_params = {
offset = 0.5,
scale = 0.2,
spread = {x = 5, y = 5, z = 5},
seed = 44,
octaves = 1,
persist = 0.0
},
})
minetest.register_ore({
ore_type = "blob",
ore = "too_many_stones:calcite",
wherein = {"default:stone"},
clust_scarcity = 64 * 64 * 64, clust_scarcity = 64 * 64 * 64,
clust_size = 30, clust_size = 30,
y_max = 31000, y_max = 31000,
y_min = -31000, y_min = 300,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = { noise_params = {
offset = 0.5, offset = 0.5,

2414
mapgen_ore.lua Normal file

File diff suppressed because it is too large Load Diff

View File

@ -60,9 +60,9 @@ minetest.register_node("too_many_stones:amazonite_cracked_brick", {
groups = {cracky = 2, stone = 1}, groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
-- Bluestone -- Sodalite
minetest.register_node("too_many_stones:bluestone", { minetest.register_node("too_many_stones:bluestone", {
description = S("Bluestone"), description = S("Sodalite"),
tiles = {"tms_bluestone.png"}, tiles = {"tms_bluestone.png"},
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
@ -71,7 +71,7 @@ minetest.register_node("too_many_stones:bluestone", {
}) })
minetest.register_node("too_many_stones:bluestone_block", { minetest.register_node("too_many_stones:bluestone_block", {
description = S("Bluestone Block"), description = S("Sodalite Block"),
tiles = {"tms_bluestone_block.png"}, tiles = {"tms_bluestone_block.png"},
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
@ -80,7 +80,7 @@ minetest.register_node("too_many_stones:bluestone_block", {
}) })
minetest.register_node("too_many_stones:bluestone_cobble", { minetest.register_node("too_many_stones:bluestone_cobble", {
description = S("Cobbled Bluestone"), description = S("Cobbled Sodalite"),
tiles = {"tms_bluestone_cobble.png"}, tiles = {"tms_bluestone_cobble.png"},
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, stone = 2}, groups = {cracky = 3, stone = 2},
@ -88,7 +88,7 @@ minetest.register_node("too_many_stones:bluestone_cobble", {
}) })
minetest.register_node("too_many_stones:bluestone_brick", { minetest.register_node("too_many_stones:bluestone_brick", {
description = S("Bluestone Brick"), description = S("Sodalite Brick"),
paramtype2 = "facedir", paramtype2 = "facedir",
place_param2 = 0, place_param2 = 0,
tiles = {"tms_bluestone_brick.png"}, tiles = {"tms_bluestone_brick.png"},
@ -98,7 +98,7 @@ minetest.register_node("too_many_stones:bluestone_brick", {
}) })
minetest.register_node("too_many_stones:bluestone_cracked_brick", { minetest.register_node("too_many_stones:bluestone_cracked_brick", {
description = S("Cracked Bluestone Brick"), description = S("Cracked Sodalite Brick"),
paramtype2 = "facedir", paramtype2 = "facedir",
place_param2 = 0, place_param2 = 0,
tiles = {"tms_bluestone_brick.png^tms_brick_crack_overlay.png"}, tiles = {"tms_bluestone_brick.png^tms_brick_crack_overlay.png"},
@ -117,6 +117,7 @@ minetest.register_node("too_many_stones:calcite", {
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "too_many_stones:calcite", drop = "too_many_stones:calcite",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light",
}) })
minetest.register_node("too_many_stones:calcite_block", { minetest.register_node("too_many_stones:calcite_block", {
@ -129,6 +130,7 @@ minetest.register_node("too_many_stones:calcite_block", {
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "too_many_stones:calcite_block", drop = "too_many_stones:calcite_block",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light",
}) })
minetest.register_node("too_many_stones:calcite_brick", { minetest.register_node("too_many_stones:calcite_brick", {
@ -142,6 +144,7 @@ minetest.register_node("too_many_stones:calcite_brick", {
is_ground_content = false, is_ground_content = false,
groups = {cracky = 2, stone = 1}, groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light",
}) })
minetest.register_node("too_many_stones:calcite_cracked_brick", { minetest.register_node("too_many_stones:calcite_cracked_brick", {
@ -155,6 +158,7 @@ minetest.register_node("too_many_stones:calcite_cracked_brick", {
is_ground_content = false, is_ground_content = false,
groups = {cracky = 2, stone = 1}, groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light",
}) })
-- Carnotite -- Carnotite
minetest.register_node("too_many_stones:carnotite", { minetest.register_node("too_many_stones:carnotite", {
@ -325,9 +329,9 @@ minetest.register_node("too_many_stones:granite_red_cracked_brick", {
groups = {cracky = 2, stone = 1}, groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
--Greenstone --Jade
minetest.register_node("too_many_stones:greenstone", { minetest.register_node("too_many_stones:greenstone", {
description = S("Greenstone"), description = S("Jade"),
tiles = {"tms_greenstone.png"}, tiles = {"tms_greenstone.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "too_many_stones:greenstone_cobble", drop = "too_many_stones:greenstone_cobble",
@ -335,7 +339,7 @@ minetest.register_node("too_many_stones:greenstone", {
}) })
minetest.register_node("too_many_stones:greenstone_block", { minetest.register_node("too_many_stones:greenstone_block", {
description = S("Greenstone Block"), description = S("Jade Block"),
tiles = {"tms_greenstone_block.png"}, tiles = {"tms_greenstone_block.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "too_many_stones:greenstone_block", drop = "too_many_stones:greenstone_block",
@ -343,7 +347,7 @@ minetest.register_node("too_many_stones:greenstone_block", {
}) })
minetest.register_node("too_many_stones:greenstone_cobble", { minetest.register_node("too_many_stones:greenstone_cobble", {
description = S("Cobbled Greenstone"), description = S("Cobbled Jade"),
tiles = {"tms_greenstone_cobble.png"}, tiles = {"tms_greenstone_cobble.png"},
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, stone = 2}, groups = {cracky = 3, stone = 2},
@ -351,7 +355,7 @@ minetest.register_node("too_many_stones:greenstone_cobble", {
}) })
minetest.register_node("too_many_stones:greenstone_brick", { minetest.register_node("too_many_stones:greenstone_brick", {
description = S("Greenstone Brick"), description = S("Jade Brick"),
paramtype2 = "facedir", paramtype2 = "facedir",
place_param2 = 0, place_param2 = 0,
tiles = {"tms_greenstone_brick.png"}, tiles = {"tms_greenstone_brick.png"},
@ -361,7 +365,7 @@ minetest.register_node("too_many_stones:greenstone_brick", {
}) })
minetest.register_node("too_many_stones:greenstone_cracked_brick", { minetest.register_node("too_many_stones:greenstone_cracked_brick", {
description = S("Cracked Greenstone Brick"), description = S("Cracked Jade Brick"),
paramtype2 = "facedir", paramtype2 = "facedir",
place_param2 = 0, place_param2 = 0,
tiles = {"tms_greenstone_brick.png^tms_brick_crack_overlay.png"}, tiles = {"tms_greenstone_brick.png^tms_brick_crack_overlay.png"},
@ -610,6 +614,7 @@ minetest.register_node("too_many_stones:rose_quartz", {
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "too_many_stones:rose_quartz", drop = "too_many_stones:rose_quartz",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light",
}) })
minetest.register_node("too_many_stones:rose_quartz_block", { minetest.register_node("too_many_stones:rose_quartz_block", {
@ -622,6 +627,7 @@ minetest.register_node("too_many_stones:rose_quartz_block", {
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "too_many_stones:rose_quartz_block", drop = "too_many_stones:rose_quartz_block",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light",
}) })
minetest.register_node("too_many_stones:rose_quartz_brick", { minetest.register_node("too_many_stones:rose_quartz_brick", {
@ -635,6 +641,7 @@ minetest.register_node("too_many_stones:rose_quartz_brick", {
is_ground_content = false, is_ground_content = false,
groups = {cracky = 2, stone = 1}, groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light",
}) })
minetest.register_node("too_many_stones:rose_quartz_cracked_brick", { minetest.register_node("too_many_stones:rose_quartz_cracked_brick", {
@ -648,6 +655,7 @@ minetest.register_node("too_many_stones:rose_quartz_cracked_brick", {
is_ground_content = false, is_ground_content = false,
groups = {cracky = 2, stone = 1}, groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light",
}) })
-- Scoria -- Scoria
minetest.register_node("too_many_stones:scoria", { minetest.register_node("too_many_stones:scoria", {
@ -789,7 +797,7 @@ minetest.register_node("too_many_stones:sugilite_cracked_brick", {
}) })
--[[ --[[
minetest.register_node("too_many_stones:bluestone", { minetest.register_node("too_many_stones:bluestone", {
description = S("Bluestone"), description = S("Sodalite"),
drawtype = "glasslike", drawtype = "glasslike",
tiles = {"tms_bluestone.png"}, tiles = {"tms_bluestone.png"},
paramtype = "light", paramtype = "light",

982
nodes_ore.lua Normal file
View File

@ -0,0 +1,982 @@
-- mods/too_many_stones/nodes_ore.lua
-- support for MT game translation.
local S = default.get_translator
--[[ Index:
--]]
-- Amazonite
minetest.register_node("too_many_stones:amazonite_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_amazonite.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_amazonite.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_amazonite.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_amazonite.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_amazonite.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_amazonite.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_amazonite.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Bluestone
minetest.register_node("too_many_stones:bluestone_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_bluestone.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_bluestone.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_bluestone.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_bluestone.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_bluestone.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_bluestone.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_bluestone.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Calcite
minetest.register_node("too_many_stones:calcite_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_calcite.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:calcite_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_calcite.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:calcite_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_calcite.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:calcite_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_calcite.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:calcite_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_calcite.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:calcite_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_calcite.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:calcite_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_calcite.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Carnotite
minetest.register_node("too_many_stones:carnotite_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_carnotite.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_carnotite.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_carnotite.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_carnotite.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_carnotite.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_carnotite.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_carnotite.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Blue Granite
minetest.register_node("too_many_stones:granite_blue_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_granite_blue.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_blue_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_granite_blue.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_blue_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_granite_blue.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_blue_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_granite_blue.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_blue_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_granite_blue.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_blue_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_granite_blue.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_blue_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_granite_blue.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Green Granite
minetest.register_node("too_many_stones:granite_green_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_granite_green.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_green_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_granite_green.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_green_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_granite_green.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_green_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_granite_green.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_green_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_granite_green.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_green_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_granite_green.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_green_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_granite_green.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Red Granite
minetest.register_node("too_many_stones:granite_red_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_granite_red.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_red_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_granite_red.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_red_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_granite_red.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_red_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_granite_red.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_red_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_granite_red.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_red_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_granite_red.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:granite_red_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_granite_red.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
--Greenstone
minetest.register_node("too_many_stones:greenstone_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_greenstone.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_greenstone.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_greenstone.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_greenstone.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_greenstone.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_greenstone.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_greenstone.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Ilvaite
minetest.register_node("too_many_stones:ilvaite_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_ilvaite.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_ilvaite.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_ilvaite.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_ilvaite.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_ilvaite.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_ilvaite.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_ilvaite.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Kyanite
minetest.register_node("too_many_stones:kyanite_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_kyanite.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_kyanite.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_kyanite.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_kyanite.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_kyanite.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_kyanite.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_kyanite.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Blue Limestone
minetest.register_node("too_many_stones:limestone_blue_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_limestone_blue.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_blue_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_limestone_blue.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_blue_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_limestone_blue.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_blue_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_limestone_blue.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_blue_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_limestone_blue.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_blue_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_limestone_blue.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_blue_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_limestone_blue.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- White Limestone
minetest.register_node("too_many_stones:limestone_white_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_limestone_white.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_white_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_limestone_white.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_white_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_limestone_white.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_white_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_limestone_white.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_white_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_limestone_white.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_white_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_limestone_white.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:limestone_white_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_limestone_white.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Marble
minetest.register_node("too_many_stones:marble_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_marble.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_marble.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_marble.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_marble.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_marble.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_marble.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_marble.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Rose Quartz
minetest.register_node("too_many_stones:rose_quartz_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_rose_quartz.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:rose_quartz_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_rose_quartz.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:rose_quartz_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_rose_quartz.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:rose_quartz_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_rose_quartz.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:rose_quartz_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_rose_quartz.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:rose_quartz_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_rose_quartz.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:rose_quartz_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_rose_quartz.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Scoria
minetest.register_node("too_many_stones:scoria_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_scoria.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_scoria.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_scoria.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_scoria.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_scoria.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_scoria.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_scoria.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Slate
minetest.register_node("too_many_stones:slate_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_slate.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:slate_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_slate.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:slate_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_slate.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:slate_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_slate.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:slate_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_slate.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:slate_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_slate.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:slate_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_slate.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
-- Sugilite
minetest.register_node("too_many_stones:sugilite_with_coal", {
description = S("Coal Ore"),
tiles = {"tms_sugilite.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_with_iron", {
description = S("Iron Ore"),
tiles = {"tms_sugilite.png^default_mineral_iron.png"},
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_with_copper", {
description = S("Copper Ore"),
tiles = {"tms_sugilite.png^default_mineral_copper.png"},
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_with_tin", {
description = S("Tin Ore"),
tiles = {"tms_sugilite.png^default_mineral_tin.png"},
groups = {cracky = 2},
drop = "default:tin_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_with_mese", {
description = S("Mese Ore"),
tiles = {"tms_sugilite.png^default_mineral_mese.png"},
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_with_gold", {
description = S("Gold Ore"),
tiles = {"tms_sugilite.png^default_mineral_gold.png"},
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_with_diamond", {
description = S("Diamond Ore"),
tiles = {"tms_sugilite.png^default_mineral_diamond.png"},
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})