More Minecraft-like light levels

This commit is contained in:
Wuzzy 2017-02-01 22:12:08 +01:00
parent bf3af4b0e2
commit b6c603dc23
7 changed files with 13 additions and 6 deletions

View File

@ -100,7 +100,7 @@ minetest.register_node("mcl_core:stone_with_redstone_lit", {
description = "Lit Redstone Ore",
tiles = {"default_stone.png^default_mineral_redstone.png"},
paramtype = "light",
light_source = 8,
light_source = 9,
is_ground_content = true,
stack_max = 64,
groups = {cracky=2, not_in_creative_inventory=1},
@ -451,6 +451,7 @@ minetest.register_node("mcl_core:sea_lantern", {
paramtype2 = "facedir",
is_ground_content = false,
stack_max = 64,
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14,
drop = {
max_items = 1,
@ -1235,6 +1236,7 @@ minetest.register_node("mcl_core:lava_flowing", {
},
paramtype = "light",
paramtype2 = "flowingliquid",
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14,
walkable = false,
pointable = false,
@ -1272,6 +1274,7 @@ minetest.register_node("mcl_core:lava_source", {
}
},
paramtype = "light",
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14,
walkable = false,
pointable = false,
@ -1446,7 +1449,8 @@ minetest.register_node("mcl_core:glowstone", {
{items = {'mcl_core:glowdust 2'}},
}
},
light_source = 12,
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14,
sounds = mcl_core.node_sound_stone_defaults(),
})

View File

@ -270,6 +270,7 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
description = "Jack o'Lantern",
stack_max = 64,
paramtype2 = "facedir",
-- Real light level: 15 (Minetest caps at 14)
light_source = 14,
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face_light.png"},
groups = {choppy=2, oddly_breakable_by_hand=2, building_block=1},

View File

@ -7,6 +7,7 @@ minetest.register_node("mcl_fire:basic_flame", {
animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1},
}},
inventory_image = "fire_basic_flame.png",
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14,
groups = {igniter=2,dig_immediate=3,dig_by_water=1,not_in_creative_inventory=1},
drop = '',

View File

@ -85,7 +85,7 @@ minetest.register_node("mcl_furnaces:furnace_active", {
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front_active.png"},
paramtype2 = "facedir",
is_ground_content = false,
light_source = 12,
light_source = 13,
drop = "mcl_furnaces:furnace",
groups = {cracky=2, not_in_creative_inventory=1},
sounds = mcl_core.node_sound_stone_defaults(),

View File

@ -18,6 +18,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
drop = "node mesecons_lightstone:lightstone_off",
is_ground_content = false,
-- Real light level: 15 (Minetest caps at 14)
light_source = 14,
sounds = mcl_core.node_sound_stone_defaults(),
mesecons = {effector = {

View File

@ -79,7 +79,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
is_ground_content = false,
selection_box = torch_selectionbox,
groups = {dig_immediate=3, dig_by_water=1},
light_source = 6,
light_source = 7,
description="Redstone Torch",
mesecons = {receptor = {
state = mesecon.state.on,

View File

@ -18,7 +18,7 @@ minetest.register_node("torches:torch", {
sunlight_propagates = true,
walkable = false,
liquids_pointable = false,
light_source = 13,
light_source = 14,
groups = {choppy=2, dig_immediate=3, attached_node=1, torch=1, dig_by_water=1, deco_block=1},
drop = "torches:torch",
selection_box = {
@ -77,7 +77,7 @@ minetest.register_node("torches:torch_wall", {
paramtype2 = "wallmounted",
sunlight_propagates = true,
walkable = false,
light_source = 13,
light_source = 14,
groups = {choppy=2, dig_immediate=3, not_in_creative_inventory=1, attached_node=1, torch=1, dig_by_water=1},
drop = "torches:torch",
selection_box = {