Update light levels
This commit is contained in:
parent
9dfc64b383
commit
526bbba68a
|
@ -5,7 +5,6 @@
|
||||||
WATER_ALPHA = 160
|
WATER_ALPHA = 160
|
||||||
WATER_VISC = 1
|
WATER_VISC = 1
|
||||||
LAVA_VISC = 7
|
LAVA_VISC = 7
|
||||||
LIGHT_MAX = 20
|
|
||||||
|
|
||||||
-- Definitions made by this mod that other mods can use too
|
-- Definitions made by this mod that other mods can use too
|
||||||
default = {}
|
default = {}
|
||||||
|
|
|
@ -326,7 +326,7 @@ minetest.register_node("default:sea_lantern", {
|
||||||
description = "Sea Lantern",
|
description = "Sea Lantern",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
light_source = LIGHT_MAX,
|
light_source = 14,
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
|
@ -975,7 +975,7 @@ minetest.register_node("default:lava_flowing", {
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "flowingliquid",
|
paramtype2 = "flowingliquid",
|
||||||
light_source = LIGHT_MAX,
|
light_source = 14,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
diggable = false,
|
diggable = false,
|
||||||
|
@ -1009,7 +1009,7 @@ minetest.register_node("default:lava_source", {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = LIGHT_MAX,
|
light_source = 14,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
diggable = 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",
|
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"},
|
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front_active.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
light_source = 8,
|
light_source = 12,
|
||||||
drop = "default:furnace",
|
drop = "default:furnace",
|
||||||
groups = {cracky=2, not_in_creative_inventory=1},
|
groups = {cracky=2, not_in_creative_inventory=1},
|
||||||
legacy_facedir_simple = true,
|
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 |
|
@ -9,6 +9,7 @@ minetest.register_node("farming:mushroom_brown", {
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {snappy=3,flammable=2,mushroom=1,attached_node=1},
|
groups = {snappy=3,flammable=2,mushroom=1,attached_node=1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
light_source = 1,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.015, 0.15 },
|
fixed = { -0.15, -0.5, -0.15, 0.15, 0.015, 0.15 },
|
||||||
|
@ -43,4 +44,4 @@ minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "farming:mushroom_stew",
|
output = "farming:mushroom_stew",
|
||||||
recipe = {'default:bowl', 'farming:mushroom_brown', 'farming:mushroom_red'}
|
recipe = {'default:bowl', 'farming:mushroom_brown', 'farming:mushroom_red'}
|
||||||
})
|
})
|
||||||
|
|
|
@ -274,7 +274,7 @@ minetest.register_node("farming:pumpkin_face_light", {
|
||||||
description = "Jack o'Lantern",
|
description = "Jack o'Lantern",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
paramtype2 = "facedir",
|
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"},
|
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},
|
groups = {choppy=2, oddly_breakable_by_hand=2, flammable=2},
|
||||||
})
|
})
|
||||||
|
|
|
@ -16,7 +16,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
|
||||||
inventory_image = minetest.inventorycube("jeija_lightstone_gray_off.png"),
|
inventory_image = minetest.inventorycube("jeija_lightstone_gray_off.png"),
|
||||||
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",
|
||||||
light_source = LIGHT_MAX,
|
light_source = 14,
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
mesecons = {effector = {
|
mesecons = {effector = {
|
||||||
action_off = function (pos, node)
|
action_off = function (pos, node)
|
||||||
|
|
|
@ -77,7 +77,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
selection_box = torch_selectionbox,
|
selection_box = torch_selectionbox,
|
||||||
groups = {dig_immediate=3},
|
groups = {dig_immediate=3},
|
||||||
light_source = LIGHT_MAX-10,
|
light_source = 6,
|
||||||
description="Redstone Torch",
|
description="Redstone Torch",
|
||||||
mesecons = {receptor = {
|
mesecons = {receptor = {
|
||||||
state = mesecon.state.on,
|
state = mesecon.state.on,
|
||||||
|
|
Loading…
Reference in New Issue