Merge pull request #90 from akozlovskiy119/fix-colorlamp-sound

Fix no footstep sound when colorlamp is on
This commit is contained in:
Joachim Stolberg 2021-06-25 17:40:08 +02:00 committed by GitHub
commit 4364f90e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

@ -124,6 +124,7 @@ for idx,color in ipairs(tColors) do
paramtype = 'light', paramtype = 'light',
light_source = minetest.LIGHT_MAX, light_source = minetest.LIGHT_MAX,
sounds = default.node_sound_stone_defaults(),
groups = {choppy=2, cracky=1, not_in_creative_inventory=1}, groups = {choppy=2, cracky=1, not_in_creative_inventory=1},
is_ground_content = false, is_ground_content = false,
drop = "tubelib_addons2:lamp" drop = "tubelib_addons2:lamp"

@ -71,6 +71,7 @@ minetest.register_node("tubelib_addons2:lamp_on", {
paramtype = "light", paramtype = "light",
paramtype2 = "color", paramtype2 = "color",
palette = "unifieddyes_palette_extended.png", palette = "unifieddyes_palette_extended.png",
sounds = default.node_sound_stone_defaults(),
groups = {choppy=2, cracky=1, not_in_creative_inventory=1, ud_param2_colorable = 1}, groups = {choppy=2, cracky=1, not_in_creative_inventory=1, ud_param2_colorable = 1},
on_construct = unifieddyes.on_construct, on_construct = unifieddyes.on_construct,