mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
use mesh node for filing cabinet
This commit is contained in:
parent
a75c55cfc3
commit
31bc60f055
@ -273,22 +273,12 @@ homedecor.register("dvd_cd_cabinet", {
|
||||
|
||||
homedecor.register("filing_cabinet", {
|
||||
description = S("Filing Cabinet"),
|
||||
mesh = "homedecor_filing_cabinet.obj",
|
||||
tiles = {
|
||||
'forniture_wood.png',
|
||||
'homedecor_filing_cabinet_bottom.png',
|
||||
'forniture_wood.png',
|
||||
'forniture_wood.png',
|
||||
'forniture_wood.png',
|
||||
'homedecor_filing_cabinet_front.png'
|
||||
"forniture_wood.png",
|
||||
"homedecor_filing_cabinet_front.png",
|
||||
"homedecor_filing_cabinet_bottom.png"
|
||||
},
|
||||
selection_box = { type = "regular" },
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{ -8/16, -8/16, -30/64, 8/16, 8/16, 8/16 }, -- main body
|
||||
{ -7/16, -7/16, -8/16, 7/16, 7/16, 8/16 }, -- drawer
|
||||
}
|
||||
},
|
||||
groups = { snappy = 3 },
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
infotext=S("Filing cabinet"),
|
||||
|
56
homedecor/models/homedecor_filing_cabinet.obj
Normal file
56
homedecor/models/homedecor_filing_cabinet.obj
Normal file
@ -0,0 +1,56 @@
|
||||
# Blender v2.73 (sub 0) OBJ File: 'filing-cabinet.blend'
|
||||
# www.blender.org
|
||||
o Cylinder
|
||||
v -0.500000 -0.500000 0.500000
|
||||
v -0.500000 -0.500000 -0.437500
|
||||
v 0.500000 -0.500000 -0.437500
|
||||
v 0.500000 -0.500000 0.500000
|
||||
v -0.500000 0.500000 0.500000
|
||||
v -0.500000 0.500000 -0.437500
|
||||
v 0.500000 0.500000 -0.437500
|
||||
v 0.500000 0.500000 0.500000
|
||||
v -0.437500 -0.437500 -0.437500
|
||||
v 0.437500 -0.437500 -0.437500
|
||||
v -0.437500 0.437500 -0.437500
|
||||
v 0.437500 0.437500 -0.437500
|
||||
v -0.437500 -0.437500 -0.500000
|
||||
v 0.437500 -0.437500 -0.500000
|
||||
v -0.437500 0.437500 -0.500000
|
||||
v 0.437500 0.437500 -0.500000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 0.937500 0.937500
|
||||
vt 0.062500 0.937500
|
||||
vt 0.062500 0.062500
|
||||
vt 0.937500 0.062500
|
||||
vt 0.937500 0.125000
|
||||
vt 0.062500 0.125000
|
||||
vt 0.125000 0.062500
|
||||
vt 0.125000 0.937500
|
||||
vt 0.062500 0.875000
|
||||
vt 0.937500 0.875000
|
||||
vt 0.875000 0.937500
|
||||
vt 0.875000 0.062500
|
||||
vn -1.000000 0.000000 0.000000
|
||||
vn 0.000000 0.000000 -1.000000
|
||||
vn 1.000000 0.000000 0.000000
|
||||
vn 0.000000 0.000000 1.000000
|
||||
vn 0.000000 1.000000 0.000000
|
||||
vn 0.000000 -1.000000 0.000000
|
||||
g Cylinder_Cylinder_sides
|
||||
s off
|
||||
f 5/1/1 6/2/1 2/3/1 1/4/1
|
||||
f 6/1/2 7/2/2 3/3/2 2/4/2
|
||||
f 7/1/3 8/2/3 4/3/3 3/4/3
|
||||
f 8/1/4 5/2/4 1/3/4 4/4/4
|
||||
f 8/2/5 7/3/5 6/4/5 5/1/5
|
||||
g Cylinder_Cylinder_drawer
|
||||
f 15/5/2 16/6/2 14/7/2 13/8/2
|
||||
f 10/7/6 9/8/6 13/9/6 14/10/6
|
||||
f 12/6/3 10/7/3 14/11/3 16/12/3
|
||||
f 11/5/5 12/6/5 16/13/5 15/14/5
|
||||
f 9/8/1 11/5/1 15/15/1 13/16/1
|
||||
g Cylinder_Cylinder_bottom
|
||||
f 1/4/6 2/1/6 3/2/6 4/3/6
|
Loading…
Reference in New Issue
Block a user