This commit is contained in:
TheOnlyJoeEnderman 2023-08-27 22:57:08 +00:00
parent ab4b11ceb4
commit 5e7df63108
4 changed files with 1669 additions and 965 deletions

View File

@ -142,8 +142,12 @@ V0.4.1
Added Portuguese Translation
Added Japanese Translation
Fixed a bug where Turquoise ore was considered a normal useable stone block
Fixed Turquoise drop rate not being random
Fix stray pixel on travertine brick
Fixed Schlammstein accidentally being called Schluffstein
Removed Crystal shards as they were simply placeholders for the normal crystals
Fixed TMS stones being persistent in instances they should not: i.e. not being carved out by mods which add their own cave gen
Minor bugfixes and code cleaning
V0.4.2
Added Grey Calcite

View File

@ -893,6 +893,31 @@ minetest.register_craft({
{"too_many_stones:serpentine", "too_many_stones:serpentine", "too_many_stones:serpentine"},
}
})
-- Shale
minetest.register_craft({
output = "too_many_stones:shale_brick 4",
recipe = {
{"too_many_stones:shale", "too_many_stones:shale"},
{"too_many_stones:shale", "too_many_stones:shale"},
}
})
minetest.register_craft({
output = "too_many_stones:shale_block 9",
recipe = {
{"too_many_stones:shale", "too_many_stones:shale", "too_many_stones:shale"},
{"too_many_stones:shale", "too_many_stones:shale", "too_many_stones:shale"},
{"too_many_stones:shale", "too_many_stones:shale", "too_many_stones:shale"},
}
})
minetest.register_craft({
output = "too_many_stones:shale_tile 4",
recipe = {
{"too_many_stones:shale_brick", "too_many_stones:shale_brick"},
{"too_many_stones:shale_brick", "too_many_stones:shale_brick"},
}
})
-- Slate
minetest.register_craft({
output = "too_many_stones:slate_brick 4",
@ -1038,6 +1063,57 @@ minetest.register_craft({
{"too_many_stones:turquoise", "too_many_stones:turquoise", "too_many_stones:turquoise"},
}
})
-- Beige Tuff
minetest.register_craft({
output = "too_many_stones:tuff_beige_brick 4",
recipe = {
{"too_many_stones:tuff_beige", "too_many_stones:tuff_beige"},
{"too_many_stones:tuff_beige", "too_many_stones:tuff_beige"},
}
})
minetest.register_craft({
output = "too_many_stones:tuff_beige_block 9",
recipe = {
{"too_many_stones:tuff_beige", "too_many_stones:tuff_beige", "too_many_stones:tuff_beige"},
{"too_many_stones:tuff_beige", "too_many_stones:tuff_beige", "too_many_stones:tuff_beige"},
{"too_many_stones:tuff_beige", "too_many_stones:tuff_beige", "too_many_stones:tuff_beige"},
}
})
-- Grey Tuff
minetest.register_craft({
output = "too_many_stones:tuff_grey_brick 4",
recipe = {
{"too_many_stones:tuff_grey", "too_many_stones:tuff_grey"},
{"too_many_stones:tuff_grey", "too_many_stones:tuff_grey"},
}
})
minetest.register_craft({
output = "too_many_stones:tuff_grey_block 9",
recipe = {
{"too_many_stones:tuff_grey", "too_many_stones:tuff_grey", "too_many_stones:tuff_grey"},
{"too_many_stones:tuff_grey", "too_many_stones:tuff_grey", "too_many_stones:tuff_grey"},
{"too_many_stones:tuff_grey", "too_many_stones:tuff_grey", "too_many_stones:tuff_grey"},
}
})
-- Red Tuff
minetest.register_craft({
output = "too_many_stones:tuff_red_brick 4",
recipe = {
{"too_many_stones:tuff_red", "too_many_stones:tuff_red"},
{"too_many_stones:tuff_red", "too_many_stones:tuff_red"},
}
})
minetest.register_craft({
output = "too_many_stones:tuff_red_block 9",
recipe = {
{"too_many_stones:tuff_red", "too_many_stones:tuff_red", "too_many_stones:tuff_red"},
{"too_many_stones:tuff_red", "too_many_stones:tuff_red", "too_many_stones:tuff_red"},
{"too_many_stones:tuff_red", "too_many_stones:tuff_red", "too_many_stones:tuff_red"},
}
})
-- Vivianite
minetest.register_craft({
output = "too_many_stones:vivianite",
@ -1381,6 +1457,12 @@ minetest.register_craft({
recipe = "too_many_stones:heliodor",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:howlite",
recipe = "too_many_stones:howlite_cobble",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:howlite_cracked_brick",
@ -1561,6 +1643,18 @@ minetest.register_craft({
recipe = "too_many_stones:serpentine_brick",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:shale",
recipe = "too_many_stones:shale_cobble",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:shale_cracked_brick",
recipe = "too_many_stones:shale_brick",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:slate",
@ -1639,6 +1733,42 @@ minetest.register_craft({
recipe = "too_many_stones:travertine_yellow_brick",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:tuff_beige",
recipe = "too_many_stones:tuff_beige_cobble",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:tuff_beige_cracked_brick",
recipe = "too_many_stones:tuff_beige_brick",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:tuff_grey",
recipe = "too_many_stones:tuff_grey_cobble",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:tuff_grey_cracked_brick",
recipe = "too_many_stones:tuff_grey_brick",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:tuff_red",
recipe = "too_many_stones:tuff_red_cobble",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:tuff_red_cracked_brick",
recipe = "too_many_stones:tuff_red_brick",
})
minetest.register_craft({
type = "cooking",
output = "too_many_stones:turquoise",

246
nodes.lua
View File

@ -78,7 +78,7 @@ Vivianite
minetest.register_node("too_many_stones:agate_blue", {
description = S("Blue Agate"),
tiles = {"tms_agate_blue.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, blue_stone = 1, stone = 1, agate = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -86,7 +86,7 @@ minetest.register_node("too_many_stones:agate_blue", {
minetest.register_node("too_many_stones:agate_gray", {
description = S("Gray Agate"),
tiles = {"tms_agate_gray.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, grey_stone = 1, stone = 1, agate = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -94,7 +94,7 @@ minetest.register_node("too_many_stones:agate_gray", {
minetest.register_node("too_many_stones:agate_green", {
description = S("Green Agate"),
tiles = {"tms_agate_green.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, green_stone = 1, stone = 1, agate = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -102,7 +102,7 @@ minetest.register_node("too_many_stones:agate_green", {
minetest.register_node("too_many_stones:agate_moss", {
description = S("Moss Agate"),
tiles = {"tms_agate_moss.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_green_stone = 1, stone = 1, agate = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -110,7 +110,7 @@ minetest.register_node("too_many_stones:agate_moss", {
minetest.register_node("too_many_stones:agate_orange", {
description = S("Orange Agate"),
tiles = {"tms_agate_orange.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, orange_stone = 1, stone = 1, agate = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -118,7 +118,7 @@ minetest.register_node("too_many_stones:agate_orange", {
minetest.register_node("too_many_stones:agate_purple", {
description = S("Purple Agate"),
tiles = {"tms_agate_purple.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, violet_stone = 1, stone = 1, agate = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -126,7 +126,7 @@ minetest.register_node("too_many_stones:agate_purple", {
minetest.register_node("too_many_stones:agate_red", {
description = S("Red Agate"),
tiles = {"tms_agate_red.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, red_stone = 1, stone = 1, agate = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -134,7 +134,7 @@ minetest.register_node("too_many_stones:agate_red", {
minetest.register_node("too_many_stones:amazonite", {
description = S("Amazonite"),
tiles = {"tms_amazonite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, green_stone = 1, stone = 1},
drop = "too_many_stones:amazonite_cobble",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -182,7 +182,7 @@ minetest.register_node("too_many_stones:amber", {
drawtype = "glasslike",
tiles = {"tms_amber.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, brown_stone = 1, stone = 1},
drop = "too_many_stones:amber",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -236,7 +236,7 @@ minetest.register_node("too_many_stones:amethyst", {
drawtype = "glasslike",
tiles = {"tms_amethyst.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, violet_stone = 1, stone = 1, quartz = 1},
drop = "too_many_stones:amethyst",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -298,7 +298,7 @@ minetest.register_node("too_many_stones:ammolite", {
},
},
},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, orange_stone = 1, stone = 1, opal = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -306,7 +306,7 @@ minetest.register_node("too_many_stones:ammolite", {
minetest.register_node("too_many_stones:andesite", {
description = S("Andesite"),
tiles = {"tms_andesite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_grey_stone = 1, stone = 1},
drop = "too_many_stones:andesite_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -351,7 +351,7 @@ minetest.register_node("too_many_stones:andesite_cracked_brick", {
minetest.register_node("too_many_stones:basalt", {
description = S("Basalt"),
tiles = {"tms_basalt.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_grey_stone = 1, stone = 1},
drop = "too_many_stones:basalt_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -406,7 +406,7 @@ minetest.register_node("too_many_stones:basalt_columnar", {
description = S("Columnar Basalt"),
tiles = {"tms_basalt_columnar_top.png", "tms_basalt_columnar_top.png", "tms_basalt_columnar.png"},
paramtype2 = "facedir",
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 2, grey_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
on_place = minetest.rotate_node
@ -415,7 +415,7 @@ minetest.register_node("too_many_stones:basalt_columnar", {
minetest.register_node("too_many_stones:black_moonstone", {
description = S("Black Moonstone"),
tiles = {"tms_black_moonstone.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, black_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_glass_defaults(),
})
@ -462,7 +462,7 @@ minetest.register_node("too_many_stones:black_opal", {
},
},
},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, green_stone = 1, stone = 1, opal = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -473,7 +473,7 @@ minetest.register_node("too_many_stones:calcite", {
drawtype = "glasslike",
tiles = {"tms_calcite.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, white_stone = 1, stone = 1},
drop = "too_many_stones:calcite",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -524,7 +524,7 @@ minetest.register_node("too_many_stones:calcite_cracked_brick", {
minetest.register_node("too_many_stones:carnotite", {
description = S("Carnotite"),
tiles = {"tms_carnotite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, yellow_stone = 1, stone = 1},
drop = "too_many_stones:carnotite_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -573,7 +573,7 @@ minetest.register_node("too_many_stones:celestine", {
drawtype = "glasslike",
tiles = {"tms_celestine.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, cyan_stone = 1, stone = 1},
drop = "too_many_stones:celestine",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -624,7 +624,7 @@ minetest.register_node("too_many_stones:celestine_cracked_brick", {
minetest.register_node("too_many_stones:chrysoprase", {
description = S("Chrysoprase"),
tiles = {"tms_chrysoprase.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, green_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_glass_defaults(),
})
@ -663,7 +663,7 @@ minetest.register_node("too_many_stones:citrine", {
drawtype = "glasslike",
tiles = {"tms_citrine.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, yellow_stone = 1, stone = 1, quartz = 1},
drop = "too_many_stones:citrine",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -714,7 +714,7 @@ minetest.register_node("too_many_stones:citrine_cracked_brick", {
minetest.register_node("too_many_stones:covellite", {
description = S("Covellite"),
tiles = {"tms_covellite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, blue_stone = 1, stone = 1},
drop = "too_many_stones:covellite_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -760,7 +760,7 @@ minetest.register_node("too_many_stones:crocoite", {
description = S("Crocoite"),
tiles = {"tms_crocoite.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, orange_stone = 1, stone = 1},
drop = "too_many_stones:crocoite",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -800,7 +800,7 @@ minetest.register_node("too_many_stones:crocoite_cracked_brick", {
minetest.register_node("too_many_stones:diorite", {
description = S("Diorite"),
tiles = {"tms_diorite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, white_stone = 1, stone = 1},
drop = "too_many_stones:diorite_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -848,7 +848,7 @@ minetest.register_node("too_many_stones:erythrite", {
drawtype = "glasslike",
tiles = {"tms_erythrite.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, magenta_stone = 1, stone = 1},
drop = "too_many_stones:erythrite",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -900,7 +900,7 @@ minetest.register_node("too_many_stones:eudialite", {
description = S("Eudialite"),
tiles = {"tms_eudialite.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, magenta_stone = 1, stone = 1},
drop = "too_many_stones:eudialite",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -951,7 +951,7 @@ minetest.register_node("too_many_stones:fire_opal", {
},
},
},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, orange_stone = 1, stone = 1, opal = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -959,7 +959,7 @@ minetest.register_node("too_many_stones:fire_opal", {
minetest.register_node("too_many_stones:fluorite", {
description = S("Fluorite"),
tiles = {"tms_fluorite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, blue_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -995,7 +995,7 @@ minetest.register_node("too_many_stones:fluorite_cracked_brick", {
minetest.register_node("too_many_stones:gabbro", {
description = S("Gabbro"),
tiles = {"tms_gabbro.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_grey_stone = 1, stone = 1},
drop = "too_many_stones:gabbro_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1041,7 +1041,7 @@ minetest.register_node("too_many_stones:gabbro_cracked_brick", {
minetest.register_node("too_many_stones:galena", {
description = S("Galena"),
tiles = {"tms_galena.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, grey_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -1078,7 +1078,7 @@ minetest.register_node("too_many_stones:granite_black", {
description = S("Black Granite"),
tiles = {"tms_granite_black.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, black_stone = 1, stone = 1, granite = 1},
drop = "too_many_stones:granite_black_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1126,7 +1126,7 @@ minetest.register_node("too_many_stones:granite_blue", {
description = S("Blue Granite"),
tiles = {"tms_granite_blue.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, blue_stone = 1, stone = 1, granite = 1},
drop = "too_many_stones:granite_blue_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1174,7 +1174,7 @@ minetest.register_node("too_many_stones:granite_gray", {
description = S("Gray Granite"),
tiles = {"tms_granite_gray.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, grey_stone = 1, stone = 1, granite = 1},
drop = "too_many_stones:granite_gray_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1222,7 +1222,7 @@ minetest.register_node("too_many_stones:granite_green", {
description = S("Green Granite"),
tiles = {"tms_granite_green.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_green_stone = 1, stone = 1, granite = 1},
drop = "too_many_stones:granite_green_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1270,7 +1270,7 @@ minetest.register_node("too_many_stones:granite_pink", {
description = S("Pink Granite"),
tiles = {"tms_granite_pink.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, pink_stone = 1, stone = 1, granite = 1},
drop = "too_many_stones:granite_pink_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1318,7 +1318,7 @@ minetest.register_node("too_many_stones:granite_red", {
description = S("Red Granite"),
tiles = {"tms_granite_red.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, red_stone = 1, stone = 1, granite = 1},
drop = "too_many_stones:granite_red_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1366,7 +1366,7 @@ minetest.register_node("too_many_stones:granite_white", {
description = S("White Granite"),
tiles = {"tms_granite_white.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, white_stone = 1, stone = 1, granite = 1},
drop = "too_many_stones:granite_white_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1413,7 +1413,7 @@ minetest.register_node("too_many_stones:granite_white_cracked_brick", {
minetest.register_node("too_many_stones:granite_yellow", {
description = S("Yellow Granite"),
tiles = {"tms_granite_yellow.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, yellow_stone = 1, stone = 1, granite = 1},
drop = "too_many_stones:granite_yellow_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1461,7 +1461,7 @@ minetest.register_node("too_many_stones:heliodor", {
drawtype = "glasslike",
tiles = {"tms_heliodor.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, yellow_stone = 1, stone = 1, beryl = 1},
drop = "too_many_stones:heliodor",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -1512,7 +1512,7 @@ minetest.register_node("too_many_stones:heliodor_cracked_brick", {
minetest.register_node("too_many_stones:howlite", {
description = S("Howlite"),
tiles = {"tms_howlite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, white_stone = 1, stone = 1},
drop = "too_many_stones:howlite_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1557,7 +1557,7 @@ minetest.register_node("too_many_stones:howlite_cracked_brick", {
minetest.register_node("too_many_stones:ilvaite", {
description = S("Ilvaite"),
tiles = {"tms_ilvaite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, black_stone = 1, stone = 1},
drop = "too_many_stones:ilvaite_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1600,15 +1600,11 @@ minetest.register_node("too_many_stones:ilvaite_cracked_brick", {
sounds = too_many_stones.node_sound_stone_defaults(),
})
--Jade
minetest.register_alias("too_many_stones:greenstone", "too_many_stones:jade")
minetest.register_alias("too_many_stones:greenstone_block", "too_many_stones:jade_block")
minetest.register_alias("too_many_stones:greenstone_cobble", "too_many_stones:jade_cobble")
minetest.register_alias("too_many_stones:greenstone_brick", "too_many_stones:jade_brick")
minetest.register_alias("too_many_stones:greenstone_cracked_brick", "too_many_stones:jade_cracked_brick")
minetest.register_node("too_many_stones:jade", {
description = S("Jade"),
tiles = {"tms_jade.png"},
is_ground_content = true,
groups = {cracky = 3, dark_green_stone = 1, stone = 1},
drop = "too_many_stones:jade_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1617,6 +1613,7 @@ minetest.register_node("too_many_stones:jade", {
minetest.register_node("too_many_stones:jade_block", {
description = S("Jade Block"),
tiles = {"tms_jade_block.png"},
is_ground_content = false,
groups = {cracky = 3, dark_green_stone = 1, stone = 1},
drop = "too_many_stones:jade_block",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1653,7 +1650,7 @@ minetest.register_node("too_many_stones:jade_cracked_brick", {
minetest.register_node("too_many_stones:kyanite", {
description = S("Kyanite"),
tiles = {"tms_kyanite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, cyan_stone = 1, stone = 1},
drop = "too_many_stones:kyanite_cobble",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -1699,7 +1696,7 @@ minetest.register_node("too_many_stones:kyanite_cracked_brick", {
minetest.register_node("too_many_stones:lapis_lazuli", {
description = S("Lapis Lazuli"),
tiles = {"tms_lapis_lazuli.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, blue_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -1736,7 +1733,7 @@ minetest.register_node("too_many_stones:lapis_lazuli_cracked_brick", {
minetest.register_node("too_many_stones:limestone_blue", {
description = S("Blue Limestone"),
tiles = {"tms_limestone_blue.png"},
is_ground_content = false,
is_ground_content = true,
groups = {limestone = 1, cracky = 3, grey_stone = 1, stone = 1},
drop = "too_many_stones:limestone_blue_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1782,7 +1779,7 @@ minetest.register_node("too_many_stones:limestone_blue_cracked_brick", {
minetest.register_node("too_many_stones:limestone_white", {
description = S("White Limestone"),
tiles = {"tms_limestone_white.png"},
is_ground_content = false,
is_ground_content = true,
groups = {limestone = 1, cracky = 3, white_stone = 1, stone = 1},
drop = "too_many_stones:limestone_white_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1831,7 +1828,7 @@ minetest.register_node("too_many_stones:moonstone", {
drawtype = "glasslike",
tiles = {"tms_moonstone.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, blue_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_glass_defaults(),
paramtype = "light",
@ -1880,7 +1877,7 @@ minetest.register_node("too_many_stones:moonstone_cracked_brick", {
minetest.register_node("too_many_stones:morion_quartz", {
description = S("Morion Quartz"),
tiles = {"tms_morion_quartz.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, white_stone = 1, stone = 1, quartz = 1},
sounds = too_many_stones.node_sound_glass_defaults(),
})
@ -1916,7 +1913,7 @@ minetest.register_node("too_many_stones:morion_quartz_cracked_brick", {
minetest.register_node("too_many_stones:marble", {
description = S("Marble"),
tiles = {"tms_marble.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, white_stone = 1, stone = 1},
drop = "too_many_stones:marble_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -1962,7 +1959,7 @@ minetest.register_node("too_many_stones:marble_cracked_brick", {
minetest.register_node("too_many_stones:mudstone", {
description = S("Mudstone"),
tiles = {"tms_mudstone.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, brown_stone = 1, stone = 1},
drop = "too_many_stones:mudstone_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2019,7 +2016,7 @@ minetest.register_node("too_many_stones:opal", {
},
},
},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, cyan_stone = 1, stone = 1, opal = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -2027,7 +2024,7 @@ minetest.register_node("too_many_stones:opal", {
minetest.register_node("too_many_stones:picture_jasper", {
description = S("picture_jasper"),
tiles = {"tms_picture_jasper.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, orange_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -2038,7 +2035,7 @@ minetest.register_node("too_many_stones:prasiolite", {
drawtype = "glasslike",
tiles = {"tms_prasiolite.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_green_stone = 1, stone = 1, quartz = 1},
drop = "too_many_stones:prasiolite",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -2089,7 +2086,7 @@ minetest.register_node("too_many_stones:prasiolite_cracked_brick", {
minetest.register_node("too_many_stones:pumice", {
description = S("Pumice"),
tiles = {"tms_pumice.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, grey_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -2125,7 +2122,7 @@ minetest.register_node("too_many_stones:pumice_cracked_brick", {
minetest.register_node("too_many_stones:pyrite", {
description = S("Pyrite"),
tiles = {"tms_pyrite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, yellow_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -2164,7 +2161,7 @@ minetest.register_node("too_many_stones:quartz", {
drawtype = "glasslike",
tiles = {"tms_quartz.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, white_stone = 1, stone = 1, quartz = 1},
drop = "too_many_stones:quartz",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -2218,7 +2215,7 @@ minetest.register_node("too_many_stones:rose_quartz", {
drawtype = "glasslike",
tiles = {"tms_rose_quartz.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, pink_stone = 1, stone = 1, quartz = 1},
sounds = too_many_stones.node_sound_glass_defaults(),
paramtype = "light",
@ -2267,7 +2264,7 @@ minetest.register_node("too_many_stones:rose_quartz_cracked_brick", {
minetest.register_node("too_many_stones:scoria", {
description = S("Scoria"),
tiles = {"tms_scoria.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, red_stone = 1, stone = 1},
drop = "too_many_stones:scoria_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2313,7 +2310,7 @@ minetest.register_node("too_many_stones:scoria_cracked_brick", {
minetest.register_node("too_many_stones:serpentine", {
description = S("Serpentine"),
tiles = {"tms_serpentine.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_green_stone = 1, stone = 1},
drop = "too_many_stones:serpentine_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2359,7 +2356,7 @@ minetest.register_node("too_many_stones:serpentine_cracked_brick", {
minetest.register_node("too_many_stones:shale", {
description = S("Shale"),
tiles = {"tms_shale.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_green_stone = 1, stone = 1},
drop = "too_many_stones:shale_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2405,7 +2402,7 @@ minetest.register_node("too_many_stones:shale_cracked_brick", {
minetest.register_node("too_many_stones:slate", {
description = S("Slate"),
tiles = {"tms_slate.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_grey_stone = 1, stone = 1},
drop = "too_many_stones:slate_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2466,7 +2463,7 @@ minetest.register_node("too_many_stones:smokey_quartz", {
drawtype = "glasslike",
tiles = {"tms_smokey_quartz.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, brown_stone = 1, stone = 1, quartz = 1},
drop = "too_many_stones:smokey_quartz",
sounds = too_many_stones.node_sound_glass_defaults(),
@ -2517,7 +2514,7 @@ minetest.register_node("too_many_stones:smokey_quartz_cracked_brick", {
minetest.register_node("too_many_stones:soapstone", {
description = S("Soapstone"),
tiles = {"tms_soapstone.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, black_stone = 1, stone = 1},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -2550,16 +2547,11 @@ minetest.register_node("too_many_stones:soapstone_cracked_brick", {
sounds = too_many_stones.node_sound_stone_defaults(),
})
-- Sodalite
minetest.register_alias("too_many_stones:bluestone", "too_many_stones:sodalite")
minetest.register_alias("too_many_stones:bluestone_block", "too_many_stones:sodalite_block")
minetest.register_alias("too_many_stones:bluestone_cobble", "too_many_stones:sodalite_cobble")
minetest.register_alias("too_many_stones:bluestone_brick", "too_many_stones:sodalite_brick")
minetest.register_alias("too_many_stones:bluestone_cracked_brick", "too_many_stones:sodalite_cracked_brick")
minetest.register_node("too_many_stones:sodalite", {
description = S("Sodalite"),
tiles = {"tms_sodalite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, blue_stone = 1, stone = 1},
drop = "too_many_stones:sodalite_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2605,7 +2597,7 @@ minetest.register_node("too_many_stones:sodalite_cracked_brick", {
minetest.register_node("too_many_stones:sugilite", {
description = S("Sugilite"),
tiles = {"tms_sugilite.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, violet_stone = 1, stone = 1},
drop = "too_many_stones:sugilite_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2651,7 +2643,7 @@ minetest.register_node("too_many_stones:sugilite_cracked_brick", {
minetest.register_node("too_many_stones:travertine", {
description = S("Travertine"),
tiles = {"tms_travertine.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, yellow_stone = 1, stone = 1},
drop = "too_many_stones:travertine_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2697,7 +2689,7 @@ minetest.register_node("too_many_stones:travertine_cracked_brick", {
minetest.register_node("too_many_stones:travertine_yellow", {
description = S("Yellow Travertine"),
tiles = {"tms_travertine_yellow.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, yellow_stone = 1, stone = 1},
drop = "too_many_stones:travertine_yellow_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2743,7 +2735,7 @@ minetest.register_node("too_many_stones:travertine_yellow_cracked_brick", {
minetest.register_node("too_many_stones:tuff_beige", {
description = S("Beige Tuff"),
tiles = {"tms_tuff_beige.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, white_stone = 1, stone = 1, tuff = 1},
drop = "too_many_stones:tuff_beige_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2788,7 +2780,7 @@ minetest.register_node("too_many_stones:tuff_beige_cracked_brick", {
minetest.register_node("too_many_stones:tuff_grey", {
description = S("Grey Tuff"),
tiles = {"tms_tuff_grey.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, grey_stone = 1, stone = 1, tuff = 1},
drop = "too_many_stones:tuff_grey_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2833,7 +2825,7 @@ minetest.register_node("too_many_stones:tuff_grey_cracked_brick", {
minetest.register_node("too_many_stones:tuff_red", {
description = S("Red Tuff"),
tiles = {"tms_tuff_red.png"},
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, orange_stone = 1, stone = 1, tuff = 1},
drop = "too_many_stones:tuff_red_cobble",
sounds = too_many_stones.node_sound_stone_defaults(),
@ -2876,29 +2868,101 @@ minetest.register_node("too_many_stones:tuff_red_cracked_brick", {
})
-- Turquoise
minetest.register_node("too_many_stones:sandstone_with_turquoise", {
description = S("Turquoise Ore"),
description = S("Sandstone Turquoise Ore"),
tiles = {"tms_sandstone.png^tms_mineral_turquoise.png"},
is_ground_content = false,
groups = {cracky = 3, cyan_stone = 1, stone = 1},
drop = "too_many_stones:turquoise_pebble 9",
is_ground_content = true,
groups = {cracky = 3},
drop = {
max_items = 4, -- Maximum number of item stacks to drop
items = {
{
items = {"too_many_stones:turquoise_pebble 3"},
rarity = 1,
},
{
items = {"too_many_stones:turquoise_pebble 4"},
rarity = 2,
},
{
items = {"too_many_stones:turquoise_pebble 2"},
rarity = 2,
},
{
items = {"too_many_stones:turquoise_pebble 5"},
rarity = 3,
},
{
items = {"too_many_stones:turquoise_pebble 1"},
rarity = 3,
},
},
},
sounds = too_many_stones.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:desert_sandstone_with_turquoise", {
description = S("Turquoise Ore"),
description = S("Desert Sandstone Turquoise Ore"),
tiles = {"tms_desert_sandstone.png^tms_mineral_turquoise.png"},
is_ground_content = false,
groups = {cracky = 3, cyan_stone = 1, stone = 1},
drop = "too_many_stones:turquoise_pebble 9",
groups = {cracky = 3},
drop = {
max_items = 4, -- Maximum number of item stacks to drop
items = {
{
items = {"too_many_stones:turquoise_pebble 3"},
rarity = 1,
},
{
items = {"too_many_stones:turquoise_pebble 4"},
rarity = 2,
},
{
items = {"too_many_stones:turquoise_pebble 2"},
rarity = 2,
},
{
items = {"too_many_stones:turquoise_pebble 5"},
rarity = 3,
},
{
items = {"too_many_stones:turquoise_pebble 1"},
rarity = 3,
},
},
},
sounds = too_many_stones.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:silver_sandstone_with_turquoise", {
description = S("Turquoise Ore"),
description = S("Silver Sandstone Turquoise Ore"),
tiles = {"tms_silver_sandstone.png^tms_mineral_turquoise.png"},
is_ground_content = false,
groups = {cracky = 3, cyan_stone = 1, stone = 1},
drop = "too_many_stones:turquoise_pebble 9",
groups = {cracky = 3},
drop = {
max_items = 4, -- Maximum number of item stacks to drop
items = {
{
items = {"too_many_stones:turquoise_pebble 3"},
rarity = 1,
},
{
items = {"too_many_stones:turquoise_pebble 4"},
rarity = 2,
},
{
items = {"too_many_stones:turquoise_pebble 2"},
rarity = 2,
},
{
items = {"too_many_stones:turquoise_pebble 5"},
rarity = 3,
},
{
items = {"too_many_stones:turquoise_pebble 1"},
rarity = 3,
},
},
},
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -2911,7 +2975,7 @@ minetest.register_node("too_many_stones:turquoise", {
description = S("Turquoise"),
tiles = {"tms_turquoise.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
groups = {cracky = 3, cyan_stone = 1, stone = 1},
drop = "too_many_stones:turquoise",
sounds = too_many_stones.node_sound_stone_defaults(),
})
@ -2959,7 +3023,7 @@ minetest.register_node("too_many_stones:vivianite", {
drawtype = "glasslike",
tiles = {"tms_vivianite.png"},
sunlight_propagates = true,
is_ground_content = false,
is_ground_content = true,
groups = {cracky = 3, dark_green_stone = 1, stone = 1},
drop = "too_many_stones:vivianite",
sounds = too_many_stones.node_sound_glass_defaults(),

2254
stairs.lua

File diff suppressed because it is too large Load Diff