added decorative washing machine and tumble dryer
(no craft recipes yet)
|
@ -72,6 +72,9 @@ dofile(homedecor.modpath.."/fences.lua")
|
||||||
dofile(homedecor.modpath.."/lighting.lua")
|
dofile(homedecor.modpath.."/lighting.lua")
|
||||||
dofile(homedecor.modpath.."/kitchen_cabinet.lua")
|
dofile(homedecor.modpath.."/kitchen_cabinet.lua")
|
||||||
dofile(homedecor.modpath.."/refrigerator.lua")
|
dofile(homedecor.modpath.."/refrigerator.lua")
|
||||||
|
|
||||||
|
dofile(homedecor.modpath.."/laundry.lua")
|
||||||
|
|
||||||
dofile(homedecor.modpath.."/furnaces.lua")
|
dofile(homedecor.modpath.."/furnaces.lua")
|
||||||
dofile(homedecor.modpath.."/nightstands.lua")
|
dofile(homedecor.modpath.."/nightstands.lua")
|
||||||
|
|
||||||
|
|
56
homedecor/laundry.lua
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
-- 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 },
|
||||||
|
})
|
||||||
|
|
BIN
homedecor/textures/homedecor_dryer_back.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
homedecor/textures/homedecor_dryer_bottom.png
Normal file
After Width: | Height: | Size: 235 B |
BIN
homedecor/textures/homedecor_dryer_front.png
Normal file
After Width: | Height: | Size: 237 B |
BIN
homedecor/textures/homedecor_dryer_sides.png
Normal file
After Width: | Height: | Size: 210 B |
BIN
homedecor/textures/homedecor_dryer_top.png
Normal file
After Width: | Height: | Size: 215 B |
BIN
homedecor/textures/homedecor_washing_machine_back.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
homedecor/textures/homedecor_washing_machine_bottom.png
Normal file
After Width: | Height: | Size: 232 B |
BIN
homedecor/textures/homedecor_washing_machine_front.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
homedecor/textures/homedecor_washing_machine_sides.png
Normal file
After Width: | Height: | Size: 209 B |
BIN
homedecor/textures/homedecor_washing_machine_top.png
Normal file
After Width: | Height: | Size: 233 B |