2016-03-17 15:53:51 -07:00
|
|
|
local paintables = {
|
2016-03-20 17:36:39 -07:00
|
|
|
"myfences:picket", "myfences:picket_corner", "myfences:picketb", "myfences:picketb_corner",
|
|
|
|
"myfences:garden", "myfences:garden_corner", "myfences:privacy", "myfences:privacy_corner",
|
|
|
|
"myfences:corner_post"
|
2016-03-17 15:53:51 -07:00
|
|
|
}
|
|
|
|
|
2016-03-20 17:36:39 -07:00
|
|
|
local colors = {}
|
2016-03-17 15:53:51 -07:00
|
|
|
for _, entry in ipairs(myfences.colors) do
|
2016-03-20 17:36:39 -07:00
|
|
|
table.insert(colors, entry[1])
|
2016-03-16 11:13:00 -07:00
|
|
|
end
|
|
|
|
|
2016-03-20 17:36:39 -07:00
|
|
|
mypaint.register(paintables, colors)
|
2016-03-16 11:13:00 -07:00
|
|
|
|