mirror of
https://github.com/joe7575/techpack.git
synced 2025-02-16 18:02:25 +01:00
'minetest.LIGHT_MAX' bugfix
This commit is contained in:
@ -72,7 +72,7 @@ minetest.register_node("tubelib:lamp_on", {
|
|||||||
end,
|
end,
|
||||||
|
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = LIGHT_MAX,
|
light_source = minetest.LIGHT_MAX,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {crumbly=0, not_in_creative_inventory=1},
|
groups = {crumbly=0, not_in_creative_inventory=1},
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
History:
|
History:
|
||||||
see init.lua
|
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,
|
end,
|
||||||
|
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
light_source = LIGHT_MAX,
|
light_source = minetest.LIGHT_MAX,
|
||||||
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"
|
||||||
|
@ -76,7 +76,7 @@ minetest.register_node("tubelib_addons2:lamp_on", {
|
|||||||
unifieddyes.after_dig_node(pos, oldnode, oldmetadata, digger)
|
unifieddyes.after_dig_node(pos, oldnode, oldmetadata, digger)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
light_source = LIGHT_MAX,
|
light_source = minetest.LIGHT_MAX,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
drop = "tubelib_addons2:lamp_off"
|
drop = "tubelib_addons2:lamp_off"
|
||||||
})
|
})
|
||||||
|
@ -101,7 +101,7 @@ minetest.register_node("tubelib_addons2:streetlamp_on", {
|
|||||||
end,
|
end,
|
||||||
|
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = LIGHT_MAX,
|
light_source = minetest.LIGHT_MAX,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {crumbly=0, not_in_creative_inventory=1},
|
groups = {crumbly=0, not_in_creative_inventory=1},
|
||||||
|
Reference in New Issue
Block a user