1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-10 12:10:20 +01:00

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.
This commit is contained in:
Zefram 2014-07-20 19:03:16 +01:00 committed by sfan5
parent c39b9b29de
commit 820e48badc

View File

@ -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 = {