forked from mtcontrib/homedecor_modpack
Made all doors have selection boxes that cover the whole door instead of just
half.
This commit is contained in:
parent
e0c9cb66cd
commit
a54db0a0a3
@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_closet_mahogany_top_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -81,7 +81,7 @@ minetest.register_node("homedecor:door_closet_mahogany_bottom_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -164,7 +164,7 @@ minetest.register_node("homedecor:door_closet_mahogany_top_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -224,7 +224,7 @@ minetest.register_node("homedecor:door_closet_mahogany_bottom_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
|
@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_closet_oak_top_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -81,7 +81,7 @@ minetest.register_node("homedecor:door_closet_oak_bottom_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -164,7 +164,7 @@ minetest.register_node("homedecor:door_closet_oak_top_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -224,7 +224,7 @@ minetest.register_node("homedecor:door_closet_oak_bottom_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
|
@ -25,7 +25,7 @@ minetest.register_node("homedecor:door_exterior_fancy_top_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -72,7 +72,7 @@ minetest.register_node("homedecor:door_exterior_fancy_bottom_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -142,7 +142,7 @@ minetest.register_node("homedecor:door_exterior_fancy_top_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -189,7 +189,7 @@ minetest.register_node("homedecor:door_exterior_fancy_bottom_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
|
@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_glass_top_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -65,7 +65,7 @@ minetest.register_node("homedecor:door_glass_bottom_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -132,7 +132,7 @@ minetest.register_node("homedecor:door_glass_top_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -176,7 +176,7 @@ minetest.register_node("homedecor:door_glass_bottom_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
|
@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_wood_glass_top_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -71,7 +71,7 @@ minetest.register_node("homedecor:door_wood_glass_bottom_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -144,7 +144,7 @@ minetest.register_node("homedecor:door_wood_glass_top_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -194,7 +194,7 @@ minetest.register_node("homedecor:door_wood_glass_bottom_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
|
@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_wood_glass_mahogany_top_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -71,7 +71,7 @@ minetest.register_node("homedecor:door_wood_glass_mahogany_bottom_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -144,7 +144,7 @@ minetest.register_node("homedecor:door_wood_glass_mahogany_top_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -194,7 +194,7 @@ minetest.register_node("homedecor:door_wood_glass_mahogany_bottom_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
|
@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_wood_glass_white_top_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -71,7 +71,7 @@ minetest.register_node("homedecor:door_wood_glass_white_bottom_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -144,7 +144,7 @@ minetest.register_node("homedecor:door_wood_glass_white_top_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -194,7 +194,7 @@ minetest.register_node("homedecor:door_wood_glass_white_bottom_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
|
@ -21,7 +21,7 @@ minetest.register_node("homedecor:door_wood_plain_top_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -63,7 +63,7 @@ minetest.register_node("homedecor:door_wood_plain_bottom_left", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -128,7 +128,7 @@ minetest.register_node("homedecor:door_wood_plain_top_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
@ -170,7 +170,7 @@ minetest.register_node("homedecor:door_wood_plain_bottom_right", {
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
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 = {
|
||||
type = "fixed",
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 199 B |
Loading…
Reference in New Issue
Block a user