forked from minetest/minetest_game
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:
parent
c39b9b29de
commit
820e48badc
|
@ -429,6 +429,7 @@ minetest.register_node("doors:trapdoor_open", {
|
||||||
pointable = true,
|
pointable = true,
|
||||||
stack_max = 0,
|
stack_max = 0,
|
||||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
|
||||||
|
climbable = true,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
drop = "doors:trapdoor",
|
drop = "doors:trapdoor",
|
||||||
node_box = {
|
node_box = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user