unlit torches have light level 3 to relight in dark
This commit is contained in:
parent
2879a08bd0
commit
1ff0f15a2d
1
2d.lua
1
2d.lua
@ -13,6 +13,7 @@ minetest.register_node("real_torch:torch", {
|
|||||||
wield_image = "real_torch_on_floor.png",
|
wield_image = "real_torch_on_floor.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
light_source = 3,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
3
3d.lua
3
3d.lua
@ -12,6 +12,7 @@ minetest.register_node("real_torch:torch", {
|
|||||||
}},
|
}},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
light_source = 3,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
liquids_pointable = false,
|
liquids_pointable = false,
|
||||||
@ -65,6 +66,7 @@ minetest.register_node("real_torch:torch_wall", {
|
|||||||
}},
|
}},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
light_source = 3,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1},
|
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1},
|
||||||
@ -91,6 +93,7 @@ minetest.register_node("real_torch:torch_ceiling", {
|
|||||||
}},
|
}},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
light_source = 3,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1},
|
groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user