1 stairs
.register_stair_and_slab("end_bricks", "mcl_end:end_bricks",
3 {"mcl_end_end_bricks.png"},
4 "End Stone Brick Stairs",
5 "End Stone Brick Slab",
6 mcl_sounds
.node_sound_stone_defaults())
7 mcstair
.add("stairs:stair_end_bricks")
9 stairs
.register_stair_and_slab("red_nether_brick", "mcl_nether:red_nether_brick",
11 {"mcl_nether_red_nether_brick.png"},
12 "Red Nether Brick Stairs",
13 "Red Nether Brick Slab",
14 mcl_sounds
.node_sound_stone_defaults())
15 mcstair
.add("stairs:stair_red_nether_brick")
17 stairs
.register_stair_and_slab("prismarine", "mcl_ocean:prismarine",
19 {{name
="mcl_ocean_prismarine_anim.png", animation
={type="vertical_frames", aspect_w
=32, aspect_h
=32, length
=45}}},
22 mcl_sounds
.node_sound_stone_defaults())
23 mcstair
.add("stairs:stair_prismarine")
25 stairs
.register_stair_and_slab("prismarine_dark", "mcl_ocean:prismarine_dark",
27 {"mcl_ocean_prismarine_dark.png"},
28 "Dark Prismarine Stairs",
29 "Dark Prismarine Slab",
30 mcl_sounds
.node_sound_stone_defaults())
31 mcstair
.add("stairs:stair_prismarine_dark")
33 stairs
.register_stair_and_slab("stonebrickmossy", "mcl_core:stonebrickmossy",
35 {"default_stonebrick_mossy.png"},
36 "Mossy Stone Brick Stairs",
37 "Mossy Stone Brick Slab",
38 mcl_sounds
.node_sound_stone_defaults())
39 mcstair
.add("stairs:stair_stonebrickmossy")
41 stairs
.register_stair_and_slab("mossycobble", "mcl_core:mossycobble",
43 {"default_mossycobble.png"},
46 mcl_sounds
.node_sound_stone_defaults())
47 mcstair
.add("stairs:stair_mossycobble")
49 stairs
.register_stair_and_slab("lapisblock", "mcl_core:lapisblock",
51 {"default_lapis_block.png"},
52 "Lapis Lazuli Stairs",
54 mcl_sounds
.node_sound_stone_defaults())
55 mcstair
.add("stairs:stair_lapisblock")
57 stairs
.register_stair_and_slab("goldblock", "mcl_core:goldblock",
59 {"default_gold_block.png"},
62 mcl_sounds
.node_sound_stone_defaults())
63 mcstair
.add("stairs:stair_goldblock")
65 stairs
.register_stair_and_slab("ironblock", "mcl_core:ironblock",
67 {"default_steel_block.png"},
70 mcl_sounds
.node_sound_stone_defaults())
71 mcstair
.add("stairs:stair_ironblock")
73 stairs
.register_stair_and_slab("andesite_smooth", "mcl_core:andesite_smooth",
75 {"default_andesite_smooth.png"},
76 "Polished Andesite Stairs",
77 "Polished Andesite Slab",
78 mcl_sounds
.node_sound_stone_defaults())
79 mcstair
.add("stairs:stair_andesite_smooth")
81 stairs
.register_stair_and_slab("diorite_smooth", "mcl_core:diorite_smooth",
83 {"default_diorite_smooth.png"},
84 "Polished Diorite Stairs",
85 "Polished Diorite Slab",
86 mcl_sounds
.node_sound_stone_defaults())
87 mcstair
.add("stairs:stair_diorite_smooth")
89 stairs
.register_stair_and_slab("granite_smooth", "mcl_core:granite_smooth",
91 {"default_granite_smooth.png"},
92 "Polished Granite Stairs",
93 "Polished Granite Slab",
94 mcl_sounds
.node_sound_stone_defaults())
95 mcstair
.add("stairs:stair_granite_smooth")
97 stairs
.register_slab("stonebrickcarved", "mcl_core:stonebrickcarved",
99 {"default_stonebrick_carved.png", "default_stonebrick_carved.png", "mcl_supplemental_stonebrick_carved_slab.png"},
100 "Chiseled Stone Brick Slab",
101 mcl_sounds
.node_sound_stone_defaults(), "Double Chiseled Stone Brick Slab")
103 -- TODO: Chiseled stone brick stairs
107 {"white", "White", "white"},
108 {"grey", "Grey", "dark_grey"},
109 {"silver", "Light Grey", "grey"},
110 {"black", "Black", "black"},
111 {"red", "Red", "red"},
112 {"yellow", "Yellow", "yellow"},
113 {"green", "Green", "dark_green"},
114 {"cyan", "Cyan", "cyan"},
115 {"blue", "Blue", "blue"},
116 {"magenta", "Magenta", "magenta"},
117 {"orange", "Orange", "orange"},
118 {"purple", "Purple", "violet"},
119 {"brown", "Brown", "brown"},
120 {"pink", "Pink", "pink"},
121 {"lime", "Lime", "green"},
122 {"light_blue", "Light Blue", "lightblue"},
125 for i
=1, #block
.dyes
do
126 local c
= block
.dyes
[i
][1]
127 stairs
.register_stair_and_slab("concrete_"..c
, "mcl_colorblocks:concrete_"..c
,
129 {"mcl_colorblocks_concrete_"..block
.dyes
[i
][1]..".png"},
130 block
.dyes
[i
][2].." Concrete Stairs",
131 block
.dyes
[i
][2].." Concrete Slab",
132 mcl_sounds
.node_sound_stone_defaults())
133 mcstair
.add("stairs:stair_concrete_"..c
)
136 minetest
.register_craft({
138 output
= "stairs:stair_stonebrickmossy",
139 recipe
= { "stairs:stair_stonebrick", "mcl_core:vine" },
142 minetest
.register_craft({
144 output
= "stairs:slab_stonebrickmossy",
145 recipe
= { "stairs:slab_stonebrick", "mcl_core:vine" },
147 minetest
.register_craft({
149 output
= "stairs:stair_mossycobble",
150 recipe
= { "stairs:stair_cobble", "mcl_core:vine" },
153 minetest
.register_craft({
155 output
= "stairs:slab_mossycobble",
156 recipe
= { "stairs:slab_cobble", "mcl_core:vine" },