summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-12-03 18:44:40 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2015-12-03 18:44:40 +0000
commitc64a7c84ef7f31512fbc3bcea21cb10324a94ed7 (patch)
tree1d3485570c3d93797b70c557c3aa6dc5ac5239ee
parent96e0d33bb4131cc96078a5a78d921adc6d8f4dda (diff)
add unbreakable group to trapdoor
-rw-r--r--doors_chest.lua4
1 files 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"