Upload files to ''

This commit is contained in:
TheOnlyJoeEnderman 2023-02-23 21:07:28 +00:00
parent b5d918d6b0
commit 0da99a7ab2
4 changed files with 934 additions and 52 deletions

103
README.md
View File

@ -1,53 +1,62 @@
# Too Many Stones
This mod is in a quite functional state, but not a polished state. It currently features 44 stone types (7 of which glow) 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 either "geodes" or "geodes_lib" 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.
This mod is in a quite functional state, but not a polished state. It currently features 53 stone types (7 of which glow) 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 either "geodes" or "geodes_lib" 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)
###### Black Opal-(black to green)
###### Calcite-(light grey)
###### Carnotite-(mustard yellow)
###### Citrine-(dark yellow)
###### Crocoite-(bright orange)
###### Eudialite-(dark red)
###### Gabbro-(dark grey)
###### Glow Apatite-(light purple)
###### Glow Calcite-(red)
###### Glow Esperite-(yellow)
###### Glow Fluorite-(indigo)
###### Glow Selenite-(light blue)
###### Glow Sodalite-(orange)
###### Glow Willemite-(lime green)
###### Black Granite-(black)
###### Blue Granite-(bright blue)
###### Gray Granite-(light gray)
###### Green Granite-(green)
###### Pink Granite-(pale pink)
###### Red Granite-(red)
###### White Granite-(white)
###### Heliodor-(yellow)
###### Ilvaite-(black)
###### Jade-(dark green)
###### 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)
##### Amazonite-(light green)
##### Amber-(dark orange)
##### Amethyst-(dark purple)
##### Black Opal-(black to green)
##### Calcite-(light grey)
##### Carnotite-(mustard yellow)
##### Celestine-(sky blue)
##### Chrysoprase-(apple green)
##### Citrine-(dark yellow)
##### Covellite-(dark cobalt blue)
##### Crocoite-(bright orange)
##### Erythrite-(dark purpley red)
##### Eudialite-(dark red)
##### Gabbro-(dark grey)
##### Galena-(silver)
##### Glow Apatite-(light purple)
##### Glow Calcite-(red)
##### Glow Esperite-(yellow)
##### Glow Fluorite-(indigo)
##### Glow Selenite-(light blue)
##### Glow Sodalite-(orange)
##### Glow Willemite-(lime green)
##### Black Granite-(black)
##### Blue Granite-(bright blue)
##### Gray Granite-(light gray)
##### Green Granite-(green)
##### Pink Granite-(pale pink)
##### Red Granite-(red)
##### White Granite-(white)
##### Heliodor-(yellow)
##### Howlite-(white)
##### Ilvaite-(black)
##### Jade-(dark green) was Greenstone
##### Kyanite-(light blue)
##### Lapis Lazuli-(blue with gold streaks)
##### Blue Limestone-(blue grey)
##### White Limestone-(yellow grey)
##### Marble-(white)
##### Mudstone-(brown)
##### Opal-(white to blue)
##### Pumice-(grey)
##### Pyrite-(bright yellow)
##### Rose Quartz-(pink)
##### Scoria-(red)
##### Serpentine-(dark green)
##### Slate-(dark grey)
##### Smokey Quartz-(dark tan)
##### Soapstone-(black with white streaks)
##### Sodalite-(dark blue) was Bluestone
##### Sugilite-(purple)
##### Travertine-(light tan)
##### Turquoise-(light blue)
##### Vivianite-(dark green)
## To Do:
###### Find and add ore mods to optional depends
###### Crystal Sounds
##### Find and add ore mods to optional depends
##### Crystal Sounds

371
nodes.lua
View File

