mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-11-17 23:58:30 +01:00
b3268caa4b
(no craft recipes yet)
57 lines
1.3 KiB
Lua
57 lines
1.3 KiB
Lua
-- laundry devices
|
|
|
|
minetest.register_node("homedecor:washing_machine", {
|
|
description = "Washing Machine",
|
|
drawtype = "nodebox",
|
|
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"
|
|
},
|
|
paramtype = "light",
|
|
paramtype2 = "facedir",
|
|
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},
|
|
}
|
|
},
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
|
},
|
|
groups = { snappy = 3 },
|
|
})
|
|
|
|
minetest.register_node("homedecor:dryer", {
|
|
description = "Tumble dryer",
|
|
drawtype = "nodebox",
|
|
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"
|
|
},
|
|
paramtype = "light",
|
|
paramtype2 = "facedir",
|
|
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},
|
|
}
|
|
},
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
|
},
|
|
groups = { snappy = 3 },
|
|
})
|
|
|