wood: Added registration of node segments for planks and timber
This commit is contained in:
@@ -116,6 +116,7 @@ local function registerWood(name, x, def)
|
|||||||
},
|
},
|
||||||
paramtype2 = 'facedir',
|
paramtype2 = 'facedir',
|
||||||
_rarity = def.rarity,
|
_rarity = def.rarity,
|
||||||
|
groups = {segments = 1}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -219,6 +220,7 @@ local function registerWood(name, x, def)
|
|||||||
name = name..'_planks',
|
name = name..'_planks',
|
||||||
tiles = { woodTileSheet:t(x, 6) },
|
tiles = { woodTileSheet:t(x, 6) },
|
||||||
_rarity = def.rarity,
|
_rarity = def.rarity,
|
||||||
|
groups = {segments = 3},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user