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:
@ -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" },
|
||||
})
|
||||
|
Reference in New Issue
Block a user