Drop some aliases (doors, cobblewalls, etc.)

This commit is contained in:
kilbith 2016-04-07 02:05:21 +02:00
parent fb36f033b8
commit 4fc0cb1687
3 changed files with 0 additions and 25 deletions

View File

@ -21,8 +21,6 @@ minetest.register_craftitem("xdecor:bowl_soup", {
end
})
minetest.register_alias("xdecor:flint_steel", "fire:flint_and_steel")
minetest.register_tool("xdecor:hammer", {
description = "Hammer",
inventory_image = "xdecor_hammer.png",

View File

@ -98,8 +98,6 @@ function itemframe.dig(pos, player)
return player and pname == owner
end
minetest.register_alias("xdecor:frame", "xdecor:itemframe")
xdecor.register("itemframe", {
description = "Item Frame",
groups = {choppy=3, oddly_breakable_by_hand=2, flammable=3},

View File

@ -267,17 +267,7 @@ for name, recipe in pairs(xdecor_doors) do
groups = {choppy=2, cracky=2, oddly_breakable_by_hand=1, door=1},
recipe = recipe
})
minetest.register_alias("xdecor:"..name.."_door", "doors:"..name.."_door")
minetest.register_alias("xdecor:"..name.."_door_t_1", "air")
minetest.register_alias("xdecor:"..name.."_door_t_2", "air")
minetest.register_alias("xdecor:"..name.."_door_b_1", "doors:"..name.."_door_a")
minetest.register_alias("xdecor:"..name.."_door_b_2", "doors:"..name.."_door_b")
end
minetest.register_alias("xdecor:prison_rust_door", "doors:rusty_prison_door")
minetest.register_alias("xdecor:prison_rust_door_t_1", "air")
minetest.register_alias("xdecor:prison_rust_door_t_2", "air")
minetest.register_alias("xdecor:prison_rust_door_b_1", "doors:rusty_prison_door_a")
minetest.register_alias("xdecor:prison_rust_door_b_2", "doors:rusty_prison_door_b")
xdecor.register("enderchest", {
description = "Ender Chest",
@ -304,12 +294,6 @@ minetest.register_on_joinplayer(function(player)
inv:set_size("enderchest", 8*4)
end)
if rawget(_G, "fire") then
minetest.register_alias("xdecor:fire", "fire:basic_flame")
else
minetest.register_alias("xdecor:fire", "air")
end
xdecor.register("ivy", {
description = "Ivy",
drawtype = "signlike",
@ -475,11 +459,6 @@ xdecor.register("tv", {
animation = {type="vertical_frames", length=80.0}} }
})
for _, n in pairs({"c0", "c1", "c2", "c3", "c4", "ln"}) do
minetest.register_alias("xdecor:cobble_wall_"..n, "walls:cobble")
minetest.register_alias("xdecor:mossycobble_wall_"..n, "walls:cobble")
end
xdecor.register("woodframed_glass", {
description = "Wood Framed Glass",
drawtype = "glasslike_framed",