1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-14 20:00:17 +02:00

use mesh node for cd/dvd cabinet

This commit is contained in:
Vanessa Ezekowitz
2015-04-26 23:23:45 -04:00
parent 72e58b0158
commit 7f7ba92bc8
6 changed files with 140 additions and 18 deletions

View File

@ -236,26 +236,11 @@ homedecor.register("cardboard_box", {
homedecor.register("dvd_cd_cabinet", {
description = "DVD/CD cabinet",
mesh = "homedecor_dvd_cabinet.obj",
tiles = {
"homedecor_dvdcd_cabinet_top.png",
"homedecor_dvdcd_cabinet_top.png",
"homedecor_dvdcd_cabinet_sides.png",
"homedecor_dvdcd_cabinet_sides.png^[transformFX",
"homedecor_dvdcd_cabinet_back.png",
"default_wood.png",
"homedecor_dvdcd_cabinet_front.png",
},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, 0, -0.4375, 0.5, 0.5},
{0.4375, -0.5, 0, 0.5, 0.5, 0.5},
{-0.0625, -0.5, 0, 0.0625, 0.5, 0.5},
{-0.5, 0.4375, 0, 0.5, 0.5, 0.5},
{-0.5, -0.5, 0, 0.5, -0.4375, 0.5},
{-0.5, -0.5, 0.0625, 0.5, 0.5, 0.4375},
{-0.375, -0.5, 0.02756, -0.125, 0.5, 0.5},
{0.125, -0.5, 0.01217, 0.375, 0.5, 0.5},
}
"homedecor_dvdcd_cabinet_back.png"
},
selection_box = homedecor.nodebox.slab_z(0.5),
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3},