1
0
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:
A.C.M
2019-01-27 14:04:34 +01:00
parent d3fb2befe5
commit c2775191ce
3 changed files with 16 additions and 16 deletions

View File

@ -564,10 +564,10 @@ node.types = {
{"monitorwall", "Wall monitors", "monitorwall"},
{"screen3", "Wall monitor", "screen3"},
{"doomlight", "Doom light", "doomlight", 12},
{"bluwllight", "Blue wall light", "capsule3", 20},
{"bluwllight", "Blue wall light", "capsule3", default.LIGHT_MAX},
{"bluegrid", "Blue Grid", "bluegrid", 5},
{"fan", "Fan", "fan"},
{"ppllght", "Purple wall light", "", 50},
{"ppllght", "Purple wall light", "", default.LIGHT_MAX},
{"pplwll", "Purple wall", "", 0},
{"pplwll2", "Purple wall2", "", 0},
{"pplwll3", "Purple wall3", "", 0},
@ -596,12 +596,12 @@ for _, row in ipairs(node.types) do
end
node.plants = {
{"flower1", "Glow Flower", 1,0, 50},
{"flower1", "Glow Flower", 1,0, default.LIGHT_MAX},
{"flower2", "Pink Flower", 1.5,0, 10},
{"flower3", "Triffid", 2,5, 0},
{"flower4", "Weeping flower", 1.5,0, 0},
{"plant1", "Bulb Plant", 1,0, 0},
{"plant2", "Trap Plant", 1.5,0, 30},
{"plant2", "Trap Plant", 1.5,0, default.LIGHT_MAX},
{"plant3", "Blue Jelly Plant", 1.2,0, 10},
{"plant4", "Green Jelly Plant", 1.2,0, 10},
{"plant5", "Fern Plant", 1.7,0, 0},
@ -790,7 +790,7 @@ minetest.register_node("scifi_nodes:lightstp", {
tiles = {
"scifi_nodes_lightstripe.png"
},
light_source = 14,
light_source = default.LIGHT_MAX,
paramtype = "light",
groups = {cracky=1}
})