Update 'mods/doors/init.lua'
This commit is contained in:
parent
0593d345af
commit
944fae75dd
|
@ -442,6 +442,7 @@ function doors.register(name, def)
|
||||||
def.buildable_to = false
|
def.buildable_to = false
|
||||||
def.selection_box = {type = "fixed", fixed = {-1/2,-1/2,-1/2,1/2,3/2,-6/16}}
|
def.selection_box = {type = "fixed", fixed = {-1/2,-1/2,-1/2,1/2,3/2,-6/16}}
|
||||||
def.collision_box = {type = "fixed", fixed = {-1/2,-1/2,-1/2,1/2,3/2,-6/16}}
|
def.collision_box = {type = "fixed", fixed = {-1/2,-1/2,-1/2,1/2,3/2,-6/16}}
|
||||||
|
def.use_texture_alpha = "clip"
|
||||||
|
|
||||||
def.mesh = "door_a.obj"
|
def.mesh = "door_a.obj"
|
||||||
minetest.register_node(":" .. name .. "_a", def)
|
minetest.register_node(":" .. name .. "_a", def)
|
||||||
|
@ -579,6 +580,7 @@ function doors.register_trapdoor(name, def)
|
||||||
def.paramtype = "light"
|
def.paramtype = "light"
|
||||||
def.paramtype2 = "facedir"
|
def.paramtype2 = "facedir"
|
||||||
def.is_ground_content = false
|
def.is_ground_content = false
|
||||||
|
def.use_texture_alpha = "clip"
|
||||||
|
|
||||||
if def.protected then
|
if def.protected then
|
||||||
def.can_dig = can_dig_door
|
def.can_dig = can_dig_door
|
||||||
|
|
Loading…
Reference in New Issue