mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2025-06-30 15:10:46 +02:00
Fixed warnings about maxlight, set to default.LIGHT_MAX
This commit is contained in:
@ -301,7 +301,7 @@ minetest.register_node("scifi_nodes:gloshroom", {
|
||||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
light_source = 50,
|
||||
light_source = default.LIGHT_MAX,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
sunlight_propagates = false,
|
||||
@ -444,7 +444,7 @@ minetest.register_node("scifi_nodes:lightbar", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
light_source = 25,
|
||||
light_source = default.LIGHT_MAX,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -522,7 +522,7 @@ minetest.register_node("scifi_nodes:light_dynamic", {
|
||||
fixed = {-0.5, -0.5, -0.5, -0.45, 0.5, 0.5}
|
||||
},
|
||||
paramtype2 = "wallmounted",
|
||||
light_source = 25,
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {cracky=1, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
})
|
||||
@ -569,7 +569,7 @@ minetest.register_node("scifi_nodes:lightbars", {
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
light_source = 25,
|
||||
light_source = default.LIGHT_MAX,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -590,7 +590,7 @@ tiles = {{
|
||||
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 1.00},
|
||||
}},
|
||||
use_texture_alpha = true,
|
||||
light_source = 15,
|
||||
light_source = default.LIGHT_MAX,
|
||||
drawtype = "nodebox",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
@ -610,7 +610,7 @@ tiles = {
|
||||
"scifi_nodes_orange.png",
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
light_source = 20,
|
||||
light_source = default.LIGHT_MAX,
|
||||
drawtype = "nodebox",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
@ -1148,7 +1148,7 @@ minetest.register_node("scifi_nodes:glassscreen", {
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
light_source = 15,
|
||||
light_source = default.LIGHT_MAX,
|
||||
sunlight_propagates = true,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
|
Reference in New Issue
Block a user