forked from mtcontrib/scifi_nodes
replace default.LIGHT_MAX with minetest.LIGHT_MAX
This commit is contained in:
@ -454,7 +454,7 @@ minetest.register_node("scifi_nodes:lightstp", {
|
||||
tiles = {
|
||||
"scifi_nodes_lightstripe.png"
|
||||
},
|
||||
light_source = default.LIGHT_MAX,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1},
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
@ -522,7 +522,7 @@ local nodetypes = {
|
||||
{"holes", "metal with holes","holes"},
|
||||
{"white2", "plastic", "white2", 0, true},
|
||||
{"super_white", "Super Plastic", "super_white", 11},
|
||||
{"ultra_white", "Ultra Plastic", "ultra_white", default.LIGHT_MAX},
|
||||
{"ultra_white", "Ultra Plastic", "ultra_white", minetest.LIGHT_MAX},
|
||||
{"engine", "engine", "engine"},
|
||||
{"wall", "metal wall", "wall"},
|
||||
{"white", "plastic wall", "white", 0, true},
|
||||
@ -587,10 +587,10 @@ local nodetypes = {
|
||||
{"monitorwall", "Wall monitors", "monitorwall"},
|
||||
{"screen3", "Wall monitor", "screen3"},
|
||||
{"doomlight", "Doom light", "doomlight", 12},
|
||||
{"bluwllight", "Blue wall light", "capsule3", default.LIGHT_MAX},
|
||||
{"bluwllight", "Blue wall light", "capsule3", minetest.LIGHT_MAX},
|
||||
{"bluegrid", "Blue Grid", "bluegrid", 5},
|
||||
{"fan", "Fan", "fan"},
|
||||
{"ppllght", "Purple wall light", "", default.LIGHT_MAX},
|
||||
{"ppllght", "Purple wall light", "", minetest.LIGHT_MAX},
|
||||
{"pplwll", "Purple wall", "", 0},
|
||||
{"pplwll2", "Purple wall2", "", 0},
|
||||
{"pplwll3", "Purple wall3", "", 0},
|
||||
|
Reference in New Issue
Block a user