From 820e48badc4c5ba8e20d5543988711c7ba43623d Mon Sep 17 00:00:00 2001
From: Zefram <zefram@fysh.org>
Date: Sun, 20 Jul 2014 19:03:16 +0100
Subject: [PATCH] Make open trapdoor climbable

When a trapdoor is mounted upside down, to make its top surface flush
with the floor above when closed, it is necessary to have some way to
climb through the trapdoor node when it's open.  Making it climbable
like a ladder satisfies this need.  It is somewhat realistic, as a real
trapdoor can have a ladder segment mounted on one face.  When the trapdoor
is mounted in its default orientation, making the bottom surface flush
with the ceiling below when closed, the climbability when open is not
strictly necessary, but is still a convenience.
---
 mods/doors/init.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mods/doors/init.lua b/mods/doors/init.lua
index 87b15b61..75c6620c 100644
--- a/mods/doors/init.lua
+++ b/mods/doors/init.lua
@@ -429,6 +429,7 @@ minetest.register_node("doors:trapdoor_open", {
 	pointable = true,
 	stack_max = 0,
 	groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
+	climbable = true,
 	sounds = default.node_sound_wood_defaults(),
 	drop = "doors:trapdoor",
 	node_box = {
-- 
GitLab