Update walls
[minetest_mcl_supplemental.git] / stairslabs.lua
blobdac71eee5d5414df1f5ab49d1600356d9d5fa061
1 stairs.register_stair_and_slab("end_bricks", "mcl_end:end_bricks",
2 {cracky=3},
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",
10 {cracky=2},
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",
18 {cracky=3},
19 {{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45}}},
20 "Prismarine Stairs",
21 "Prismarine Slab",
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",
26 {cracky=3},
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",
34 {cracky=3},
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",
42 {cracky=3},
43 {"default_mossycobble.png"},
44 "Moss Stone Stairs",
45 "Moss Stone Slab",
46 mcl_sounds.node_sound_stone_defaults())
47 mcstair.add("stairs:stair_mossycobble")
49 stairs.register_stair_and_slab("lapisblock", "mcl_core:lapisblock",
50 {cracky=3},
51 {"default_lapis_block.png"},
52 "Lapis Lazuli Stairs",
53 "Lapis Lazuli Slab",
54 mcl_sounds.node_sound_stone_defaults())
55 mcstair.add("stairs:stair_lapisblock")
57 stairs.register_stair_and_slab("goldblock", "mcl_core:goldblock",
58 {cracky=3},
59 {"default_gold_block.png"},
60 "Stairs of Gold",
61 "Slab of Gold",
62 mcl_sounds.node_sound_stone_defaults())
63 mcstair.add("stairs:stair_goldblock")
65 stairs.register_stair_and_slab("ironblock", "mcl_core:ironblock",
66 {cracky=3},
67 {"default_steel_block.png"},
68 "Stairs of Iron",
69 "Slab of Iron",
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",
74 {cracky=3},
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",
82 {cracky=3},
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",
90 {cracky=3},
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",
98 {cracky=3},
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
105 local block = {}
106 block.dyes = {
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,
128 {cracky=3},
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({
137 type = "shapeless",
138 output = "stairs:stair_stonebrickmossy",
139 recipe = { "stairs:stair_stonebrick", "mcl_core:vine" },
142 minetest.register_craft({
143 type = "shapeless",
144 output = "stairs:slab_stonebrickmossy",
145 recipe = { "stairs:slab_stonebrick", "mcl_core:vine" },
147 minetest.register_craft({
148 type = "shapeless",
149 output = "stairs:stair_mossycobble",
150 recipe = { "stairs:stair_cobble", "mcl_core:vine" },
153 minetest.register_craft({
154 type = "shapeless",
155 output = "stairs:slab_mossycobble",
156 recipe = { "stairs:slab_cobble", "mcl_core:vine" },