summaryrefslogtreecommitdiff
path: root/homedecor
diff options
context:
space:
mode:
Diffstat (limited to 'homedecor')
-rw-r--r--homedecor/bathroom_furniture.lua3
-rw-r--r--homedecor/lighting.lua2
2 files changed, 5 insertions, 0 deletions
diff --git a/homedecor/bathroom_furniture.lua b/homedecor/bathroom_furniture.lua
index d7cd0c6..100ea88 100644
--- a/homedecor/bathroom_furniture.lua
+++ b/homedecor/bathroom_furniture.lua
@@ -15,6 +15,7 @@ minetest.register_node("homedecor:bathroom_tiles_dark", {
place_param2 = 240,
groups = {cracky=3, ud_param2_colorable = 1},
sounds = default.node_sound_stone_defaults(),
+ on_construct = unifieddyes.on_construct,
after_dig_node = unifieddyes.after_dig_node
})
@@ -32,6 +33,7 @@ minetest.register_node("homedecor:bathroom_tiles_medium", {
place_param2 = 240,
groups = {cracky=3, ud_param2_colorable = 1},
sounds = default.node_sound_stone_defaults(),
+ on_construct = unifieddyes.on_construct,
after_dig_node = unifieddyes.after_dig_node
})
@@ -49,6 +51,7 @@ minetest.register_node("homedecor:bathroom_tiles_light", {
place_param2 = 240,
groups = {cracky=3, ud_param2_colorable = 1},
sounds = default.node_sound_stone_defaults(),
+ on_construct = unifieddyes.on_construct,
after_dig_node = unifieddyes.after_dig_node
})
diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua
index 776bc93..ea1e166 100644
--- a/homedecor/lighting.lua
+++ b/homedecor/lighting.lua
@@ -428,6 +428,7 @@ local function reg_lamp(suffix, nxt, light, brightness)
node.name = "homedecor:table_lamp_"..repl[suffix]
minetest.set_node(pos, node)
end,
+ on_construct = unifieddyes.on_construct,
after_dig_node = unifieddyes.after_dig_node
})
@@ -457,6 +458,7 @@ local function reg_lamp(suffix, nxt, light, brightness)
node.name = "homedecor:standing_lamp_"..repl[suffix]
minetest.set_node(pos, node)
end,
+ on_construct = unifieddyes.on_construct,
after_dig_node = unifieddyes.after_dig_node,
expand = { top="placeholder" },
})