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

use mesh node for Air conditioner

(to get rid of the "metal" top face where there should be glass)
This commit is contained in:
Vanessa Ezekowitz
2015-05-07 18:05:46 -04:00
parent e414163e5e
commit 05d41327d7
7 changed files with 80 additions and 13 deletions

View File

@ -4,21 +4,13 @@ local S = homedecor.gettext
homedecor.register("air_conditioner", {
description = S("Air Conditioner"),
tiles = { 'homedecor_ac_tb.png',
'homedecor_ac_tb.png',
'homedecor_ac_sides.png',
'homedecor_ac_sides.png',
'homedecor_ac_back.png',
'homedecor_ac_front.png'},
mesh = "homedecor_ac.obj",
tiles = {
"homedecor_ac.png",
"default_glass.png"
},
groups = { snappy = 3 },
sounds = default.node_sound_leaves_defaults(),
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.124, 0.5 }, -- off by just a tad to force the adjoining faces to be drawn.
{-0.5, 0.125, -0.5, 0.5, 0.5, 0.5 },
}
},
selection_box = { type="regular" },
})