1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

use mesh nodes for copper pans

This commit is contained in:
Vanessa Ezekowitz 2015-03-30 21:52:26 -04:00
parent e662bb36b9
commit 74951e6b5e
2 changed files with 465 additions and 24 deletions

View File

@ -62,34 +62,19 @@ homedecor.register("kitchen_cabinet_with_sink", {
},
})
local cp_cbox = {
type = "fixed",
fixed = { -0.375, -0.5, -0.5, 0.375, -0.3125, 0.3125 }
}
homedecor.register("copper_pans", {
description = "Copper pans",
tiles = {
"homedecor_polished_copper.png"
},
mesh = "homedecor_copper_pans.obj",
tiles = { "homedecor_polished_copper.png" },
inventory_image = "homedecor_copper_pans_inv.png",
groups = { snappy=3 },
node_box = {
type = "fixed",
fixed = {
{-0.375, -0.5, -0.1875, -0.0625, -0.48, 0.125}, -- NodeBox1
{-0.375, -0.48, -0.1875, -0.36, -0.3125, 0.125}, -- NodeBox2
{-0.0775, -0.48, -0.1875, -0.0625, -0.3125, 0.125}, -- NodeBox3
{-0.375, -0.48, 0.11, -0.0625, -0.3125, 0.125}, -- NodeBox4
{-0.375, -0.48, -0.1875, -0.0625, -0.3125, -0.1725}, -- NodeBox5
{-0.25, -0.36, -0.5, -0.1875, -0.33, -0.1875}, -- NodeBox6
{0.0625, -0.5, 0, 0.375, -0.48, 0.3125}, -- NodeBox7
{0.0625, -0.48, 0, 0.0775, -0.3125, 0.3125}, -- NodeBox8
{0.36, -0.48, 0, 0.375, -0.3125, 0.3125}, -- NodeBox9
{0.0625, -0.48, 0, 0.375, -0.3125, 0.0175}, -- NodeBox10
{0.0625, -0.48, 0.295, 0.375, -0.3125, 0.3125}, -- NodeBox11
{0.1875, -0.36, -0.3125, 0.25, -0.33, 0}, -- NodeBox12
}
},
selection_box = {
type = "fixed",
fixed = { -0.375, -0.5, -0.5, 0.375, -0.3125, 0.3125 }
},
selection_box = cp_cbox,
collision_box = cp_cbox,
on_place = minetest.rotate_node
})

View File

