mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2026-01-02 20:55:24 +01:00
Add recipes for power outlet and light switch
also fixed the group settings to make them easier to dig, and gave them nice, clear inventory images.
This commit is contained in:
@@ -11,13 +11,14 @@ minetest.register_node("homedecor:power_outlet", {
|
||||
"homedecor_outlet_back.png",
|
||||
"homedecor_outlet_front.png"
|
||||
},
|
||||
inventory_image = "homedecor_outlet_inv.png",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.125, -0.5, 0.4375, 0.125, -0.1875, 0.5},
|
||||
}
|
||||
},
|
||||
groups = {cracky=3},
|
||||
groups = {cracky=3,dig_immediate=2},
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
@@ -34,6 +35,7 @@ minetest.register_node("homedecor:light_switch", {
|
||||
"homedecor_light_switch_back.png",
|
||||
"homedecor_light_switch_front.png"
|
||||
},
|
||||
inventory_image = "homedecor_light_switch_inv.png",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@@ -42,7 +44,7 @@ minetest.register_node("homedecor:light_switch", {
|
||||
|
||||
}
|
||||
},
|
||||
groups = {cracky=3},
|
||||
groups = {cracky=3,dig_immediate=2},
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user