From: Zefram Date: Sun, 20 Jul 2014 18:03:16 +0000 (+0100) Subject: Make open trapdoor climbable X-Git-Tag: 0.4.11~64 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=820e48badc4c5ba8e20d5543988711c7ba43623d;p=oweals%2Fminetest_game.git 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. --- 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 = {