replace default.LIGHT_MAX with minetest.LIGHT_MAX

This commit is contained in:
BuckarooBanzay
2021-08-15 11:12:18 +02:00
parent 112543ca93
commit 06aa9e0cf1
4 changed files with 19 additions and 19 deletions

View File

@ -304,7 +304,7 @@ minetest.register_node("scifi_nodes:gloshroom", {
},
drawtype = "nodebox",
paramtype = "light",
light_source = default.LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
walkable = false,
buildable_to = true,
sunlight_propagates = false,
@ -451,7 +451,7 @@ minetest.register_node("scifi_nodes:lightbar", {
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
light_source = default.LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
node_box = {
type = "fixed",
fixed = {
@ -488,7 +488,7 @@ minetest.register_node("scifi_nodes:light_dynamic", {
}
},
paramtype2 = "wallmounted",
light_source = default.LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
groups = {cracky=1, oddly_breakable_by_hand=1},
sounds = default.node_sound_glass_defaults()
})
@ -536,7 +536,7 @@ minetest.register_node("scifi_nodes:lightbars", {
drawtype = "nodebox",
paramtype = "light",
use_texture_alpha = "blend",
light_source = default.LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
node_box = {
type = "fixed",
fixed = {
@ -557,7 +557,7 @@ tiles = {{
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 1.00},
}},
use_texture_alpha = "blend",
light_source = default.LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
drawtype = "nodebox",
sunlight_propagates = true,
paramtype = "light",
@ -577,7 +577,7 @@ tiles = {
"scifi_nodes_orange.png",
},
use_texture_alpha = "blend",
light_source = default.LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
drawtype = "nodebox",
sunlight_propagates = true,
paramtype = "light",
@ -1128,7 +1128,7 @@ minetest.register_node("scifi_nodes:glassscreen", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
light_source = default.LIGHT_MAX,
light_source = minetest.LIGHT_MAX,
sunlight_propagates = true,
node_box = {
type = "fixed",