- inventory_image = "redstone_torch.png",
- wield_image = "redstone_torch.png",
- wield_scale = {x = 1, y = 1, z = 1 + 1/16},
- drawtype = "mesh",
- mesh = "torch_wall.obj",
- tiles = {"redstone_torch.png"},
- paramtype = "light",
- paramtype2 = "wallmounted",
- sunlight_propagates = true,
- walkable = false,
- light_source = 13,
- power = 8,
- groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1, torch=1,redstone=1,redstone_torch=1,connect_to_raillike=1},
- drop = "redstone:torch",
- selection_box = {
- type = "wallmounted",
- wall_top = {-0.1, -0.1, -0.1, 0.1, 0.5, 0.1},
- wall_bottom = {-0.1, -0.5, -0.1, 0.1, 0.1, 0.1},
- wall_side = {-0.5, -0.3, -0.1, -0.2, 0.3, 0.1},
- },
- on_construct = function(pos)
- create_ps(pos)
- redstone.update(pos)
- end,
- after_destruct = function(pos, oldnode)
- redstone.update(pos,oldnode)
- end,
- on_destruct = function(pos)
- delete_ps(pos)
- end,
- sounds = main.woodSound(),
+ inventory_image = "redstone_torch.png",
+ wield_image = "redstone_torch.png",
+ wield_scale = {x = 1, y = 1, z = 1 + 1/16},
+ drawtype = "mesh",
+ mesh = "torch_wall.obj",
+ tiles = {"redstone_torch.png"},
+ paramtype = "light",
+ paramtype2 = "wallmounted",
+ sunlight_propagates = true,
+ walkable = false,
+ light_source = 13,
+ power = 9,
+ groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1, torch=1,redstone=1,redstone_torch=1,redstone_power=9},
+ drop = "redstone:torch",
+ selection_box = {
+ type = "wallmounted",
+ wall_top = {-0.1, -0.1, -0.1, 0.1, 0.5, 0.1},
+ wall_bottom = {-0.1, -0.5, -0.1, 0.1, 0.1, 0.1},
+ wall_side = {-0.5, -0.3, -0.1, -0.2, 0.3, 0.1},
+ },
+ on_construct = function(pos)
+ redstone.collect_info(pos)
+ end,
+ after_destruct = function(pos, oldnode)
+ redstone.collect_info(pos)
+ end,
+ sounds = main.woodSound(),