Fixed some issues with lamps and tables

master
Piezo_ 2018-09-10 18:25:17 -07:00
parent 3138927900
commit cfd6475302
5 changed files with 14 additions and 26 deletions

View File

@ -770,10 +770,6 @@ minetest.register_node('ma_pops_furniture:table_'..material, {
{-0.5, 0.3125, -0.5, 0.5, 0.5, 0.5}, -- NodeBox3
}
},
after_dig_node = function(pos) ma_pops_furniture.check_table(pos, material, false, true) end,
after_place_node = function(pos) ma_pops_furniture.check_table(pos, material, true, true) end,
on_punch = function(pos) ma_pops_furniture.check_table(pos, material, true, true) end
})
end
@ -807,10 +803,6 @@ minetest.register_node('ma_pops_furniture:table_c_'..material, {
{-0.375, -0.5, -0.125, -0.125, 0.3125, 0.125}, -- NodeBox3
}
},
after_dig_node = function(pos) ma_pops_furniture.check_table(pos, material, false, true) end,
after_place_node = function(pos) ma_pops_furniture.check_table(pos, material, true, true) end,
on_punch = function(pos) ma_pops_furniture.check_table(pos, material, true, true) end
})
end
@ -843,10 +835,6 @@ minetest.register_node('ma_pops_furniture:table_center_'..material, {
{-0.5, 0.3125, -0.5, 0.5, 0.5, 0.5},
}
},
after_dig_node = function(pos) ma_pops_furniture.check_table(pos, material, false, true) end,
after_place_node = function(pos) ma_pops_furniture.check_table(pos, material, true, true) end,
on_punch = function(pos) ma_pops_furniture.check_table(pos, material, true, true) end
})
end
@ -1651,21 +1639,21 @@ minetest.register_node('ma_pops_furniture:fireplace_on', {
})
local lamp_table = { --name, color, colorize(hex or color name:intensity(1-255))
{'Black', 'black', 'black:225'},
{'Blue', 'blue', 'blue:225'},
{'Brown', 'brown', 'brown:225'},
{'Cyan', 'cyan', 'cyan:200'},
{'Dark Green', 'dark_green', 'green:225'},
{'Dark Grey', 'dark_grey', 'black:200'},
{'Black', 'black', 'black:150'},
{'Blue', 'blue', 'blue:150'},
{'Brown', 'brown', 'brown:150'},
{'Cyan', 'cyan', 'cyan:150'},
{'Dark Green', 'dark_green', 'green:150'},
{'Dark Grey', 'dark_grey', 'black:150'},
{'Green', 'green', '#32cd32:150'},
{'Grey', 'grey', 'black:100'},
{'Magenta', 'magenta', 'magenta:200'},
{'Orange', 'orange', 'orange:225'},
{'Pink', 'pink', 'pink:225'},
{'Red', 'red', 'red:225'},
{'Violet', 'violet', 'violet:225'},
{'White', 'white', 'white:1'},
{'Yellow', 'yellow', 'yellow:225'},
{'Grey', 'grey', '#888888:150'},
{'Magenta', 'magenta', 'magenta:150'},
{'Orange', 'orange', 'orange:150'},
{'Pink', 'pink', 'pink:150'},
{'Red', 'red', 'red:150'},
{'Violet', 'violet', '#aa00dd:150'},
{'White', 'white', '#FFFFFF:150'},
{'Yellow', 'yellow', 'yellow:150'},
}
for i in ipairs (lamp_table) do

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 B

After

Width:  |  Height:  |  Size: 477 B

BIN
textures/mp_lb_middle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 763 B

After

Width:  |  Height:  |  Size: 273 B

BIN
textures/mp_ls_top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B