Made all doors have selection boxes that cover the whole door instead of just

half.
This commit is contained in:
Vanessa Ezekowitz 2012-12-03 05:41:31 -05:00
parent e0c9cb66cd
commit a54db0a0a3
9 changed files with 32 additions and 32 deletions

View File

@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_closet_mahogany_top_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -81,7 +81,7 @@ minetest.register_node("homedecor:door_closet_mahogany_bottom_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -164,7 +164,7 @@ minetest.register_node("homedecor:door_closet_mahogany_top_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -224,7 +224,7 @@ minetest.register_node("homedecor:door_closet_mahogany_bottom_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

View File

@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_closet_oak_top_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -81,7 +81,7 @@ minetest.register_node("homedecor:door_closet_oak_bottom_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -164,7 +164,7 @@ minetest.register_node("homedecor:door_closet_oak_top_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -224,7 +224,7 @@ minetest.register_node("homedecor:door_closet_oak_bottom_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

View File

@ -25,7 +25,7 @@ minetest.register_node("homedecor:door_exterior_fancy_top_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -72,7 +72,7 @@ minetest.register_node("homedecor:door_exterior_fancy_bottom_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -142,7 +142,7 @@ minetest.register_node("homedecor:door_exterior_fancy_top_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -189,7 +189,7 @@ minetest.register_node("homedecor:door_exterior_fancy_bottom_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

View File

@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_glass_top_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }, fixed = { -8/16, -1.5, 6/16, 8/16, 8/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -65,7 +65,7 @@ minetest.register_node("homedecor:door_glass_bottom_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }, fixed = { -8/16, -8/16, 6/16, 8/16, 1.5, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -132,7 +132,7 @@ minetest.register_node("homedecor:door_glass_top_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }, fixed = { -8/16, -1.5, 6/16, 8/16, 8/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -176,7 +176,7 @@ minetest.register_node("homedecor:door_glass_bottom_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }, fixed = { -8/16, -8/16, 6/16, 8/16, 1.5, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

View File

@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_wood_glass_top_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -71,7 +71,7 @@ minetest.register_node("homedecor:door_wood_glass_bottom_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -144,7 +144,7 @@ minetest.register_node("homedecor:door_wood_glass_top_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -194,7 +194,7 @@ minetest.register_node("homedecor:door_wood_glass_bottom_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

View File

@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_wood_glass_mahogany_top_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -71,7 +71,7 @@ minetest.register_node("homedecor:door_wood_glass_mahogany_bottom_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -144,7 +144,7 @@ minetest.register_node("homedecor:door_wood_glass_mahogany_top_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -194,7 +194,7 @@ minetest.register_node("homedecor:door_wood_glass_mahogany_bottom_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

View File

@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_wood_glass_white_top_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -71,7 +71,7 @@ minetest.register_node("homedecor:door_wood_glass_white_bottom_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -144,7 +144,7 @@ minetest.register_node("homedecor:door_wood_glass_white_top_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -194,7 +194,7 @@ minetest.register_node("homedecor:door_wood_glass_white_bottom_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16} fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16}
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

View File

@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_wood_plain_top_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16 } fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16 }
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -63,7 +63,7 @@ minetest.register_node("homedecor:door_wood_plain_bottom_left", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16 } fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16 }
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -128,7 +128,7 @@ minetest.register_node("homedecor:door_wood_plain_top_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16 } fixed = { -0.5, -1.5, 6/16, 0.5, 0.5, 8/16 }
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -170,7 +170,7 @@ minetest.register_node("homedecor:door_wood_plain_bottom_right", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, 6/16, 0.5, 0.5, 8/16 } fixed = { -0.5, -0.5, 6/16, 0.5, 1.5, 8/16 }
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B