Update light levels

This commit is contained in:
Wuzzy 2017-01-04 10:11:35 +01:00
parent 9dfc64b383
commit 526bbba68a
8 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,6 @@
WATER_ALPHA = 160
WATER_VISC = 1
LAVA_VISC = 7
LIGHT_MAX = 20
-- Definitions made by this mod that other mods can use too
default = {}

View File

@ -326,7 +326,7 @@ minetest.register_node("default:sea_lantern", {
description = "Sea Lantern",
paramtype2 = "facedir",
stack_max = 64,
light_source = LIGHT_MAX,
light_source = 14,
drop = {
max_items = 1,
items = {
@ -975,7 +975,7 @@ minetest.register_node("default:lava_flowing", {
},
paramtype = "light",
paramtype2 = "flowingliquid",
light_source = LIGHT_MAX,
light_source = 14,
walkable = false,
pointable = false,
diggable = false,
@ -1009,7 +1009,7 @@ minetest.register_node("default:lava_source", {
}
},
paramtype = "light",
light_source = LIGHT_MAX,
light_source = 14,
walkable = false,
pointable = false,
diggable = false,
@ -1346,7 +1346,7 @@ minetest.register_node("default:furnace_active", {
tiles = {"default_furnace_top.png", "default_furnace_bottom.png", "default_furnace_side.png",
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front_active.png"},
paramtype2 = "facedir",
light_source = 8,
light_source = 12,
drop = "default:furnace",
groups = {cracky=2, not_in_creative_inventory=1},
legacy_facedir_simple = true,

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -9,6 +9,7 @@ minetest.register_node("farming:mushroom_brown", {
walkable = false,
groups = {snappy=3,flammable=2,mushroom=1,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
light_source = 1,
selection_box = {
type = "fixed",
fixed = { -0.15, -0.5, -0.15, 0.15, 0.015, 0.15 },
@ -43,4 +44,4 @@ minetest.register_craft({
type = "shapeless",
output = "farming:mushroom_stew",
recipe = {'default:bowl', 'farming:mushroom_brown', 'farming:mushroom_red'}
})
})

View File

@ -274,7 +274,7 @@ minetest.register_node("farming:pumpkin_face_light", {
description = "Jack o'Lantern",
stack_max = 64,
paramtype2 = "facedir",
light_source = LIGHT_MAX,
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, flammable=2},
})

View File

@ -16,7 +16,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
inventory_image = minetest.inventorycube("jeija_lightstone_gray_off.png"),
groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
drop = "node mesecons_lightstone:lightstone_off",
light_source = LIGHT_MAX,
light_source = 14,
sounds = default.node_sound_stone_defaults(),
mesecons = {effector = {
action_off = function (pos, node)

View File

@ -77,7 +77,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
paramtype2 = "wallmounted",
selection_box = torch_selectionbox,
groups = {dig_immediate=3},
light_source = LIGHT_MAX-10,
light_source = 6,
description="Redstone Torch",
mesecons = {receptor = {
state = mesecon.state.on,