2014-06-25 07:02:26 +02:00
|
|
|
-- laundry devices
|
|
|
|
|
2015-01-24 00:34:02 +01:00
|
|
|
homedecor.register("washing_machine", {
|
2014-06-25 07:02:26 +02:00
|
|
|
description = "Washing Machine",
|
|
|
|
tiles = {
|
|
|
|
"homedecor_washing_machine_top.png",
|
|
|
|
"homedecor_washing_machine_bottom.png",
|
|
|
|
"homedecor_washing_machine_sides.png",
|
|
|
|
"homedecor_washing_machine_sides.png^[transformFX",
|
|
|
|
"homedecor_washing_machine_back.png",
|
|
|
|
"homedecor_washing_machine_front.png"
|
|
|
|
},
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {
|
|
|
|
{-0.5, -0.5, -0.5, 0.5, 0.375, 0.375},
|
|
|
|
{-0.5, -0.5, 0.3125, 0.5, 0.5, 0.5},
|
|
|
|
}
|
|
|
|
},
|
2015-04-30 00:24:47 +02:00
|
|
|
selection_box = { type = "regular" },
|
2014-06-25 07:02:26 +02:00
|
|
|
groups = { snappy = 3 },
|
|
|
|
})
|
|
|
|
|
2015-01-24 00:34:02 +01:00
|
|
|
homedecor.register("dryer", {
|
2014-06-25 07:02:26 +02:00
|
|
|
description = "Tumble dryer",
|
|
|
|
tiles = {
|
|
|
|
"homedecor_dryer_top.png",
|
|
|
|
"homedecor_dryer_bottom.png",
|
|
|
|
"homedecor_dryer_sides.png",
|
|
|
|
"homedecor_dryer_sides.png^[transformFX",
|
|
|
|
"homedecor_dryer_back.png",
|
|
|
|
"homedecor_dryer_front.png"
|
|
|
|
},
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {
|
|
|
|
{-0.5, -0.5, -0.5, 0.5, 0.375, 0.375},
|
|
|
|
{-0.5, -0.5, 0.3125, 0.5, 0.5, 0.5},
|
|
|
|
}
|
|
|
|
},
|
2015-04-30 00:24:47 +02:00
|
|
|
selection_box = { type = "regular" },
|
2014-06-25 07:02:26 +02:00
|
|
|
groups = { snappy = 3 },
|
|
|
|
})
|
|
|
|
|
2015-04-28 21:29:49 +02:00
|
|
|
local ib_cbox = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = { -6/16, -8/16, -4/16, 17/16, 4/16, 4/16 }
|
|
|
|
}
|
|
|
|
|
|
|
|
homedecor.register("ironing_board", {
|
|
|
|
description = "Ironing board",
|
|
|
|
mesh = "homedecor_ironing_board.obj",
|
|
|
|
tiles = {
|
|
|
|
"wool_grey.png",
|
2015-05-04 00:30:56 +02:00
|
|
|
"homedecor_generic_metal_black.png^[brighten"
|
2015-04-28 21:29:49 +02:00
|
|
|
},
|
2015-09-08 09:50:02 +02:00
|
|
|
expand = {right = "placeholder"},
|
2015-04-28 21:29:49 +02:00
|
|
|
groups = { snappy = 3 },
|
|
|
|
selection_box = ib_cbox,
|
|
|
|
collision_box = ib_cbox
|
|
|
|
})
|