From c64a7c84ef7f31512fbc3bcea21cb10324a94ed7 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 3 Dec 2015 18:44:40 +0000 Subject: add unbreakable group to trapdoor --- doors_chest.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doors_chest.lua b/doors_chest.lua index 772d48a..6e1ead9 100644 --- a/doors_chest.lua +++ b/doors_chest.lua @@ -3,7 +3,7 @@ local function on_rightclick(pos, dir, check_name, replace, replace_dir, params) - pos.y = pos.y+dir + pos.y = pos.y + dir if not minetest.get_node(pos).name == check_name then return @@ -428,7 +428,7 @@ register_trapdoor("protector:trapdoor", { wield_image = "doors_trapdoor.png^protector_logo.png", tile_front = "doors_trapdoor.png^protector_logo.png", tile_side = "doors_trapdoor_side.png", - groups = {snappy=1, choppy=2, oddly_breakable_by_hand=2, flammable=2, door=1}, + groups = {snappy=1, choppy=2, oddly_breakable_by_hand=2, door=1, unbreakable=1}, sounds = default.node_sound_wood_defaults(), sound_open = "doors_door_open", sound_close = "doors_door_close" -- cgit v1.2.3