mirror of
https://github.com/davisonio/colouredstonebricks.git
synced 2025-01-05 01:20:18 +01:00
Add stairsplus support
This commit is contained in:
parent
5a7e4b2140
commit
ef658b2fed
13
init.lua
13
init.lua
@ -47,6 +47,7 @@ for number = 1, 15 do
|
|||||||
description = colour.." Stone Brick",
|
description = colour.." Stone Brick",
|
||||||
tiles = {"colouredstonebricks_"..colour2..".png"},
|
tiles = {"colouredstonebricks_"..colour2..".png"},
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
|
sounds = default.node_sound_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -56,8 +57,20 @@ for number = 1, 15 do
|
|||||||
'dye:'..colour2, 'default:stonebrick',
|
'dye:'..colour2, 'default:stonebrick',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Stairs
|
||||||
|
|
||||||
|
stairsplus:register_all("colouredstonebricks", colour2, "colouredstonebricks:"..colour2, {
|
||||||
|
description = colour.." Stone Brick",
|
||||||
|
tiles = {"colouredstonebricks_"..colour2..".png"},
|
||||||
|
groups = {cracky=3},
|
||||||
|
sounds = default.node_sound_defaults(),
|
||||||
|
sunlight_propagates = true,
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_alias("dye:dark_blue","dye:blue")
|
minetest.register_alias("dye:dark_blue","dye:blue")
|
||||||
minetest.register_alias("dye:dark_pink","dye:magenta")
|
minetest.register_alias("dye:dark_pink","dye:magenta")
|
||||||
minetest.register_alias("dye:purple","dye:violet")
|
minetest.register_alias("dye:purple","dye:violet")
|
||||||
|
Loading…
Reference in New Issue
Block a user