Removed unused table nodes
This commit is contained in:
parent
cfd6475302
commit
2369341a67
67
nodes.lua
67
nodes.lua
@ -759,7 +759,7 @@ minetest.register_node('ma_pops_furniture:table_'..material, {
|
||||
description = name,
|
||||
drawtype = 'nodebox',
|
||||
tiles = {'default_'..material..'.png'},
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 2, furniture = 1, flammable = 1, table = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, furniture = 1, flammable = 1, table = 1},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -773,71 +773,6 @@ minetest.register_node('ma_pops_furniture:table_'..material, {
|
||||
})
|
||||
end
|
||||
|
||||
local table_c_table = { --name, material, invimg
|
||||
{'Stone Corner Table', 'cobble', 'mp_table_stone.png'},
|
||||
{'Wood Corner Table', 'wood', 'mp_table_wood.png'},
|
||||
{'Acacia Corner Wood Table', 'acacia_wood', 'mp_table_wood_acacia.png'},
|
||||
{'Aspen Corner Wood Table', 'aspen_wood', 'mp_table_wood_aspen.png'},
|
||||
{'Pine Corner Wood Table', 'pine_wood', 'mp_table_wood_pine.png'},
|
||||
{'Jungle Corner Wood Table', 'junglewood', 'mp_table_wood_jungle.png'}
|
||||
}
|
||||
|
||||
for i in ipairs (table_c_table) do
|
||||
local name = table_c_table[i][1]
|
||||
local material = table_c_table[i][2]
|
||||
local invimg = table_c_table[i][3]
|
||||
|
||||
minetest.register_node('ma_pops_furniture:table_c_'..material, {
|
||||
description = name,
|
||||
drawtype = 'nodebox',
|
||||
tiles = {'default_'..material..'.png'},
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 2, furniture = 1, flammable = 1, table = 1, not_in_creative_inventory = 1},
|
||||
drop = 'ma_pops_furniture:table_'..material,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, 0.3125, -0.5, 0.5, 0.5, 0.5}, -- NodeBox1
|
||||
{-0.375, -0.5, -0.125, -0.125, 0.3125, 0.125}, -- NodeBox3
|
||||
}
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
local table_center_table = { --name, material, invimg
|
||||
{'Stone Center Table', 'cobble', 'mp_table_stone.png'},
|
||||
{'Wood Center Table', 'wood', 'mp_table_wood.png'},
|
||||
{'Acacia Center Wood Table', 'acacia_wood', 'mp_table_wood_acacia.png'},
|
||||
{'Aspen Center Wood Table', 'aspen_wood', 'mp_table_wood_aspen.png'},
|
||||
{'Pine Center Wood Table', 'pine_wood', 'mp_table_wood_pine.png'},
|
||||
{'Jungle Center Wood Table', 'junglewood', 'mp_table_wood_jungle.png'}
|
||||
}
|
||||
|
||||
for i in ipairs (table_center_table) do
|
||||
local name = table_center_table[i][1]
|
||||
local material = table_center_table[i][2]
|
||||
local invimg = table_center_table[i][3]
|
||||
|
||||
minetest.register_node('ma_pops_furniture:table_center_'..material, {
|
||||
description = name,
|
||||
drawtype = 'nodebox',
|
||||
tiles = {'default_'..material..'.png'},
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 2, furniture = 1, flammable = 1, table = 1, not_in_creative_inventory = 1},
|
||||
drop = 'ma_pops_furniture:table_'..material,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, 0.3125, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_node("ma_pops_furniture:dw", {
|
||||
description= "Dishwasher",
|
||||
tiles = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user