forked from MineClone5/MineClone5
More Minecraft-like light levels
This commit is contained in:
parent
bf3af4b0e2
commit
b6c603dc23
|
@ -100,7 +100,7 @@ minetest.register_node("mcl_core:stone_with_redstone_lit", {
|
||||||
description = "Lit Redstone Ore",
|
description = "Lit Redstone Ore",
|
||||||
tiles = {"default_stone.png^default_mineral_redstone.png"},
|
tiles = {"default_stone.png^default_mineral_redstone.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 8,
|
light_source = 9,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = {cracky=2, not_in_creative_inventory=1},
|
groups = {cracky=2, not_in_creative_inventory=1},
|
||||||
|
@ -451,6 +451,7 @@ minetest.register_node("mcl_core:sea_lantern", {
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
|
-- Real light level: 15 (but Minetest caps at 14)
|
||||||
light_source = 14,
|
light_source = 14,
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
|
@ -1235,6 +1236,7 @@ minetest.register_node("mcl_core:lava_flowing", {
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "flowingliquid",
|
paramtype2 = "flowingliquid",
|
||||||
|
-- Real light level: 15 (but Minetest caps at 14)
|
||||||
light_source = 14,
|
light_source = 14,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
|
@ -1272,6 +1274,7 @@ minetest.register_node("mcl_core:lava_source", {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
-- Real light level: 15 (but Minetest caps at 14)
|
||||||
light_source = 14,
|
light_source = 14,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
|
@ -1446,7 +1449,8 @@ minetest.register_node("mcl_core:glowstone", {
|
||||||
{items = {'mcl_core:glowdust 2'}},
|
{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(),
|
sounds = mcl_core.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -270,6 +270,7 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
|
||||||
description = "Jack o'Lantern",
|
description = "Jack o'Lantern",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
-- Real light level: 15 (Minetest caps at 14)
|
||||||
light_source = 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"},
|
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},
|
groups = {choppy=2, oddly_breakable_by_hand=2, building_block=1},
|
||||||
|
|
|
@ -7,6 +7,7 @@ minetest.register_node("mcl_fire:basic_flame", {
|
||||||
animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1},
|
animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1},
|
||||||
}},
|
}},
|
||||||
inventory_image = "fire_basic_flame.png",
|
inventory_image = "fire_basic_flame.png",
|
||||||
|
-- Real light level: 15 (but Minetest caps at 14)
|
||||||
light_source = 14,
|
light_source = 14,
|
||||||
groups = {igniter=2,dig_immediate=3,dig_by_water=1,not_in_creative_inventory=1},
|
groups = {igniter=2,dig_immediate=3,dig_by_water=1,not_in_creative_inventory=1},
|
||||||
drop = '',
|
drop = '',
|
||||||
|
|
|
@ -85,7 +85,7 @@ minetest.register_node("mcl_furnaces:furnace_active", {
|
||||||
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front_active.png"},
|
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front_active.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
light_source = 12,
|
light_source = 13,
|
||||||
drop = "mcl_furnaces:furnace",
|
drop = "mcl_furnaces:furnace",
|
||||||
groups = {cracky=2, not_in_creative_inventory=1},
|
groups = {cracky=2, not_in_creative_inventory=1},
|
||||||
sounds = mcl_core.node_sound_stone_defaults(),
|
sounds = mcl_core.node_sound_stone_defaults(),
|
||||||
|
|
|
@ -18,6 +18,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
|
||||||
groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
|
groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
|
||||||
drop = "node mesecons_lightstone:lightstone_off",
|
drop = "node mesecons_lightstone:lightstone_off",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
-- Real light level: 15 (Minetest caps at 14)
|
||||||
light_source = 14,
|
light_source = 14,
|
||||||
sounds = mcl_core.node_sound_stone_defaults(),
|
sounds = mcl_core.node_sound_stone_defaults(),
|
||||||
mesecons = {effector = {
|
mesecons = {effector = {
|
||||||
|
|
|
@ -79,7 +79,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
selection_box = torch_selectionbox,
|
selection_box = torch_selectionbox,
|
||||||
groups = {dig_immediate=3, dig_by_water=1},
|
groups = {dig_immediate=3, dig_by_water=1},
|
||||||
light_source = 6,
|
light_source = 7,
|
||||||
description="Redstone Torch",
|
description="Redstone Torch",
|
||||||
mesecons = {receptor = {
|
mesecons = {receptor = {
|
||||||
state = mesecon.state.on,
|
state = mesecon.state.on,
|
||||||
|
|
|
@ -18,7 +18,7 @@ minetest.register_node("torches:torch", {
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
liquids_pointable = 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},
|
groups = {choppy=2, dig_immediate=3, attached_node=1, torch=1, dig_by_water=1, deco_block=1},
|
||||||
drop = "torches:torch",
|
drop = "torches:torch",
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
@ -77,7 +77,7 @@ minetest.register_node("torches:torch_wall", {
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
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},
|
groups = {choppy=2, dig_immediate=3, not_in_creative_inventory=1, attached_node=1, torch=1, dig_by_water=1},
|
||||||
drop = "torches:torch",
|
drop = "torches:torch",
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
|
Loading…
Reference in New Issue