1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-16 20:50:22 +02:00

use unified dyes on_construct handler

to set 256-color palette meta key on place
for those nodes that use it
This commit is contained in:
Vanessa Ezekowitz
2017-03-14 02:13:17 -04:00
parent 761b18c17e
commit 27eae09d93
3 changed files with 7 additions and 0 deletions

View File

@ -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" },
})