@ -7,12 +7,50 @@ local S = default.get_translator
--[[ Index:
Amazonite
Amber
Amethyst
Black Opal
Calcite
Carnotite
Celestine
Chrysoprase
Citrine
Covellite
Crocoite
Erythrite
Eudialite
Gabbro
Galena
Granite
Heliodor
Howlite
Ilvaite
Jade
Kyanite
Lapis Lazuli
Limestone
Marble
Mudstone
Opal
Pumice
Pyrite
Rose Quartz
Scoria
Serpentine
Slate
Smokey Quartz
Soapstone
Sodalite
Sugilite
Travertine
Turquoise
Vivianite
--]]
--
-- Stone
-- Stones
--
-- Amazonite
minetest.register_node("too_many_stones:amazonite", {
@ -290,6 +328,79 @@ minetest.register_node("too_many_stones:carnotite_cracked_brick", {
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Celestine
minetest.register_node("too_many_stones:celestine", {
description = S("Celestine"),
tiles = {"tms_celestine.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:celestine_block", {
description = S("Celestine Block"),
tiles = {"tms_celestine_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:celestine_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:celestine_brick", {
description = S("Celestine Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_celestine_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:celestine_cracked_brick", {
description = S("Cracked Celestine Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_celestine_cracked_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Chrysoprase
minetest.register_node("too_many_stones:chrysoprase", {
description = S("Chrysoprase"),
tiles = {"tms_chrysoprase.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:chrysoprase_block", {
description = S("Chrysoprase Block"),
tiles = {"tms_chrysoprase_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:chrysoprase_brick", {
description = S("Chrysoprase Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_chrysoprase_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:chrysoprase_cracked_brick", {
description = S("Cracked Chrysoprase Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_chrysoprase_cracked_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Citrine
minetest.register_node("too_many_stones:citrine", {
description = S("Citrine"),
@ -344,6 +455,42 @@ minetest.register_node("too_many_stones:citrine_cracked_brick", {
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
})
-- Covellite
minetest.register_node("too_many_stones:covellite", {
description = S("Covellite"),
tiles = {"tms_covellite.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:covellite_block", {
description = S("Covellite Block"),
tiles = {"tms_covellite_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:covellite_brick", {
description = S("Covellite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_covellite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:covellite_cracked_brick", {
description = S("Cracked Covellite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_covellite_cracked_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Crocoite
minetest.register_node("too_many_stones:crocoite", {
description = S("Crocoite"),
@ -385,6 +532,42 @@ minetest.register_node("too_many_stones:crocoite_cracked_brick", {
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Erythrite
minetest.register_node("too_many_stones:erythrite", {
description = S("Erythrite"),
tiles = {"tms_erythrite.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:erythrite_block", {
description = S("Erythrite Block"),
tiles = {"tms_erythrite_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:erythrite_brick", {
description = S("Erythrite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_erythrite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:erythrite_cracked_brick", {
description = S("Cracked Erythrite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_erythrite_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"),
@ -472,6 +655,42 @@ minetest.register_node("too_many_stones:gabbro_cracked_brick", {
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Galena
minetest.register_node("too_many_stones:galena", {
description = S("Galena"),
tiles = {"tms_galena.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:galena_block", {
description = S("Galena Block"),
tiles = {"tms_galena_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:galena_brick", {
description = S("Galena Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_galena_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:galena_cracked_brick", {
description = S("Cracked Galena Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_galena_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"),
@ -813,6 +1032,42 @@ minetest.register_node("too_many_stones:heliodor_cracked_brick", {
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
})
-- Howlite
minetest.register_node("too_many_stones:howlite", {
description = S("Howlite"),
tiles = {"tms_howlite.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:howlite_block", {
description = S("Howlite Block"),
tiles = {"tms_howlite_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:howlite_brick", {
description = S("Howlite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_howlite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:howlite_cracked_brick", {
description = S("Cracked Howlite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_howlite_cracked_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Ilvaite
minetest.register_node("too_many_stones:ilvaite", {
description = S("Ilvaite"),
@ -955,6 +1210,43 @@ minetest.register_node("too_many_stones:kyanite_cracked_brick", {
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Lapis Lazuli
minetest.register_node("too_many_stones:lapis_lazuli", {
description = S("Lapis Lazuli"),
tiles = {"tms_lapis_lazuli.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:lapis_lazuli_block", {
description = S("Lapis Lazuli Block"),
tiles = {"tms_lapis_lazuli_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:lapis_lazuli_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:lapis_lazuli_brick", {
description = S("Lapis Lazuli Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_lapis_lazuli_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:lapis_lazuli_cracked_brick", {
description = S("Cracked Lapis Lazuli Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_lapis_lazuli_cracked_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Blue Limestone
minetest.register_node("too_many_stones:limestone_blue", {
description = S("Blue Limestone"),
@ -1158,6 +1450,42 @@ minetest.register_node("too_many_stones:opal", {
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Pumice
minetest.register_node("too_many_stones:pumice", {
description = S("Pumice"),
tiles = {"tms_pumice.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:pumice_block", {
description = S("Pumice Block"),
tiles = {"tms_pumice_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:pumice_brick", {
description = S("Pumice Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_pumice_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:pumice_cracked_brick", {
description = S("Cracked Pumice Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_pumice_cracked_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Pyrite
minetest.register_node("too_many_stones:pyrite", {
description = S("Pyrite"),
@ -1172,7 +1500,6 @@ minetest.register_node("too_many_stones: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", {
@ -1203,7 +1530,6 @@ minetest.register_node("too_many_stones:rose_quartz", {
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:rose_quartz",
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
})
@ -1216,7 +1542,6 @@ minetest.register_node("too_many_stones:rose_quartz_block", {
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:rose_quartz_block",
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
})
@ -1440,6 +1765,42 @@ minetest.register_node("too_many_stones:smokey_quartz_cracked_brick", {
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
})
-- Soapstone
minetest.register_node("too_many_stones:soapstone", {
description = S("Soapstone"),
tiles = {"tms_soapstone.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:soapstone_block", {
description = S("Soapstone Block"),
tiles = {"tms_soapstone_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:soapstone_brick", {
description = S("Soapstone Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_soapstone_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:soapstone_cracked_brick", {
description = S("Cracked Soapstone Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_soapstone_cracked_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.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")

116
nodes_crystal.lua Normal file
View File

@ -0,0 +1,116 @@
-- mods/too_many_stones/nodes_crystal.lua
-- support for MT game translation.
local S = default.get_translator
local all_directions = {
vector.new(1, 0, 0),
vector.new(0, 1, 0),
vector.new(0, 0, 1),
vector.new(-1, 0, 0),
vector.new(0, -1, 0),
vector.new(0, 0, -1),
}
minetest.register_abm({
label = "TMS Amethyst Crystal growth",
nodenames = "too_many_stones:amethyst_budding",
interval = 10,
chance = 1,
action = function(pos)
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
local check_node = minetest.get_node(check_pos)
local check_node_name = check_node.name
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
local new_node
if check_node_name == "air" then
new_node = "too_many_stones:amethyst_crystal"
else return end
minetest.swap_node(check_pos, {name = new_node, param2 = param2})
end,
})
minetest.register_node("too_many_stones:amethyst_crystal", {
description = "Amethyst Crystal",
use_texture_alpha = "blend",
tiles = {"tms_amethyst_crystal.png"},
inventory_image = {"tms_amethyst_crystal_item.png"},
drawtype = "plantlike",
sunlight_propagates = true,
light_source = 6,
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
selection_box = {
type = "fixed",
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
},
groups = {cracky = 3},
sounds = default.node_sound_glass_defaults(),
})
--[[
minetest.register_craftitem("too_many_stones:amethyst_crystal", {
description = "Amethyst Crystal",
inventory_image = "tms_amethyst_crystal_item.png",
})
--]]
minetest.register_node("too_many_stones:amethyst_budding", {
description = S("Budding Amethyst"),
use_texture_alpha = "blend",
drawtype = "glasslike",
tiles = {"tms_amethyst_budding.png"},
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
})
minetest.register_abm({
label = "TMS Crocoite Crystal growth",
nodenames = "too_many_stones:crocoite_budding",
interval = 10,
chance = 1,
action = function(pos)
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
local check_node = minetest.get_node(check_pos)
local check_node_name = check_node.name
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
local new_node
if check_node_name == "air" then
new_node = "too_many_stones:crocoite_crystal"
else return end
minetest.swap_node(check_pos, {name = new_node, param2 = param2})
end,
})
minetest.register_node("too_many_stones:crocoite_crystal", {
description = "Crocoite Crystal",
tiles = {"tms_crocoite_crystal.png"},
drawtype = "plantlike",
sunlight_propagates = true,
light_source = 6,
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
selection_box = {
type = "fixed",
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
},
groups = {cracky = 3},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_node("too_many_stones:crocoite_budding", {
description = S("Budding Crocoite"),
use_texture_alpha = "blend",
drawtype = "glasslike",
tiles = {"tms_crocoite_budding.png"},
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, stone = 1},
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
})

View File

@ -242,6 +242,94 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
-- Celestine
stairs.register_stair_and_slab(
"celestine",
"too_many_stones:celestine",
{cracky = 3},
{"tms_celestine.png"},
"Celestine Stair",
"Celestine Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"celestine_brick",
"too_many_stones:celestine_brick",
{cracky = 2},
{"tms_celestine_brick.png"},
"Celestine Brick Stair",
"Celestine Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"celestine_cracked_brick",
"too_many_stones:celestine_cracked_brick",
{cracky = 2},
{"tms_celestine_cracked_brick.png"},
"Cracked Celestine Brick Stair",
"Cracked Celestine Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"celestine_block",
"too_many_stones:celestine_block",
{cracky = 2},
{"tms_celestine_block.png"},
"Celestine Block Stair",
"Celestine Block Slab",
default.node_sound_stone_defaults(),
false
)
-- Chrysoprase
stairs.register_stair_and_slab(
"chrysoprase",
"too_many_stones:chrysoprase",
{cracky = 3},
{"tms_chrysoprase.png"},
"Chrysoprase Stair",
"Chrysoprase Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"chrysoprase_brick",
"too_many_stones:chrysoprase_brick",
{cracky = 2},
{"tms_chrysoprase_brick.png"},
"Chrysoprase Brick Stair",
"Chrysoprase Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"chrysoprase_cracked_brick",
"too_many_stones:chrysoprase_cracked_brick",
{cracky = 2},
{"tms_chrysoprase_cracked_brick.png"},
"Cracked Chrysoprase Brick Stair",
"Cracked Chrysoprase Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"chrysoprase_block",
"too_many_stones:chrysoprase_block",
{cracky = 2},
{"tms_chrysoprase_block.png"},
"Chrysoprase Block Stair",
"Chrysoprase Block Slab",
default.node_sound_stone_defaults(),
false
)
-- Citrine
stairs.register_stair_and_slab(
"citrine",
@ -286,6 +374,50 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
-- Covellite
stairs.register_stair_and_slab(
"covellite",
"too_many_stones:covellite",
{cracky = 3},
{"tms_covellite.png"},
"Covellite Stair",
"Covellite Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"covellite_brick",
"too_many_stones:covellite_brick",
{cracky = 2},
{"tms_covellite_brick.png"},
"Covellite Brick Stair",
"Covellite Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"covellite_cracked_brick",
"too_many_stones:covellite_cracked_brick",
{cracky = 2},
{"tms_covellite_cracked_brick.png"},
"Cracked Covellite Brick Stair",
"Cracked Covellite Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"covellite_block",
"too_many_stones:covellite_block",
{cracky = 2},
{"tms_covellite_block.png"},
"Covellite Block Stair",
"Covellite Block Slab",
default.node_sound_stone_defaults(),
false
)
-- Crocoite
stairs.register_stair_and_slab(
"crocoite",
@ -330,6 +462,50 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
-- Erythrite
stairs.register_stair_and_slab(
"erythrite",
"too_many_stones:erythrite",
{cracky = 3},
{"tms_erythrite.png"},
"Erythrite Stair",
"Erythrite Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"erythrite_brick",
"too_many_stones:erythrite_brick",
{cracky = 2},
{"tms_erythrite_brick.png"},
"Erythrite Brick Stair",
"Erythrite Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"erythrite_cracked_brick",
"too_many_stones:erythrite_cracked_brick",
{cracky = 2},
{"tms_erythrite_cracked_brick.png"},
"Cracked Erythrite Brick Stair",
"Cracked Erythrite Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"erythrite_block",
"too_many_stones:erythrite_block",
{cracky = 2},
{"tms_erythrite_block.png"},
"Erythrite Block Stair",
"Erythrite Block Slab",
default.node_sound_stone_defaults(),
false
)
-- Eudialite
stairs.register_stair_and_slab(
"eudialite",
@ -429,6 +605,50 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
-- Galena
stairs.register_stair_and_slab(
"galena",
"too_many_stones:galena",
{cracky = 3},
{"tms_galena.png"},
"Galena Stair",
"Galena Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"galena_brick",
"too_many_stones:galena_brick",
{cracky = 2},
{"tms_galena_brick.png"},
"Galena Brick Stair",
"Galena Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"galena_cracked_brick",
"too_many_stones:galena_cracked_brick",
{cracky = 2},
{"tms_galena_cracked_brick.png"},
"Cracked Galena Brick Stair",
"Cracked Galena Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"galena_block",
"too_many_stones:galena_block",
{cracky = 2},
{"tms_galena_block.png"},
"Galena Block Stair",
"Galena Block Slab",
default.node_sound_stone_defaults(),
false
)
-- Black Granite
stairs.register_stair_and_slab(
"granite_black",
@ -781,6 +1001,50 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
-- Howlite
stairs.register_stair_and_slab(
"howlite",
"too_many_stones:howlite",
{cracky = 3},
{"tms_howlite.png"},
"Howlite Stair",
"Howlite Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"howlite_brick",
"too_many_stones:howlite_brick",
{cracky = 2},
{"tms_howlite_brick.png"},
"Howlite Brick Stair",
"Howlite Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"howlite_cracked_brick",
"too_many_stones:howlite_cracked_brick",
{cracky = 2},
{"tms_howlite_cracked_brick.png"},
"Cracked Howlite Brick Stair",
"Cracked Howlite Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"howlite_block",
"too_many_stones:howlite_block",
{cracky = 2},
{"tms_howlite_block.png"},
"Howlite Block Stair",
"Howlite Block Slab",
default.node_sound_stone_defaults(),
false
)
-- Ilvaite
stairs.register_stair_and_slab(
"ilvaite",
@ -970,6 +1234,50 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
-- Lapis Lazuli
stairs.register_stair_and_slab(
"lapis_lazuli",
"too_many_stones:lapis_lazuli",
{cracky = 3},
{"tms_lapis_lazuli.png"},
"Lapis Lazuli Stair",
"Lapis Lazuli Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"lapis_lazuli_brick",
"too_many_stones:lapis_lazuli_brick",
{cracky = 2},
{"tms_lapis_lazuli_brick.png"},
"Lapis Lazuli Brick Stair",
"Lapis Lazuli Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"lapis_lazuli_cracked_brick",
"too_many_stones:lapis_lazuli_cracked_brick",
{cracky = 2},
{"tms_lapis_lazuli_cracked_brick.png"},
"Cracked Lapis Lazuli Brick Stair",
"Cracked Lapis Lazuli Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"lapis_lazuli_block",
"too_many_stones:lapis_lazuli_block",
{cracky = 2},
{"tms_lapis_lazuli_block.png"},
"Lapis Lazuli Block Stair",
"Lapis Lazuli Block Slab",
default.node_sound_stone_defaults(),
false
)
-- Blue Limestone
stairs.register_stair_and_slab(
"limestone_blue",
@ -1190,6 +1498,50 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
-- Pumice
stairs.register_stair_and_slab(
"pumice",
"too_many_stones:pumice",
{cracky = 3},
{"tms_pumice.png"},
"Pumice Stair",
"Pumice Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"pumice_brick",
"too_many_stones:pumice_brick",
{cracky = 2},
{"tms_pumice_brick.png"},
"Pumice Brick Stair",
"Pumice Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"pumice_cracked_brick",
"too_many_stones:pumice_cracked_brick",
{cracky = 2},
{"tms_pumice_cracked_brick.png"},
"Cracked Pumice Brick Stair",
"Cracked Pumice Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"pumice_block",
"too_many_stones:pumice_block",
{cracky = 2},
{"tms_pumice_block.png"},
"Pumice Block Stair",
"Pumice Block Slab",
default.node_sound_stone_defaults(),
false
)
-- Pyrite
stairs.register_stair_and_slab(
"pyrite",
@ -1487,6 +1839,50 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
-- Soapstone
stairs.register_stair_and_slab(
"soapstone",
"too_many_stones:soapstone",
{cracky = 3},
{"tms_soapstone.png"},
"Soapstone Stair",
"Soapstone Slab",
default.node_sound_stone_defaults(),
true
)
stairs.register_stair_and_slab(
"soapstone_brick",
"too_many_stones:soapstone_brick",
{cracky = 2},
{"tms_soapstone_brick.png"},
"Soapstone Brick Stair",
"Soapstone Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"soapstone_cracked_brick",
"too_many_stones:soapstone_cracked_brick",
{cracky = 2},
{"tms_soapstone_cracked_brick.png"},
"Cracked Soapstone Brick Stair",
"Cracked Soapstone Brick Slab",
default.node_sound_stone_defaults(),
false
)
stairs.register_stair_and_slab(
"soapstone_block",
"too_many_stones:soapstone_block",
{cracky = 2},
{"tms_soapstone_block.png"},
"Soapstone Block Stair",
"Soapstone 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")