mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-10-31 23:40:27 +01:00
49 lines
1.1 KiB
Lua
49 lines
1.1 KiB
Lua
|
minetest.register_node("homedecor:power_outlet", {
|
||
|
drawtype = "nodebox",
|
||
|
paramtype = "light",
|
||
|
paramtype2 = "facedir",
|
||
|
description = "Power Outlet",
|
||
|
tiles = {
|
||
|
"homedecor_outlet_edges.png",
|
||
|
"homedecor_outlet_edges.png",
|
||
|
"homedecor_outlet_edges.png",
|
||
|
"homedecor_outlet_edges.png",
|
||
|
"homedecor_outlet_back.png",
|
||
|
"homedecor_outlet_front.png"
|
||
|
},
|
||
|
node_box = {
|
||
|
type = "fixed",
|
||
|
fixed = {
|
||
|
{-0.125, -0.5, 0.4375, 0.125, -0.1875, 0.5},
|
||
|
}
|
||
|
},
|
||
|
groups = {cracky=3},
|
||
|
sounds = default.node_sound_stone_defaults()
|
||
|
})
|
||
|
|
||
|
minetest.register_node("homedecor:light_switch", {
|
||
|
drawtype = "nodebox",
|
||
|
paramtype = "light",
|
||
|
paramtype2 = "facedir",
|
||
|
description = "Light switch",
|
||
|
tiles = {
|
||
|
"homedecor_light_switch_edges.png",
|
||
|
"homedecor_light_switch_edges.png",
|
||
|
"homedecor_light_switch_edges.png",
|
||
|
"homedecor_light_switch_edges.png",
|
||
|
"homedecor_light_switch_back.png",
|
||
|
"homedecor_light_switch_front.png"
|
||
|
},
|
||
|
node_box = {
|
||
|
type = "fixed",
|
||
|
fixed = {
|
||
|
{-0.125, 0.1875, 0.4375, 0.125, 0.5, 0.5},
|
||
|
{-.03125, 0.375, 0.40625, 0.03125, 0.4375, 0.5},
|
||
|
|
||
|
}
|
||
|
},
|
||
|
groups = {cracky=3},
|
||
|
sounds = default.node_sound_stone_defaults()
|
||
|
})
|
||
|
|