@ -0,0 +1,456 @@
# Blender v2.73 (sub 0) OBJ File: 'copper-pots.blend'
# www.blender.org
o Cylinder.001
v 0.249830 -0.500000 -0.187501
v 0.249830 -0.312500 -0.187501
v 0.307259 -0.500000 -0.163713
v 0.307259 -0.312500 -0.163713
v 0.351213 -0.500000 -0.119759
v 0.351213 -0.312500 -0.119759
v 0.375001 -0.500000 -0.062330
v 0.375001 -0.312500 -0.062330
v 0.375001 -0.500000 -0.000170
v 0.375001 -0.312500 -0.000170
v 0.351213 -0.500000 0.057259
v 0.351213 -0.312500 0.057259
v 0.307259 -0.500000 0.101213
v 0.307259 -0.312500 0.101213
v 0.249830 -0.500000 0.125001
v 0.249830 -0.312500 0.125001
v 0.187670 -0.500000 0.125001
v 0.187670 -0.312500 0.125001
v 0.130241 -0.500000 0.101213
v 0.130241 -0.312500 0.101213
v 0.086287 -0.500000 0.057259
v 0.086287 -0.312500 0.057259
v 0.062499 -0.500000 -0.000170
v 0.062499 -0.312500 -0.000170
v 0.062499 -0.500000 -0.062330
v 0.062499 -0.312500 -0.062330
v 0.086287 -0.500000 -0.119759
v 0.086287 -0.312500 -0.119759
v 0.130241 -0.500000 -0.163713
v 0.130241 -0.312500 -0.163713
v 0.187670 -0.500000 -0.187501
v 0.187670 -0.312500 -0.187501
v 0.187500 -0.359375 -0.187500
v 0.187500 -0.359375 -0.500000
v 0.250000 -0.359375 -0.500000
v 0.250000 -0.359375 -0.187500
v 0.187500 -0.328125 -0.187500
v 0.187500 -0.328125 -0.500000
v 0.250000 -0.328125 -0.500000
v 0.250000 -0.328125 -0.187500
v 0.245945 -0.312500 -0.167969
v 0.296195 -0.312500 -0.147154
v 0.334654 -0.312500 -0.108695
v 0.355469 -0.312500 -0.058445
v 0.355469 -0.312500 -0.004055
v 0.334654 -0.312500 0.046195
v 0.296195 -0.312500 0.084654
v 0.245945 -0.312500 0.105469
v 0.191555 -0.312500 0.105469
v 0.141305 -0.312500 0.084654
v 0.102846 -0.312500 0.046195
v 0.082031 -0.312500 -0.004055
v 0.082031 -0.312500 -0.058445
v 0.102846 -0.312500 -0.108695
v 0.141305 -0.312500 -0.147155
v 0.191555 -0.312500 -0.167969
v 0.245945 -0.480469 -0.167969
v 0.296195 -0.480469 -0.147154
v 0.334654 -0.480469 -0.108695
v 0.355469 -0.480469 -0.058445
v 0.355469 -0.480469 -0.004055
v 0.334654 -0.480469 0.046195
v 0.296195 -0.480469 0.084654
v 0.245945 -0.480469 0.105469
v 0.191555 -0.480469 0.105469
v 0.141305 -0.480469 0.084654
v 0.102846 -0.480469 0.046195
v 0.082031 -0.480469 -0.004055
v 0.082031 -0.480469 -0.058445
v 0.102846 -0.480469 -0.108695
v 0.141305 -0.480469 -0.147155
v 0.191555 -0.480469 -0.167969
v 0.218750 -0.500000 -0.031250
v 0.218750 -0.480469 -0.031250
v -0.187670 -0.500000 -0.000001
v -0.187670 -0.312500 -0.000001
v -0.130241 -0.500000 0.023787
v -0.130241 -0.312500 0.023787
v -0.086287 -0.500000 0.067741
v -0.086287 -0.312500 0.067741
v -0.062499 -0.500000 0.125170
v -0.062499 -0.312500 0.125170
v -0.062499 -0.500000 0.187330
v -0.062499 -0.312500 0.187330
v -0.086287 -0.500000 0.244759
v -0.086287 -0.312500 0.244759
v -0.130241 -0.500000 0.288713
v -0.130241 -0.312500 0.288713
v -0.187670 -0.500000 0.312501
v -0.187670 -0.312500 0.312501
v -0.249830 -0.500000 0.312501
v -0.249830 -0.312500 0.312501
v -0.307259 -0.500000 0.288713
v -0.307259 -0.312500 0.288713
v -0.351213 -0.500000 0.244759
v -0.351213 -0.312500 0.244759
v -0.375001 -0.500000 0.187330
v -0.375001 -0.312500 0.187330
v -0.375001 -0.500000 0.125170
v -0.375001 -0.312500 0.125170
v -0.351213 -0.500000 0.067741
v -0.351213 -0.312500 0.067741
v -0.307259 -0.500000 0.023787
v -0.307259 -0.312500 0.023787
v -0.249830 -0.500000 -0.000001
v -0.249830 -0.312500 -0.000001
v -0.250000 -0.359375 0.000000
v -0.250000 -0.359375 -0.312500
v -0.187500 -0.359375 -0.312500
v -0.187500 -0.359375 0.000000
v -0.250000 -0.328125 0.000000
v -0.250000 -0.328125 -0.312500
v -0.187500 -0.328125 -0.312500
v -0.187500 -0.328125 0.000000
v -0.191555 -0.312500 0.019531
v -0.141305 -0.312500 0.040346
v -0.102846 -0.312500 0.078805
v -0.082031 -0.312500 0.129055
v -0.082031 -0.312500 0.183445
v -0.102846 -0.312500 0.233695
v -0.141305 -0.312500 0.272154
v -0.191555 -0.312500 0.292969
v -0.245945 -0.312500 0.292969
v -0.296195 -0.312500 0.272154
v -0.334654 -0.312500 0.233695
v -0.355469 -0.312500 0.183445
v -0.355469 -0.312500 0.129055
v -0.334654 -0.312500 0.078805
v -0.296195 -0.312500 0.040345
v -0.245945 -0.312500 0.019531
v -0.191555 -0.480469 0.019531
v -0.141305 -0.480469 0.040346
v -0.102846 -0.480469 0.078805
v -0.082031 -0.480469 0.129055
v -0.082031 -0.480469 0.183445
v -0.102846 -0.480469 0.233695
v -0.141305 -0.480469 0.272154
v -0.191555 -0.480469 0.292969
v -0.245945 -0.480469 0.292969
v -0.296195 -0.480469 0.272154
v -0.334654 -0.480469 0.233695
v -0.355469 -0.480469 0.183445
v -0.355469 -0.480469 0.129055
v -0.334654 -0.480469 0.078805
v -0.296195 -0.480469 0.040345
v -0.245945 -0.480469 0.019531
v -0.218750 -0.500000 0.156250
v -0.218750 -0.480469 0.156250
vt 0.937500 0.593750
vt 0.937500 0.781250
vt 0.875000 0.781250
vt 0.875000 0.593750
vt 0.812500 0.781250
vt 0.812500 0.593750
vt 0.750000 0.781250
vt 0.750000 0.593750
vt 0.687500 0.781250
vt 0.687500 0.593750
vt 0.625000 0.781250
vt 0.625000 0.593750
vt 0.562500 0.781250
vt 0.562500 0.593750
vt 0.500000 0.781250
vt 0.500000 0.593750
vt 0.437500 0.781250
vt 0.437500 0.593750
vt 0.375000 0.781250
vt 0.375000 0.593750
vt 0.312500 0.781250
vt 0.312500 0.593750
vt 0.250000 0.781250
vt 0.250000 0.593750
vt 0.187500 0.781250
vt 0.187500 0.593750
vt 0.125000 0.781250
vt 0.125000 0.593750
vt 0.062500 0.781250
vt 0.062500 0.593750
vt 1.000000 0.593750
vt 1.000000 0.781250
vt 0.000000 0.781250
vt 0.000000 0.593750
vt 0.914370 0.293191
vt 0.868549 0.312171
vt 0.843750 0.187500
vt 0.562500 0.531250
vt 0.562500 0.281250
vt 0.625000 0.281250
vt 0.625000 0.531250
vt 0.687500 0.281250
vt 0.687500 0.343750
vt 0.625000 0.343750
vt 0.500000 0.531250
vt 0.500000 0.281250
vt 0.437500 0.531250
vt 0.437500 0.281250
vt 0.375000 0.531250
vt 0.375000 0.281250
vt 0.687500 0.843750
vt 0.625000 0.843750
vt 1.000000 0.843750
vt 0.937500 0.843750
vt 0.875000 0.843750
vt 0.500000 0.843750
vt 0.437500 0.843750
vt 0.312500 0.843750
vt 0.250000 0.843750
vt 0.812500 0.843750
vt 0.750000 0.843750
vt 0.125000 0.843750
vt 0.062500 0.843750
vt 0.562500 0.843750
vt 0.375000 0.843750
vt 0.187500 0.843750
vt 0.000000 0.843750
vt 0.687500 0.968750
vt 0.625000 0.968750
vt 1.000000 0.968750
vt 0.937500 0.968750
vt 0.812500 0.968750
vt 0.750000 0.968750
vt 0.125000 0.968750
vt 0.062500 0.968750
vt 0.875000 0.968750
vt 0.250000 0.968750
vt 0.187500 0.968750
vt 0.375000 0.968750
vt 0.312500 0.968750
vt 0.500000 0.968750
vt 0.437500 0.968750
vt 0.562500 0.968750
vt 0.000000 0.968750
vt 0.218701 0.030642
vt 0.276353 0.054522
vt 0.187500 0.187500
vt 0.320478 0.098647
vt 0.344358 0.156299
vt 0.344358 0.218701
vt 0.320478 0.276353
vt 0.276353 0.320478
vt 0.218701 0.344358
vt 0.156299 0.344358
vt 0.098647 0.320478
vt 0.054522 0.276353
vt 0.030642 0.218701
vt 0.030642 0.156299
vt 0.054522 0.098647
vt 0.098647 0.054522
vt 0.156299 0.030642
vt 0.818951 0.312171
vt 0.773129 0.293191
vt 0.738059 0.258121
vt 0.719079 0.212299
vt 0.719079 0.162701
vt 0.738059 0.116880
vt 0.773129 0.081809
vt 0.818951 0.062829
vt 0.868549 0.062829
vt 0.914370 0.081809
vt 0.949441 0.116880
vt 0.968421 0.162701
vt 0.968421 0.212299
vt 0.949441 0.258121
vn 0.382700 0.000000 -0.923900
vn 0.707100 0.000000 -0.707100
vn 0.923900 0.000000 -0.382700
vn 1.000000 0.000000 0.000000
vn 0.923900 0.000000 0.382700
vn 0.707100 0.000000 0.707100
vn 0.382700 0.000000 0.923900
vn 0.000000 0.000000 1.000000
vn -0.382700 0.000000 0.923900
vn -0.707100 0.000000 0.707100
vn -0.923900 0.000000 0.382700
vn -1.000000 0.000000 0.000000
vn -0.923900 0.000000 -0.382700
vn -0.707100 0.000000 -0.707100
vn 0.000000 0.000000 -1.000000
vn -0.382700 0.000000 -0.923900
vn 0.000000 1.000000 0.000000
vn 0.000000 -1.000000 0.000000
g Cylinder.001_Cylinder.001_None
s off
f 1/1/1 2/2/1 4/3/1 3/4/1
f 3/4/2 4/3/2 6/5/2 5/6/2
f 5/6/3 6/5/3 8/7/3 7/8/3
f 7/8/4 8/7/4 10/9/4 9/10/4
f 9/10/5 10/9/5 12/11/5 11/12/5
f 11/12/6 12/11/6 14/13/6 13/14/6
f 13/14/7 14/13/7 16/15/7 15/16/7
f 15/16/8 16/15/8 18/17/8 17/18/8
f 17/18/9 18/17/9 20/19/9 19/20/9
f 19/20/10 20/19/10 22/21/10 21/22/10
f 21/22/11 22/21/11 24/23/11 23/24/11
f 23/24/12 24/23/12 26/25/12 25/26/12
f 25/26/13 26/25/13 28/27/13 27/28/13
f 27/28/14 28/27/14 30/29/14 29/30/14
f 31/31/15 32/32/15 2/2/15 1/1/15
f 29/30/16 30/29/16 32/33/16 31/34/16
f 58/35/17 57/36/17 74/37/17
f 37/38/12 38/39/12 34/40/12 33/41/12
f 38/42/15 39/43/15 35/44/15 34/40/15
f 39/45/4 40/46/4 36/39/4 35/38/4
f 33/47/18 34/48/18 35/46/18 36/45/18
f 40/48/17 39/47/17 38/49/17 37/50/17
f 12/11/17 10/9/17 45/51/17 46/52/17
f 2/2/17 32/32/17 56/53/17 41/54/17
f 4/3/17 2/2/17 41/54/17 42/55/17
f 18/17/17 16/15/17 48/56/17 49/57/17
f 24/23/17 22/21/17 51/58/17 52/59/17
f 8/7/17 6/5/17 43/60/17 44/61/17
f 30/29/17 28/27/17 54/62/17 55/63/17
f 14/13/17 12/11/17 46/52/17 47/64/17
f 20/19/17 18/17/17 49/57/17 50/65/17
f 26/25/17 24/23/17 52/59/17 53/66/17
f 10/9/17 8/7/17 44/61/17 45/51/17
f 32/33/17 30/29/17 55/63/17 56/67/17
f 16/15/17 14/13/17 47/64/17 48/56/17
f 22/21/17 20/19/17 50/65/17 51/58/17
f 6/5/17 4/3/17 42/55/17 43/60/17
f 28/27/17 26/25/17 53/66/17 54/62/17
f 46/52/13 45/51/13 61/68/13 62/69/13
f 41/54/8 56/53/8 72/70/8 57/71/8
f 44/61/11 43/60/11 59/72/11 60/73/11
f 55/63/6 54/62/6 70/74/6 71/75/6
f 42/55/9 41/54/9 57/71/9 58/76/9
f 53/66/4 52/59/4 68/77/4 69/78/4
f 51/58/2 50/65/2 66/79/2 67/80/2
f 49/57/15 48/56/15 64/81/15 65/82/15
f 47/64/14 46/52/14 62/69/14 63/83/14
f 45/51/12 44/61/12 60/73/12 61/68/12
f 56/67/7 55/63/7 71/75/7 72/84/7
f 43/60/10 42/55/10 58/76/10 59/72/10
f 54/62/5 53/66/5 69/78/5 70/74/5
f 52/59/3 51/58/3 67/80/3 68/77/3
f 50/65/1 49/57/1 65/82/1 66/79/1
f 48/56/16 47/64/16 63/83/16 64/81/16
f 1/85/18 3/86/18 73/87/18
f 3/86/18 5/88/18 73/87/18
f 5/88/18 7/89/18 73/87/18
f 7/89/18 9/90/18 73/87/18
f 9/90/18 11/91/18 73/87/18
f 11/91/18 13/92/18 73/87/18
f 13/92/18 15/93/18 73/87/18
f 15/93/18 17/94/18 73/87/18
f 17/94/18 19/95/18 73/87/18
f 19/95/18 21/96/18 73/87/18
f 21/96/18 23/97/18 73/87/18
f 23/97/18 25/98/18 73/87/18
f 25/98/18 27/99/18 73/87/18
f 27/99/18 29/100/18 73/87/18
f 29/100/18 31/101/18 73/87/18
f 31/101/18 1/85/18 73/87/18
f 57/36/17 72/102/17 74/37/17
f 72/102/17 71/103/17 74/37/17
f 71/103/17 70/104/17 74/37/17
f 70/104/17 69/105/17 74/37/17
f 69/105/17 68/106/17 74/37/17
f 68/106/17 67/107/17 74/37/17
f 67/107/17 66/108/17 74/37/17
f 66/108/17 65/109/17 74/37/17
f 65/109/17 64/110/17 74/37/17
f 64/110/17 63/111/17 74/37/17
f 63/111/17 62/112/17 74/37/17
f 62/112/17 61/113/17 74/37/17
f 61/113/17 60/114/17 74/37/17
f 60/114/17 59/115/17 74/37/17
f 59/115/17 58/35/17 74/37/17
f 75/1/1 76/2/1 78/3/1 77/4/1
f 77/4/2 78/3/2 80/5/2 79/6/2
f 79/6/3 80/5/3 82/7/3 81/8/3
f 81/8/4 82/7/4 84/9/4 83/10/4
f 83/10/5 84/9/5 86/11/5 85/12/5
f 85/12/6 86/11/6 88/13/6 87/14/6
f 87/14/7 88/13/7 90/15/7 89/16/7
f 89/16/8 90/15/8 92/17/8 91/18/8
f 91/18/9 92/17/9 94/19/9 93/20/9
f 93/20/10 94/19/10 96/21/10 95/22/10
f 95/22/11 96/21/11 98/23/11 97/24/11
f 97/24/12 98/23/12 100/25/12 99/26/12
f 99/26/13 100/25/13 102/27/13 101/28/13
f 101/28/14 102/27/14 104/29/14 103/30/14
f 105/31/15 106/32/15 76/2/15 75/1/15
f 103/30/16 104/29/16 106/33/16 105/34/16
f 132/35/17 131/36/17 148/37/17
f 111/38/12 112/39/12 108/40/12 107/41/12
f 112/42/15 113/43/15 109/44/15 108/40/15
f 113/45/4 114/46/4 110/39/4 109/38/4
f 107/47/18 108/48/18 109/46/18 110/45/18
f 114/48/17 113/47/17 112/49/17 111/50/17
f 86/11/17 84/9/17 119/51/17 120/52/17
f 76/2/17 106/32/17 130/53/17 115/54/17
f 78/3/17 76/2/17 115/54/17 116/55/17
f 92/17/17 90/15/17 122/56/17 123/57/17
f 98/23/17 96/21/17 125/58/17 126/59/17
f 82/7/17 80/5/17 117/60/17 118/61/17
f 104/29/17 102/27/17 128/62/17 129/63/17
f 88/13/17 86/11/17 120/52/17 121/64/17
f 94/19/17 92/17/17 123/57/17 124/65/17
f 100/25/17 98/23/17 126/59/17 127/66/17
f 84/9/17 82/7/17 118/61/17 119/51/17
f 106/33/17 104/29/17 129/63/17 130/67/17
f 90/15/17 88/13/17 121/64/17 122/56/17
f 96/21/17 94/19/17 124/65/17 125/58/17
f 80/5/17 78/3/17 116/55/17 117/60/17
f 102/27/17 100/25/17 127/66/17 128/62/17
f 120/52/13 119/51/13 135/68/13 136/69/13
f 115/54/8 130/53/8 146/70/8 131/71/8
f 118/61/11 117/60/11 133/72/11 134/73/11
f 129/63/6 128/62/6 144/74/6 145/75/6
f 116/55/9 115/54/9 131/71/9 132/76/9
f 127/66/4 126/59/4 142/77/4 143/78/4
f 125/58/2 124/65/2 140/79/2 141/80/2
f 123/57/15 122/56/15 138/81/15 139/82/15
f 121/64/14 120/52/14 136/69/14 137/83/14
f 119/51/12 118/61/12 134/73/12 135/68/12
f 130/67/7 129/63/7 145/75/7 146/84/7
f 117/60/10 116/55/10 132/76/10 133/72/10
f 128/62/5 127/66/5 143/78/5 144/74/5
f 126/59/3 125/58/3 141/80/3 142/77/3
f 124/65/1 123/57/1 139/82/1 140/79/1
f 122/56/16 121/64/16 137/83/16 138/81/16
f 75/85/18 77/86/18 147/87/18
f 77/86/18 79/88/18 147/87/18
f 79/88/18 81/89/18 147/87/18
f 81/89/18 83/90/18 147/87/18
f 83/90/18 85/91/18 147/87/18
f 85/91/18 87/92/18 147/87/18
f 87/92/18 89/93/18 147/87/18
f 89/93/18 91/94/18 147/87/18
f 91/94/18 93/95/18 147/87/18
f 93/95/18 95/96/18 147/87/18
f 95/96/18 97/97/18 147/87/18
f 97/97/18 99/98/18 147/87/18
f 99/98/18 101/99/18 147/87/18
f 101/99/18 103/100/18 147/87/18
f 103/100/18 105/101/18 147/87/18
f 105/101/18 75/85/18 147/87/18
f 131/36/17 146/102/17 148/37/17
f 146/102/17 145/103/17 148/37/17
f 145/103/17 144/104/17 148/37/17
f 144/104/17 143/105/17 148/37/17
f 143/105/17 142/106/17 148/37/17
f 142/106/17 141/107/17 148/37/17
f 141/107/17 140/108/17 148/37/17
f 140/108/17 139/109/17 148/37/17
f 139/109/17 138/110/17 148/37/17
f 138/110/17 137/111/17 148/37/17
f 137/111/17 136/112/17 148/37/17
f 136/112/17 135/113/17 148/37/17
f 135/113/17 134/114/17 148/37/17
f 134/114/17 133/115/17 148/37/17
f 133/115/17 132/35/17 148/37/17