Tweak node brightness

This commit is contained in:
LoneWolfHT 2021-07-29 11:14:30 -07:00
parent d9b5171c6c
commit cf9b9c38ff

View File

@ -329,12 +329,20 @@ minetest.register_node("lavastuff:block", {
description = S("Lava Block"), description = S("Lava Block"),
tiles = {"lavastuff_block.png"}, tiles = {"lavastuff_block.png"},
is_ground_content = false, is_ground_content = false,
sounds = default and default.node_sound_stone_defaults(), sounds = default and default.node_sound_glass_defaults(),
groups = {cracky = 2, level = 2}, groups = {cracky = 2, level = 2},
light_source = 4, light_source = 6,
}) })
if not minetest.get_modpath("moreblocks") and minetest.get_modpath("stairs") then if minetest.get_modpath("moreblocks") then
stairsplus:register_all("lavastuff", "lava", "lavastuff:ingot", {
description = "Lava",
tiles = {"lavastuff_block.png"},
groups = {cracky = 2, level = 2},
light_source = 6,
sounds = default and default.node_sound_glass_defaults(),
})
elseif minetest.get_modpath("stairs") then
stairs.register_stair_and_slab( stairs.register_stair_and_slab(
"lava", "lava",
"lavastuff:block", "lavastuff:block",
@ -342,23 +350,13 @@ if not minetest.get_modpath("moreblocks") and minetest.get_modpath("stairs") the
{"lavastuff_block.png"}, {"lavastuff_block.png"},
S("Lava Stair"), S("Lava Stair"),
S("Lava Slab"), S("Lava Slab"),
default.node_sound_stone_defaults(), default.node_sound_glass_defaults(),
true, true,
S("Inner Lava Stair"), S("Inner Lava Stair"),
S("Outer Lava Stair") S("Outer Lava Stair")
) )
end end
if minetest.get_modpath("moreblocks") then
stairsplus:register_all("lavastuff", "lava", "lavastuff:ingot", {
description = "Lava",
tiles = {"lavastuff_block.png"},
groups = {cracky = 2, level = 2},
light_source = 4,
sounds = default and default.node_sound_stone_defaults(),
})
end
-- --
--Toolranks support --Toolranks support
-- --