mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +01:00
'minetest.LIGHT_MAX' bugfix
This commit is contained in:
parent
5d36b1f65c
commit
c243ff59d7
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user