mirror of
https://codeberg.org/minenux/minetest-mod-xdecor
synced 2023-10-20 21:43:39 -07:00
Phase-out some aliases
This commit is contained in:
parent
ede71edd49
commit
f8b6cfe365
@ -163,7 +163,6 @@ xdecor.register("cauldron_boiling", {
|
||||
on_construct = cauldron.boiling_construct,
|
||||
on_timer = cauldron.boiling_timer
|
||||
})
|
||||
minetest.register_alias("xdecor:cauldron_boiling_water", "xdecor:cauldron_boiling")
|
||||
|
||||
xdecor.register("cauldron_soup", {
|
||||
groups = {cracky=2, oddly_breakable_by_hand=1, not_in_creative_inventory=1},
|
||||
|
@ -75,12 +75,12 @@ end
|
||||
|
||||
plate.register("wood", "Wooden", {
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
groups = {choppy=3, flammable=2}
|
||||
groups = {choppy=3, oddly_breakable_by_hand=2, flammable=2}
|
||||
})
|
||||
|
||||
plate.register("stone", "Stone", {
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
groups = {cracky=3}
|
||||
groups = {cracky=3, oddly_breakable_by_hand=2}
|
||||
})
|
||||
|
||||
xdecor.register("lever_off", {
|
||||
|
10
nodes.lua
10
nodes.lua
@ -196,8 +196,6 @@ for _, c in pairs({"red"}) do -- Add more curtains colors simply here.
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_alias("xdecor:crate", "default:chest")
|
||||
|
||||
xdecor.register("cushion", {
|
||||
description = "Cushion",
|
||||
tiles = {"xdecor_cushion.png"},
|
||||
@ -286,7 +284,7 @@ xdecor.register("enderchest", {
|
||||
tiles = {"xdecor_enderchest_top.png", "xdecor_enderchest_top.png",
|
||||
"xdecor_enderchest_side.png", "xdecor_enderchest_side.png",
|
||||
"xdecor_enderchest_side.png", "xdecor_enderchest_front.png"},
|
||||
groups = {cracky=1, choppy=1, oddly_breakable_by_hand=1},
|
||||
groups = {cracky=1, choppy=1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_rotate = screwdriver.rotate_simple,
|
||||
on_construct = function(pos)
|
||||
@ -348,7 +346,6 @@ for _, l in pairs({"iron", "wooden"}) do
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
})
|
||||
end
|
||||
minetest.register_alias("xdecor:lightbox", "xdecor:wooden_lightbox")
|
||||
|
||||
for _, f in pairs({"dandelion_white", "dandelion_yellow", "geranium",
|
||||
"rose", "tulip", "viola"}) do
|
||||
@ -408,11 +405,6 @@ for i = 2, 4 do
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_alias("xpanes:rust_bar", "xpanes:rusty_bar")
|
||||
for i = 1, 15 do
|
||||
minetest.register_alias("xpanes:rust_bar_"..i, "xpanes:rusty_bar_"..i)
|
||||
end
|
||||
|
||||
xdecor.register("stonepath", {
|
||||
description = "Garden Stone Path",
|
||||
tiles = {"default_stone.png"},
|
||||
|
@ -257,14 +257,6 @@ for node in pairs(minetest.registered_nodes) do
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
end
|
||||
if node:match(":mese") then
|
||||
if d[3] then minetest.register_alias(node.."_"..d[1], "default:glass_"..d[1])
|
||||
else minetest.register_alias("stairs:"..d[1].."_"..node:match(":(.*)"), "stairs:"..d[1].."_glass") end
|
||||
elseif workbench:nodes(def) and not d[3] then
|
||||
minetest.register_alias(node.."_"..d[1], "stairs:"..d[1].."_"..node:match(":(.*)"))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_alias("xdecor:worktable", "xdecor:workbench")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user