make trapdoors climbable

master
Martin Doege 2016-06-20 16:06:13 +02:00
parent d6399dc92c
commit ab2412fca1
1 changed files with 2 additions and 0 deletions

View File

@ -442,6 +442,7 @@ function doors.register_trapdoor(name, def)
def.drawtype = "nodebox"
def.paramtype = "light"
def.paramtype2 = "facedir"
def.climbable = true
local def_opened = table.copy(def)
local def_closed = table.copy(def)
@ -512,6 +513,7 @@ function doors.register_trapdoor_top(name, def)
def.drawtype = "nodebox"
def.paramtype = "light"
def.paramtype2 = "facedir"
def.climbable = true
local def_opened = table.copy(def)
local def_closed = table.copy(def)