'minetest.LIGHT_MAX' bugfix

This commit is contained in:
Joachim Stolberg 2018-10-20 20:56:36 +02:00
parent 5d36b1f65c
commit c243ff59d7
5 changed files with 5 additions and 5 deletions

@ -72,7 +72,7 @@ minetest.register_node("tubelib:lamp_on", {
end,
paramtype = "light",
light_source = LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {crumbly=0, not_in_creative_inventory=1},

@ -11,7 +11,7 @@
History:
see init.lua
tubes2.lua: Node registration and API function to move items via tubes
tubes2.lua: Node registration and API functions to move items via tubes
]]--

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

@ -76,7 +76,7 @@ minetest.register_node("tubelib_addons2:lamp_on", {
unifieddyes.after_dig_node(pos, oldnode, oldmetadata, digger)
end,
light_source = LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
is_ground_content = false,
drop = "tubelib_addons2:lamp_off"
})

@ -101,7 +101,7 @@ minetest.register_node("tubelib_addons2:streetlamp_on", {
end,
paramtype = "light",
light_source = LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {crumbly=0, not_in_creative_inventory=1},