mirror of
https://github.com/mt-mods/coloredwood.git
synced 2024-11-13 06:00:22 +01:00
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",
|
||||
walkable = colored_block_walkable,
|
||||
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, {
|
||||
|
@ -131,7 +135,11 @@ for shade = 1, 3 do
|
|||
paramtype = "light",
|
||||
walkable = colored_block_walkable,
|
||||
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({
|
||||
|
@ -228,7 +236,11 @@ for hue = 1, 12 do
|
|||
paramtype = "light",
|
||||
walkable = colored_block_walkable,
|
||||
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({
|
||||
|
@ -297,7 +309,11 @@ for grey = 1,5 do
|
|||
paramtype = "light",
|
||||
walkable = colored_block_walkable,
|
||||
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({
|
||||
|
|
Loading…
Reference in New Issue
Block a user