Fix warning about 'light_source' value exceeds maximum

This commit is contained in:
bri cassa 2021-03-25 20:35:01 +01:00
parent eed9273d85
commit 79dc4467a3
2 changed files with 5 additions and 5 deletions

View File

@ -23,23 +23,23 @@ local wire = 'digilines:wire_std_00000000'
minetest.register_craft({
output = "digiterms:scifi_glassscreen",
type = "shapeless",
recipe = { "scifi_nodes:glassscreen", "digilines:wire_std_00000000" }
recipe = { "scifi_nodes:glassscreen", wire }
})
minetest.register_craft({
output = "digiterms:scifi_widescreen",
type = "shapeless",
recipe = { "scifi_nodes:widescreen", "digilines:wire_std_00000000" }
recipe = { "scifi_nodes:widescreen", wire }
})
minetest.register_craft({
output = "digiterms:scifi_tallscreen",
type = "shapeless",
recipe = { "scifi_nodes:tallscreen", "digilines:wire_std_00000000" }
recipe = { "scifi_nodes:tallscreen", wire }
})
minetest.register_craft({
output = "digiterms:scifi_keysmonitor",
type = "shapeless",
recipe = { "scifi_nodes:keysmonitor", "digilines:wire_std_00000000" }
recipe = { "scifi_nodes:keysmonitor", wire }
})

View File

@ -23,7 +23,7 @@ digiterms.register_monitor("digiterms:scifi_glassscreen", {
paramtype2 = "facedir",
use_texture_alpha = "blend",
sunlight_propagates = true,
light_source = 15,
light_source = default.LIGHT_MAX,
tiles = {
"digiterms_scifi_glscrn.png",
"digiterms_scifi_glscrn.png",