forked from mtcontrib/coloredwood
Fixed selection boxes on fences - they should have been only the fencepost,
not the whole node :-)
This commit is contained in:
parent
36d085f444
commit
7c302d0874
24
fence.lua
24
fence.lua
|
@ -118,7 +118,11 @@ for shade = 1, 3 do
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = colored_block_walkable,
|
walkable = colored_block_walkable,
|
||||||
groups = colored_block_groups,
|
groups = colored_block_groups,
|
||||||
sounds = colored_block_sound
|
sounds = colored_block_sound,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(s50colorname, {
|
minetest.register_node(s50colorname, {
|
||||||
|
@ -131,7 +135,11 @@ for shade = 1, 3 do
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = colored_block_walkable,
|
walkable = colored_block_walkable,
|
||||||
groups = colored_block_groups,
|
groups = colored_block_groups,
|
||||||
sounds = colored_block_sound
|
sounds = colored_block_sound,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -228,7 +236,11 @@ for hue = 1, 12 do
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = colored_block_walkable,
|
walkable = colored_block_walkable,
|
||||||
groups = colored_block_groups,
|
groups = colored_block_groups,
|
||||||
sounds = colored_block_sound
|
sounds = colored_block_sound,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -297,7 +309,11 @@ for grey = 1,5 do
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = colored_block_walkable,
|
walkable = colored_block_walkable,
|
||||||
groups = colored_block_groups,
|
groups = colored_block_groups,
|
||||||
sounds = colored_block_sound
|
sounds = colored_block_sound,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user