Code cleanup.

This commit is contained in:
Calinou 2014-06-12 10:24:16 +02:00
parent b6cba74770
commit 2b6eb1ff84

View File

@ -72,33 +72,15 @@ minetest.register_craft({
if minetest.override_item then if minetest.override_item then
if moreblocks.config.wood_facedir then if moreblocks.config.wood_facedir then
minetest.override_item("default:wood", { minetest.override_item("default:wood", {paramtype2 = "facedir",})
paramtype2 = "facedir", minetest.override_item("default:junglewood", {paramtype2 = "facedir",})
}) minetest.override_item("default:brick", {paramtype2 = "facedir",})
minetest.override_item("default:junglewood", { minetest.override_item("default:stonebrick", {paramtype2 = "facedir",})
paramtype2 = "facedir", minetest.override_item("default:desert_stonebrick", {paramtype2 = "facedir",})
}) minetest.override_item("default:sandstonebrick", {paramtype2 = "facedir",})
minetest.override_item("default:brick", { minetest.override_item("moreblocks:cactus_brick", {paramtype2 = "facedir",})
paramtype2 = "facedir", minetest.override_item("moreblocks:coal_stone_bricks", {paramtype2 = "facedir",})
}) minetest.override_item("moreblocks:iron_stone_bricks", {paramtype2 = "facedir",})
minetest.override_item("default:stonebrick", {
paramtype2 = "facedir",
})
minetest.override_item("default:desert_stonebrick", {
paramtype2 = "facedir",
})
minetest.override_item("default:sandstonebrick", {
paramtype2 = "facedir",
})
minetest.override_item("moreblocks:cactus_brick", {
paramtype2 = "facedir",
})
minetest.override_item("moreblocks:coal_stone_bricks", {
paramtype2 = "facedir",
})
minetest.override_item("moreblocks:iron_stone_bricks", {
paramtype2 = "facedir",
})
end end
-- Make glass and obsidian glass framed, like the More Blocks glasses: -- Make glass and obsidian glass framed, like the More Blocks glasses:
@ -163,4 +145,3 @@ for i = 2, 5 do
end end
end -- End "if minetest.override_item". end -- End "if minetest.override_item".