123456789101112131415161718192021222324252627282930313233343536373839404142 |
- minetest.register_node('furniture:table_basic', {
- description = 'Basic Table',
- drawtype = 'mesh',
- mesh = 'furniture_table_basic.obj',
- tiles = {'furniture_table_basic.png'},
- paramtype = 'light',
- paramtype2 = 'colorfacedir',
- palette = 'furniture_stain_palette.png',
- selection_box = {
- type = 'fixed',
- fixed = {-.5, -.5, -.5, 1.5, .5, .5},
- },
- collision_box = {
- type = 'fixed',
- fixed = {-.5, -.5, -.5, 1.5, .5, .5},
- },
- groups = {breakable=1},
- on_rightclick = furniture.right_click,
- on_punch = furniture.punch
- })
- minetest.register_node('furniture:table_coffee', {
- description = 'Coffee Table',
- drawtype = 'mesh',
- mesh = 'furniture_table_coffee.obj',
- tiles = {'furniture_table_coffee.png'},
- paramtype = 'light',
- paramtype2 = 'colorfacedir',
- palette = 'furniture_stain_palette.png',
- selection_box = {
- type = 'fixed',
- fixed = {-.5, -.5, -.5, 1.5, 0, .5},
- },
- collision_box = {
- type = 'fixed',
- fixed = {-.5, -.5, -.5, 1.5, 0, .5},
- },
- groups = {breakable=1},
- on_rightclick = furniture.right_click,
- on_punch = furniture.punch
- })
|