From a121c8f085d310b42255f2a85209429fd8151d72 Mon Sep 17 00:00:00 2001 From: tchncs Date: Tue, 29 Mar 2016 11:15:16 +0200 Subject: [PATCH] torches making damage --- mt_style.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mt_style.lua b/mt_style.lua index 7c8d565..59bd062 100644 --- a/mt_style.lua +++ b/mt_style.lua @@ -45,7 +45,8 @@ minetest.register_node("torches:floor", { paramtype2 = "wallmounted", sunlight_propagates = true, walkable = false, - light_source = 13, + damage_per_second = 1, + light_source = 13, groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1, torch=1}, drop = "default:torch", selection_box = { @@ -71,7 +72,8 @@ minetest.register_node("torches:wall", { paramtype2 = "wallmounted", sunlight_propagates = true, walkable = false, - light_source = 13, + damage_per_second = 1, + light_source = 13, groups = {choppy=2, dig_immediate=3, flammable=1, not_in_creative_inventory=1, attached_node=1, torch=1}, drop = "default:torch", selection_box = {