forked from MTSR/moreblocks
Add aliases for MTG corner stairs (#117)
This commit is contained in:
parent
10dd84a7f1
commit
846214993f
@ -71,6 +71,8 @@ for _, name in pairs(default_nodes) do
|
|||||||
mod = "moreblocks"
|
mod = "moreblocks"
|
||||||
stairsplus:register_all(mod, name, nodename, ndef)
|
stairsplus:register_all(mod, name, nodename, ndef)
|
||||||
minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name)
|
minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name)
|
||||||
|
minetest.register_alias_force("stairs:stair_outer_" .. name, mod .. ":stair_" .. name .. "_outer")
|
||||||
|
minetest.register_alias_force("stairs:stair_inner_" .. name, mod .. ":stair_" .. name .. "_inner")
|
||||||
minetest.register_alias_force("stairs:slab_" .. name, mod .. ":slab_" .. name)
|
minetest.register_alias_force("stairs:slab_" .. name, mod .. ":slab_" .. name)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -86,6 +88,8 @@ if minetest.get_modpath("farming") then
|
|||||||
mod = "moreblocks"
|
mod = "moreblocks"
|
||||||
stairsplus:register_all(mod, name, nodename, ndef)
|
stairsplus:register_all(mod, name, nodename, ndef)
|
||||||
minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name)
|
minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name)
|
||||||
|
minetest.register_alias_force("stairs:stair_outer_" .. name, mod .. ":stair_" .. name .. "_outer")
|
||||||
|
minetest.register_alias_force("stairs:stair_inner_" .. name, mod .. ":stair_" .. name .. "_inner")
|
||||||
minetest.register_alias_force("stairs:slab_" .. name, mod .. ":slab_" .. name)
|
minetest.register_alias_force("stairs:slab_" .. name, mod .. ":slab_" .. name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user