diff --git a/LICENSE.txt b/LICENSE.txt index 964dc2b..6fb3733 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -86,3 +86,11 @@ rights may limit how you use the material. For more details: http://creativecommons.org/licenses/by/3.0/ + + +License of geode generation +--------------------------- + +(C) AwesomeDragon97 + +LGPL-3.0 diff --git a/README.md b/README.md index 3866f9c..3b735e7 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,22 @@ # Too Many Stones -This mod is in a quite functional state, but not a polished state. It currently features 22 stone types that all spawn in the world, cobble for most of them, and bricks, cracked brick, and blocks for all stone types. If your game supplies stairs, you will have access to stairs and slabs. If your game has walls, then you will also get walls for most stone types. The placement of the stones in the mapgen is nearing finalization. More stones may be added, and you can put a feature request on ContentDB or the repo for new ones. I probably won't add any boring stones though. +This mod is in a quite functional state, but not a polished state. It currently features 35 stone types that all spawn in the world, cobble for most of them, and bricks, cracked brick, and blocks for all stone types. If your game supplies stairs, you will have access to stairs and slabs. If your game has walls, then you will also get walls for most stone types. If you have the mod "geodes" installed, you will get several geodes as well. The placement of the stones in the mapgen is nearing finalization. More stones may be added, and you can put a feature request on ContentDB or the repo for new ones. I probably won't add any boring stones though. Done: Amazonite-(light green) +Amber-(dark orange) +Amethyst-(dark purple) Calcite-(light grey) Carnotite-(mustard yellow) +Citrine-(dark yellow) +Crocoite-(bright orange) +Eudialite-(dark red) +Gabbro-(dark grey) Black Granite-(black) -Blue Granite-(blue) -Gray Granite-(gray) +Blue Granite-(bright blue) +Gray Granite-(light gray) Green Granite-(green) -Pink Granite-(pink) +Pink Granite-(pale pink) Red Granite-(red) White Granite-(white) Ilvaite-(black) @@ -19,12 +25,19 @@ Kyanite-(light blue) Blue Limestone-(blue grey) White Limestone-(yellow grey) Marble-(white) +Mudstone-(brown) +Opal-(white to blue) +Pyrite-(bright yellow) Rose Quartz-(pink) Scoria-(red) +Serpentine-(dark green) Slate-(dark grey) +Smokey Quartz-(dark tan) Sodalite-(dark blue) Sugilite-(purple) +Travertine-(light tan) Turquoise-(light blue) +Vivianite-(dark green) To Do: Find and add ore mods to optional depends diff --git a/mod.conf b/mod.conf index 1a45e48..d8d0a93 100644 --- a/mod.conf +++ b/mod.conf @@ -1,5 +1,5 @@ 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. +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. depends = default optional_depends = stairs, walls, geodes, moreores min_minetest_version = 5.3 diff --git a/nodes.lua b/nodes.lua index 1e44fd2..307d6f7 100644 --- a/nodes.lua +++ b/nodes.lua @@ -60,6 +60,114 @@ minetest.register_node("too_many_stones:amazonite_cracked_brick", { groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), }) +-- Amber +minetest.register_node("too_many_stones:amber", { + description = S("Amber"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_amber.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:amber", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:amber_block", { + description = S("Amber Block"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_amber_block.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:amber_block", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:amber_brick", { + description = S("Amber Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_amber_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:amber_cracked_brick", { + description = S("Cracked Amber Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_amber_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) +-- Amethyst +minetest.register_node("too_many_stones:amethyst", { + description = S("Amethyst"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_amethyst.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:amethyst", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:amethyst_block", { + description = S("Amethyst Block"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_amethyst_block.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:amethyst_block", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:amethyst_brick", { + description = S("Amethyst Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_amethyst_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:amethyst_cracked_brick", { + description = S("Cracked Amethyst Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_amethyst_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) -- Calcite minetest.register_node("too_many_stones:calcite", { description = S("Calcite"), @@ -160,6 +268,188 @@ minetest.register_node("too_many_stones:carnotite_cracked_brick", { groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), }) +-- Citrine +minetest.register_node("too_many_stones:citrine", { + description = S("Citrine"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_citrine.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:citrine", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:citrine_block", { + description = S("Citrine Block"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_citrine_block.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:citrine_block", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:citrine_brick", { + description = S("Citrine Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_citrine_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:citrine_cracked_brick", { + description = S("Cracked Citrine Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_citrine_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) +-- Crocoite +minetest.register_node("too_many_stones:crocoite", { + description = S("Crocoite"), + tiles = {"tms_crocoite.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:crocoite", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:crocoite_block", { + description = S("Crocoite Block"), + tiles = {"tms_crocoite_block.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:crocoite_block", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:crocoite_brick", { + description = S("Crocoite Brick"), + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_crocoite_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:crocoite_cracked_brick", { + description = S("Cracked Crocoite Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_crocoite_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) +-- Eudialite +minetest.register_node("too_many_stones:eudialite", { + description = S("Eudialite"), + tiles = {"tms_eudialite.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:eudialite", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:eudialite_block", { + description = S("Eudialite Block"), + tiles = {"tms_eudialite_block.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:eudialite_block", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:eudialite_brick", { + description = S("Eudialite Brick"), + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_eudialite_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:eudialite_cracked_brick", { + description = S("Cracked Eudialite Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_eudialite_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) +-- Gabbro +minetest.register_node("too_many_stones:gabbro", { + description = S("Gabbro"), + tiles = {"tms_gabbro.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:gabbro_cobble", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:gabbro_block", { + description = S("Gabbro Block"), + tiles = {"tms_gabbro_block.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:gabbro_block", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:gabbro_cobble", { + description = S("Cobbled Gabbro"), + tiles = {"tms_gabbro_cobble.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 2}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:gabbro_brick", { + description = S("Gabbro Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_gabbro_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:gabbro_cracked_brick", { + description = S("Cracked Gabbro Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_gabbro_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) -- Black Granite minetest.register_node("too_many_stones:granite_black", { description = S("Black Granite"), @@ -237,7 +527,7 @@ minetest.register_node("too_many_stones:granite_blue_cracked_brick", { description = S("Cracked Blue Granite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_granite_blue_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_granite_blue_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -278,7 +568,7 @@ minetest.register_node("too_many_stones:granite_gray_cracked_brick", { description = S("Cracked Gray Granite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_granite_gray_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_granite_gray_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -319,7 +609,7 @@ minetest.register_node("too_many_stones:granite_green_cracked_brick", { description = S("Cracked Green Granite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_granite_green_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_granite_green_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -360,7 +650,7 @@ minetest.register_node("too_many_stones:granite_pink_cracked_brick", { description = S("Cracked Pink Granite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_granite_pink_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_granite_pink_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -401,7 +691,7 @@ minetest.register_node("too_many_stones:granite_red_cracked_brick", { description = S("Cracked Red Granite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_granite_red_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_granite_red_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -442,7 +732,7 @@ minetest.register_node("too_many_stones:granite_white_cracked_brick", { description = S("Cracked White Granite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_granite_white_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_granite_white_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -488,7 +778,7 @@ minetest.register_node("too_many_stones:ilvaite_cracked_brick", { description = S("Cracked Ilvaite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_ilvaite_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_ilvaite_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -538,7 +828,7 @@ minetest.register_node("too_many_stones:jade_cracked_brick", { description = S("Cracked Jade Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_jade_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_jade_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -584,7 +874,7 @@ minetest.register_node("too_many_stones:kyanite_cracked_brick", { description = S("Cracked Kyanite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_kyanite_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_kyanite_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -630,7 +920,7 @@ minetest.register_node("too_many_stones:limestone_blue_cracked_brick", { description = S("Cracked Blue Limestone Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_limestone_blue_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_limestone_blue_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -676,7 +966,7 @@ minetest.register_node("too_many_stones:limestone_white_cracked_brick", { description = S("Cracked White Limestone Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_limestone_white_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_limestone_white_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -722,7 +1012,108 @@ minetest.register_node("too_many_stones:marble_cracked_brick", { description = S("Cracked Marble Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_marble_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_marble_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) +-- Mudstone +minetest.register_node("too_many_stones:mudstone", { + description = S("Mudstone"), + tiles = {"tms_mudstone.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:mudstone_cobble", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:mudstone_block", { + description = S("Mudstone Block"), + tiles = {"tms_mudstone_block.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:mudstone_block", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:mudstone_cobble", { + description = S("Cobbled Mudstone"), + tiles = {"tms_mudstone_cobble.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 2}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:mudstone_brick", { + description = S("Mudstone Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_mudstone_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:mudstone_cracked_brick", { + description = S("Cracked Mudstone Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_mudstone_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) +-- Opal +minetest.register_node("too_many_stones:opal", { + description = S("Opal"), + tiles = { + { + name = "tms_opal_animated.png", + backface_culling = false, + animation = { + type = "vertical_frames", + aspect_w = 16, + aspect_h = 16, + length = 2.0, + }, + }, +}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) +-- Pyrite +minetest.register_node("too_many_stones:pyrite", { + description = S("Pyrite"), + tiles = {"tms_pyrite.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:pyrite_block", { + description = S("Pyrite Block"), + tiles = {"tms_pyrite_block.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:pyrite_block", + sounds = default.node_sound_stone_defaults(), +}) +minetest.register_node("too_many_stones:pyrite_brick", { + description = S("Pyrite Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_pyrite_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:pyrite_cracked_brick", { + description = S("Cracked Pyrite Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_pyrite_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -775,7 +1166,7 @@ minetest.register_node("too_many_stones:rose_quartz_cracked_brick", { sunlight_propagates = true, paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_rose_quartz_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_rose_quartz_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -822,7 +1213,53 @@ minetest.register_node("too_many_stones:scoria_cracked_brick", { description = S("Cracked Scoria Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_scoria_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_scoria_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) +-- Serpentine +minetest.register_node("too_many_stones:serpentine", { + description = S("Serpentine"), + tiles = {"tms_serpentine.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:serpentine_cobble", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:serpentine_block", { + description = S("Serpentine Block"), + tiles = {"tms_serpentine_block.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:serpentine_block", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:serpentine_cobble", { + description = S("Cobbled Serpentine"), + tiles = {"tms_serpentine_cobble.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 2}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:serpentine_brick", { + description = S("Serpentine Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_serpentine_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:serpentine_cracked_brick", { + description = S("Cracked Serpentine Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_serpentine_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -868,11 +1305,65 @@ minetest.register_node("too_many_stones:slate_cracked_brick", { description = S("Cracked Slate Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_slate_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_slate_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), }) +-- Smokey Quartz +minetest.register_node("too_many_stones:smokey_quartz", { + description = S("Smokey Quartz"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_smokey_quartz.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:smokey_quartz", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:smokey_quartz_block", { + description = S("Smokey Quartz Block"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_smokey_quartz_block.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:smokey_quartz_block", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:smokey_quartz_brick", { + description = S("Smokey Quartz Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_smokey_quartz_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:smokey_quartz_cracked_brick", { + description = S("Cracked Smokey Quartz Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_smokey_quartz_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) -- 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") @@ -920,7 +1411,7 @@ minetest.register_node("too_many_stones:sodalite_cracked_brick", { description = S("Cracked Sodalite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_sodalite_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_sodalite_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -966,7 +1457,53 @@ minetest.register_node("too_many_stones:sugilite_cracked_brick", { description = S("Cracked Sugilite Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_sugilite_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_sugilite_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) +-- Travertine +minetest.register_node("too_many_stones:travertine", { + description = S("Travertine"), + tiles = {"tms_travertine.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:travertine_cobble", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:travertine_block", { + description = S("Travertine Block"), + tiles = {"tms_travertine_block.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:travertine_block", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:travertine_cobble", { + description = S("Cobbled Travertine"), + tiles = {"tms_travertine_cobble.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 2}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:travertine_brick", { + description = S("Travertine Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_travertine_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("too_many_stones:travertine_cracked_brick", { + description = S("Cracked Travertine Brick"), + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_travertine_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), @@ -1044,11 +1581,65 @@ minetest.register_node("too_many_stones:turquoise_cracked_brick", { description = S("Cracked Turquoise Brick"), paramtype2 = "facedir", place_param2 = 0, - tiles = {"tms_turquoise_brick.png^tms_brick_crack_overlay.png"}, + tiles = {"tms_turquoise_cracked_brick.png"}, is_ground_content = false, groups = {cracky = 2, stone = 1}, sounds = default.node_sound_stone_defaults(), }) +-- Vivianite +minetest.register_node("too_many_stones:vivianite", { + description = S("Vivianite"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_vivianite.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:vivianite", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:vivianite_block", { + description = S("Vivianite Block"), + use_texture_alpha = "blend", + drawtype = "glasslike", + tiles = {"tms_vivianite_block.png"}, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 3, stone = 1}, + drop = "too_many_stones:vivianite_block", + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:vivianite_brick", { + description = S("Vivianite Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_vivianite_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) + +minetest.register_node("too_many_stones:vivianite_cracked_brick", { + description = S("Cracked Vivianite Brick"), + use_texture_alpha = "blend", + drawtype = "glasslike", + sunlight_propagates = true, + paramtype2 = "facedir", + place_param2 = 0, + tiles = {"tms_vivianite_cracked_brick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", +}) --[[ minetest.register_node("too_many_stones:bluestone", { description = S("Sodalite"), diff --git a/stairs.lua b/stairs.lua index 5630491..95037e0 100644 --- a/stairs.lua +++ b/stairs.lua @@ -55,82 +55,91 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) --- Sodalite -minetest.register_alias("stairs:stair_bluestone", "stairs:stair_sodalite") -minetest.register_alias("stairs:stair_bluestone_block", "stairs:stair_sodalite_block") -minetest.register_alias("stairs:stair_bluestone_cobble", "stairs:stair_sodalite_cobble") -minetest.register_alias("stairs:stair_bluestone_brick", "stairs:stair_sodalite_brick") -minetest.register_alias("stairs:stair_bluestone_cracked_brick", "stairs:stair_sodalite_cracked_brick") - -minetest.register_alias("stairs:stair_inner_bluestone", "stairs:stair_inner_sodalite") -minetest.register_alias("stairs:stair_inner_bluestone_block", "stairs:stair_inner_sodalite_block") -minetest.register_alias("stairs:stair_inner_bluestone_cobble", "stairs:stair_inner_sodalite_cobble") -minetest.register_alias("stairs:stair_inner_bluestone_brick", "stairs:stair_inner_sodalite_brick") -minetest.register_alias("stairs:stair_inner_bluestone_cracked_brick", "stairs:stair_inner_sodalite_cracked_brick") - -minetest.register_alias("stairs:stair_outer_bluestone", "stairs:stair_outer_sodalite") -minetest.register_alias("stairs:stair_outer_bluestone_block", "stairs:stair_outer_sodalite_block") -minetest.register_alias("stairs:stair_outer_bluestone_cobble", "stairs:stair_outer_sodalite_cobble") -minetest.register_alias("stairs:stair_outer_bluestone_brick", "stairs:stair_outer_sodalite_brick") -minetest.register_alias("stairs:stair_outer_bluestone_cracked_brick", "stairs:stair_outer_sodalite_cracked_brick") - -minetest.register_alias("stairs:slab_bluestone", "stairs:slab_sodalite") -minetest.register_alias("stairs:slab_bluestone_block", "stairs:slab_sodalite_block") -minetest.register_alias("stairs:slab_bluestone_cobble", "stairs:slab_sodalite_cobble") -minetest.register_alias("stairs:slab_bluestone_brick", "stairs:slab_sodalite_brick") -minetest.register_alias("stairs:slab_bluestone_cracked_brick", "stairs:slab_sodalite_cracked_brick") - +-- Amber stairs.register_stair_and_slab( - "sodalite", - "too_many_stones:sodalite", + "amber", + "too_many_stones:amber", {cracky = 3}, - {"tms_sodalite.png"}, - "Sodalite Stair", - "Sodalite Slab", + {"tms_amber.png"}, + "Amber Stair", + "Amber Slab", default.node_sound_stone_defaults(), true ) stairs.register_stair_and_slab( - "sodalite_cobble", - "too_many_stones:sodalite_cobble", + "amber_brick", + "too_many_stones:amber_brick", + {cracky = 2}, + {"tms_amber_brick.png"}, + "Amber Brick Stair", + "Amber Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "amber_cracked_brick", + "too_many_stones:amber_cracked_brick", + {cracky = 2}, + {"tms_amber_cracked_brick.png"}, + "Cracked Amber Brick Stair", + "Cracked Amber Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "amber_block", + "too_many_stones:amber_block", + {cracky = 2}, + {"tms_amber_block.png"}, + "Amber Block Stair", + "Amber Block Slab", + default.node_sound_stone_defaults(), + false +) +-- Amethyst +stairs.register_stair_and_slab( + "amethyst", + "too_many_stones:amethyst", {cracky = 3}, - {"tms_sodalite_cobble.png"}, - "Cobbled Sodalite Stair", - "Cobbled Sodalite Slab", + {"tms_amethyst.png"}, + "Amethyst Stair", + "Amethyst Slab", default.node_sound_stone_defaults(), true ) stairs.register_stair_and_slab( - "sodalite_brick", - "too_many_stones:sodalite_brick", + "amethyst_brick", + "too_many_stones:amethyst_brick", {cracky = 2}, - {"tms_sodalite_brick.png"}, - "Sodalite Brick Stair", - "Sodalite Brick Slab", + {"tms_amethyst_brick.png"}, + "Amethyst Brick Stair", + "Amethyst Brick Slab", default.node_sound_stone_defaults(), false ) stairs.register_stair_and_slab( - "sodalite_cracked_brick", - "too_many_stones:sodalite_cracked_brick", + "amethyst_cracked_brick", + "too_many_stones:amethyst_cracked_brick", {cracky = 2}, - {"tms_sodalite_brick.png^tms_brick_crack_overlay.png"}, - "Cracked Sodalite Brick Stair", - "Cracked Sodalite Brick Slab", + {"tms_amethyst_cracked_brick.png"}, + "Cracked Amethyst Brick Stair", + "Cracked Amethyst Brick Slab", default.node_sound_stone_defaults(), false ) stairs.register_stair_and_slab( - "sodalite_block", - "too_many_stones:sodalite_block", + "amethyst_block", + "too_many_stones:amethyst_block", {cracky = 2}, - {"tms_sodalite_block.png"}, - "Sodalite Block Stair", - "Sodalite Block Slab", + {"tms_amethyst_block.png"}, + "Amethyst Block Stair", + "Amethyst Block Slab", default.node_sound_stone_defaults(), false ) @@ -233,6 +242,193 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) +-- Citrine +stairs.register_stair_and_slab( + "citrine", + "too_many_stones:citrine", + {cracky = 3}, + {"tms_citrine.png"}, + "Citrine Stair", + "Citrine Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "citrine_brick", + "too_many_stones:citrine_brick", + {cracky = 2}, + {"tms_citrine_brick.png"}, + "Citrine Brick Stair", + "Citrine Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "citrine_cracked_brick", + "too_many_stones:citrine_cracked_brick", + {cracky = 2}, + {"tms_citrine_cracked_brick.png"}, + "Cracked Citrine Brick Stair", + "Cracked Citrine Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "citrine_block", + "too_many_stones:citrine_block", + {cracky = 2}, + {"tms_citrine_block.png"}, + "Citrine Block Stair", + "Citrine Block Slab", + default.node_sound_stone_defaults(), + false +) +-- Crocoite +stairs.register_stair_and_slab( + "crocoite", + "too_many_stones:crocoite", + {cracky = 3}, + {"tms_crocoite.png"}, + "Crocoite Stair", + "Crocoite Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "crocoite_brick", + "too_many_stones:crocoite_brick", + {cracky = 2}, + {"tms_crocoite_brick.png"}, + "Crocoite Brick Stair", + "Crocoite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "crocoite_cracked_brick", + "too_many_stones:crocoite_cracked_brick", + {cracky = 2}, + {"tms_crocoite_cracked_brick.png"}, + "Cracked Crocoite Brick Stair", + "Cracked Crocoite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "crocoite_block", + "too_many_stones:crocoite_block", + {cracky = 2}, + {"tms_crocoite_block.png"}, + "Crocoite Block Stair", + "Crocoite Block Slab", + default.node_sound_stone_defaults(), + false +) +-- Eudialite +stairs.register_stair_and_slab( + "eudialite", + "too_many_stones:eudialite", + {cracky = 3}, + {"tms_eudialite.png"}, + "Eudialite Stair", + "Eudialite Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "eudialite_brick", + "too_many_stones:eudialite_brick", + {cracky = 2}, + {"tms_eudialite_brick.png"}, + "Eudialite Brick Stair", + "Eudialite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "eudialite_cracked_brick", + "too_many_stones:eudialite_cracked_brick", + {cracky = 2}, + {"tms_eudialite_cracked_brick.png"}, + "Cracked Eudialite Brick Stair", + "Cracked Eudialite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "eudialite_block", + "too_many_stones:eudialite_block", + {cracky = 2}, + {"tms_eudialite_block.png"}, + "Eudialite Block Stair", + "Eudialite Block Slab", + default.node_sound_stone_defaults(), + false +) +-- Gabbro +stairs.register_stair_and_slab( + "gabbro", + "too_many_stones:gabbro", + {cracky = 3}, + {"tms_gabbro.png"}, + "Gabbro Stair", + "Gabbro Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "gabbro_cobble", + "too_many_stones:gabbro_cobble", + {cracky = 3}, + {"tms_gabbro_cobble.png"}, + "Cobbled Gabbro Stair", + "Cobbled Gabbro Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "gabbro_brick", + "too_many_stones:gabbro_brick", + {cracky = 2}, + {"tms_gabbro_brick.png"}, + "Gabbro Brick Stair", + "Gabbro Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "gabbro_cracked_brick", + "too_many_stones:gabbro_cracked_brick", + {cracky = 2}, + {"tms_gabbro_cracked_brick.png"}, + "Cracked Gabbro Brick Stair", + "Cracked Gabbro Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "gabbro_block", + "too_many_stones:gabbro_block", + {cracky = 2}, + {"tms_gabbro_block.png"}, + "Gabbro Block Stair", + "Gabbro Block Slab", + default.node_sound_stone_defaults(), + false +) -- Black Granite stairs.register_stair_and_slab( "granite_black", @@ -541,6 +737,61 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) +-- Ilvaite +stairs.register_stair_and_slab( + "ilvaite", + "too_many_stones:ilvaite", + {cracky = 3}, + {"tms_ilvaite.png"}, + "Ilvaite Stair", + "Ilvaite Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "ilvaite_cobble", + "too_many_stones:ilvaite_cobble", + {cracky = 3}, + {"tms_ilvaite_cobble.png"}, + "Cobbled Ilvaite Stair", + "Cobbled Ilvaite Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "ilvaite_brick", + "too_many_stones:ilvaite_brick", + {cracky = 2}, + {"tms_ilvaite_brick.png"}, + "Ilvaite Brick Stair", + "Ilvaite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "ilvaite_cracked_brick", + "too_many_stones:ilvaite_cracked_brick", + {cracky = 2}, + {"tms_ilvaite_brick.png^tms_brick_crack_overlay.png"}, + "Cracked Ilvaite Brick Stair", + "Cracked Ilvaite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "ilvaite_block", + "too_many_stones:ilvaite_block", + {cracky = 2}, + {"tms_ilvaite_block.png"}, + "Ilvaite Block Stair", + "Ilvaite Block Slab", + default.node_sound_stone_defaults(), + false +) -- Jade minetest.register_alias("stairs:stair_greenstone", "stairs:stair_jade") minetest.register_alias("stairs:stair_greenstone_block", "stairs:stair_jade_block") @@ -620,61 +871,6 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) --- Ilvaite -stairs.register_stair_and_slab( - "ilvaite", - "too_many_stones:ilvaite", - {cracky = 3}, - {"tms_ilvaite.png"}, - "Ilvaite Stair", - "Ilvaite Slab", - default.node_sound_stone_defaults(), - true -) - -stairs.register_stair_and_slab( - "ilvaite_cobble", - "too_many_stones:ilvaite_cobble", - {cracky = 3}, - {"tms_ilvaite_cobble.png"}, - "Cobbled Ilvaite Stair", - "Cobbled Ilvaite Slab", - default.node_sound_stone_defaults(), - true -) - -stairs.register_stair_and_slab( - "ilvaite_brick", - "too_many_stones:ilvaite_brick", - {cracky = 2}, - {"tms_ilvaite_brick.png"}, - "Ilvaite Brick Stair", - "Ilvaite Brick Slab", - default.node_sound_stone_defaults(), - false -) - -stairs.register_stair_and_slab( - "ilvaite_cracked_brick", - "too_many_stones:ilvaite_cracked_brick", - {cracky = 2}, - {"tms_ilvaite_brick.png^tms_brick_crack_overlay.png"}, - "Cracked Ilvaite Brick Stair", - "Cracked Ilvaite Brick Slab", - default.node_sound_stone_defaults(), - false -) - -stairs.register_stair_and_slab( - "ilvaite_block", - "too_many_stones:ilvaite_block", - {cracky = 2}, - {"tms_ilvaite_block.png"}, - "Ilvaite Block Stair", - "Ilvaite Block Slab", - default.node_sound_stone_defaults(), - false -) -- Kyanite stairs.register_stair_and_slab( "kyanite", @@ -895,6 +1091,105 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) +-- Mudstone +stairs.register_stair_and_slab( + "mudstone", + "too_many_stones:mudstone", + {cracky = 3}, + {"tms_mudstone.png"}, + "Mudstone Stair", + "Mudstone Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "mudstone_cobble", + "too_many_stones:mudstone_cobble", + {cracky = 3}, + {"tms_mudstone_cobble.png"}, + "Cobbled Mudstone Stair", + "Cobbled Mudstone Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "mudstone_brick", + "too_many_stones:mudstone_brick", + {cracky = 2}, + {"tms_mudstone_brick.png"}, + "Mudstone Brick Stair", + "Mudstone Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "mudstone_cracked_brick", + "too_many_stones:mudstone_cracked_brick", + {cracky = 2}, + {"tms_mudstone_cracked_brick.png"}, + "Cracked Mudstone Brick Stair", + "Cracked Mudstone Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "mudstone_block", + "too_many_stones:mudstone_block", + {cracky = 2}, + {"tms_mudstone_block.png"}, + "Mudstone Block Stair", + "Mudstone Block Slab", + default.node_sound_stone_defaults(), + false +) +-- Pyrite +stairs.register_stair_and_slab( + "pyrite", + "too_many_stones:pyrite", + {cracky = 3}, + {"tms_pyrite.png"}, + "Pyrite Stair", + "Pyrite Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "pyrite_brick", + "too_many_stones:pyrite_brick", + {cracky = 2}, + {"tms_pyrite_brick.png"}, + "Pyrite Brick Stair", + "Pyrite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "pyrite_cracked_brick", + "too_many_stones:pyrite_cracked_brick", + {cracky = 2}, + {"tms_pyrite_cracked_brick.png"}, + "Cracked Pyrite Brick Stair", + "Cracked Pyrite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "pyrite_block", + "too_many_stones:pyrite_block", + {cracky = 2}, + {"tms_pyrite_block.png"}, + "Pyrite Block Stair", + "Pyrite Block Slab", + default.node_sound_stone_defaults(), + false +) -- Rose Quartz stairs.register_stair_and_slab( "rose_quartz", @@ -994,6 +1289,61 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) +-- Serpentine +stairs.register_stair_and_slab( + "serpentine", + "too_many_stones:serpentine", + {cracky = 3}, + {"tms_serpentine.png"}, + "Serpentine Stair", + "Serpentine Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "serpentine_cobble", + "too_many_stones:serpentine_cobble", + {cracky = 3}, + {"tms_serpentine_cobble.png"}, + "Cobbled Serpentine Stair", + "Cobbled Serpentine Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "serpentine_brick", + "too_many_stones:serpentine_brick", + {cracky = 2}, + {"tms_serpentine_brick.png"}, + "Serpentine Brick Stair", + "Serpentine Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "serpentine_cracked_brick", + "too_many_stones:serpentine_cracked_brick", + {cracky = 2}, + {"tms_serpentine_cracked_brick.png"}, + "Cracked Serpentine Brick Stair", + "Cracked Serpentine Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "serpentine_block", + "too_many_stones:serpentine_block", + {cracky = 2}, + {"tms_serpentine_block.png"}, + "Serpentine Block Stair", + "Serpentine Block Slab", + default.node_sound_stone_defaults(), + false +) -- Slate stairs.register_stair_and_slab( "slate", @@ -1049,6 +1399,129 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) +-- Smokey Quartz +stairs.register_stair_and_slab( + "smokey_quartz", + "too_many_stones:smokey_quartz", + {cracky = 3}, + {"tms_smokey_quartz.png"}, + "Smokey Quartz Stair", + "Smokey Quartz Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "smokey_quartz_brick", + "too_many_stones:smokey_quartz_brick", + {cracky = 2}, + {"tms_smokey_quartz_brick.png"}, + "Smokey Quartz Brick Stair", + "Smokey Quartz Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "smokey_quartz_cracked_brick", + "too_many_stones:smokey_quartz_cracked_brick", + {cracky = 2}, + {"tms_smokey_quartz_cracked_brick.png"}, + "Cracked Smokey Quartz Brick Stair", + "Cracked Smokey Quartz Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "smokey_quartz_block", + "too_many_stones:smokey_quartz_block", + {cracky = 2}, + {"tms_smokey_quartz_block.png"}, + "Smokey Quartz Block Stair", + "Smokey Quartz Block Slab", + default.node_sound_stone_defaults(), + false +) +-- Sodalite +minetest.register_alias("stairs:stair_bluestone", "stairs:stair_sodalite") +minetest.register_alias("stairs:stair_bluestone_block", "stairs:stair_sodalite_block") +minetest.register_alias("stairs:stair_bluestone_cobble", "stairs:stair_sodalite_cobble") +minetest.register_alias("stairs:stair_bluestone_brick", "stairs:stair_sodalite_brick") +minetest.register_alias("stairs:stair_bluestone_cracked_brick", "stairs:stair_sodalite_cracked_brick") + +minetest.register_alias("stairs:stair_inner_bluestone", "stairs:stair_inner_sodalite") +minetest.register_alias("stairs:stair_inner_bluestone_block", "stairs:stair_inner_sodalite_block") +minetest.register_alias("stairs:stair_inner_bluestone_cobble", "stairs:stair_inner_sodalite_cobble") +minetest.register_alias("stairs:stair_inner_bluestone_brick", "stairs:stair_inner_sodalite_brick") +minetest.register_alias("stairs:stair_inner_bluestone_cracked_brick", "stairs:stair_inner_sodalite_cracked_brick") + +minetest.register_alias("stairs:stair_outer_bluestone", "stairs:stair_outer_sodalite") +minetest.register_alias("stairs:stair_outer_bluestone_block", "stairs:stair_outer_sodalite_block") +minetest.register_alias("stairs:stair_outer_bluestone_cobble", "stairs:stair_outer_sodalite_cobble") +minetest.register_alias("stairs:stair_outer_bluestone_brick", "stairs:stair_outer_sodalite_brick") +minetest.register_alias("stairs:stair_outer_bluestone_cracked_brick", "stairs:stair_outer_sodalite_cracked_brick") + +minetest.register_alias("stairs:slab_bluestone", "stairs:slab_sodalite") +minetest.register_alias("stairs:slab_bluestone_block", "stairs:slab_sodalite_block") +minetest.register_alias("stairs:slab_bluestone_cobble", "stairs:slab_sodalite_cobble") +minetest.register_alias("stairs:slab_bluestone_brick", "stairs:slab_sodalite_brick") +minetest.register_alias("stairs:slab_bluestone_cracked_brick", "stairs:slab_sodalite_cracked_brick") + +stairs.register_stair_and_slab( + "sodalite", + "too_many_stones:sodalite", + {cracky = 3}, + {"tms_sodalite.png"}, + "Sodalite Stair", + "Sodalite Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "sodalite_cobble", + "too_many_stones:sodalite_cobble", + {cracky = 3}, + {"tms_sodalite_cobble.png"}, + "Cobbled Sodalite Stair", + "Cobbled Sodalite Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "sodalite_brick", + "too_many_stones:sodalite_brick", + {cracky = 2}, + {"tms_sodalite_brick.png"}, + "Sodalite Brick Stair", + "Sodalite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "sodalite_cracked_brick", + "too_many_stones:sodalite_cracked_brick", + {cracky = 2}, + {"tms_sodalite_brick.png^tms_brick_crack_overlay.png"}, + "Cracked Sodalite Brick Stair", + "Cracked Sodalite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "sodalite_block", + "too_many_stones:sodalite_block", + {cracky = 2}, + {"tms_sodalite_block.png"}, + "Sodalite Block Stair", + "Sodalite Block Slab", + default.node_sound_stone_defaults(), + false +) -- Sugilite stairs.register_stair_and_slab( "sugilite", @@ -1104,6 +1577,61 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) +-- Travertine +stairs.register_stair_and_slab( + "travertine", + "too_many_stones:travertine", + {cracky = 3}, + {"tms_travertine.png"}, + "Travertine Stair", + "Travertine Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "travertine_cobble", + "too_many_stones:travertine_cobble", + {cracky = 3}, + {"tms_travertine_cobble.png"}, + "Cobbled Travertine Stair", + "Cobbled Travertine Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "travertine_brick", + "too_many_stones:travertine_brick", + {cracky = 2}, + {"tms_travertine_brick.png"}, + "Travertine Brick Stair", + "Travertine Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "travertine_cracked_brick", + "too_many_stones:travertine_cracked_brick", + {cracky = 2}, + {"tms_travertine_cracked_brick.png"}, + "Cracked Travertine Brick Stair", + "Cracked Travertine Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "travertine_block", + "too_many_stones:travertine_block", + {cracky = 2}, + {"tms_travertine_block.png"}, + "Travertine Block Stair", + "Travertine Block Slab", + default.node_sound_stone_defaults(), + false +) -- Turquoise stairs.register_stair_and_slab( "turquoise", @@ -1159,4 +1687,48 @@ stairs.register_stair_and_slab( default.node_sound_stone_defaults(), false ) +-- Vivianite +stairs.register_stair_and_slab( + "vivianite", + "too_many_stones:vivianite", + {cracky = 3}, + {"tms_vivianite.png"}, + "Vivianite Stair", + "Vivianite Slab", + default.node_sound_stone_defaults(), + true +) + +stairs.register_stair_and_slab( + "vivianite_brick", + "too_many_stones:vivianite_brick", + {cracky = 2}, + {"tms_vivianite_brick.png"}, + "Vivianite Brick Stair", + "Vivianite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "vivianite_cracked_brick", + "too_many_stones:vivianite_cracked_brick", + {cracky = 2}, + {"tms_vivianite_cracked_brick.png"}, + "Cracked Vivianite Brick Stair", + "Cracked Vivianite Brick Slab", + default.node_sound_stone_defaults(), + false +) + +stairs.register_stair_and_slab( + "vivianite_block", + "too_many_stones:vivianite_block", + {cracky = 2}, + {"tms_vivianite_block.png"}, + "Vivianite Block Stair", + "Vivianite Block Slab", + default.node_sound_stone_defaults(), + false +) end