Update stairsplus modname for pavement_brick, fix aliases (#17)
Change the stairsplus modname for pavement_brick from "castle" to "castle_masonry" Register aliases for all stairsplus shapes, not just stairs
This commit is contained in:
parent
fb6042f9ef
commit
6e81ab1f27
@ -37,13 +37,14 @@ minetest.register_craft({
|
||||
|
||||
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
stairsplus:register_all("castle", "pavement_brick", "castle_masonry:pavement_brick", {
|
||||
stairsplus:register_all("castle_masonry", "pavement_brick", "castle_masonry:pavement_brick", {
|
||||
description = S("Pavement Brick"),
|
||||
tiles = {"castle_pavement_brick.png"},
|
||||
groups = {cracky=2, not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
stairsplus:register_alias_all("castle", "pavement_brick", "castle_masonry", "pavement_brick")
|
||||
elseif minetest.get_modpath("stairs") then
|
||||
stairs.register_stair_and_slab("pavement_brick", "castle_masonry:pavement_brick",
|
||||
{cracky=2},
|
||||
@ -117,4 +118,4 @@ if not (mod_building_blocks or mod_streets) then
|
||||
recipe = "default:gravel",
|
||||
})
|
||||
|
||||
end
|
||||
end
|
||||
|
@ -102,8 +102,8 @@ if minetest.get_modpath("moreblocks") then
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
||||
stairsplus:register_stair_alias("castle", "stonewall", "castle_masonry", "stonewall")
|
||||
stairsplus:register_stair_alias("castle", "rubble", "castle_masonry", "rubble")
|
||||
stairsplus:register_alias_all("castle", "stonewall", "castle_masonry", "stonewall")
|
||||
stairsplus:register_alias_all("castle", "rubble", "castle_masonry", "rubble")
|
||||
|
||||
elseif minetest.get_modpath("stairs") then
|
||||
stairs.register_stair_and_slab("stonewall", "castle_masonry:stonewall",
|
||||
@ -159,7 +159,7 @@ if minetest.get_modpath("moreblocks") then
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
||||
stairsplus:register_stair_alias("castle", "dungeon_stone", "castle_masonry", "dungeon_stone")
|
||||
stairsplus:register_alias_all("castle", "dungeon_stone", "castle_masonry", "dungeon_stone")
|
||||
|
||||
elseif minetest.get_modpath("stairs") then
|
||||
stairs.register_stair_and_slab("dungeon_stone", "castle_masonry:dungeon_stone",
|
||||
|
Loading…
x
Reference in New Issue
Block a user