wool: use global 'dye.dyes' table
This commit is contained in:
parent
80c10cee15
commit
76a08a7058
|
@ -1 +1,2 @@
|
||||||
default
|
default
|
||||||
|
dye
|
||||||
|
|
|
@ -1,20 +1,4 @@
|
||||||
local dyes = {
|
local dyes = dye.dyes
|
||||||
{"white", "White"},
|
|
||||||
{"grey", "Grey"},
|
|
||||||
{"black", "Black"},
|
|
||||||
{"red", "Red"},
|
|
||||||
{"yellow", "Yellow"},
|
|
||||||
{"green", "Green"},
|
|
||||||
{"cyan", "Cyan"},
|
|
||||||
{"blue", "Blue"},
|
|
||||||
{"magenta", "Magenta"},
|
|
||||||
{"orange", "Orange"},
|
|
||||||
{"violet", "Violet"},
|
|
||||||
{"brown", "Brown"},
|
|
||||||
{"pink", "Pink"},
|
|
||||||
{"dark_grey", "Dark Grey"},
|
|
||||||
{"dark_green", "Dark Green"},
|
|
||||||
}
|
|
||||||
|
|
||||||
for i = 1, #dyes do
|
for i = 1, #dyes do
|
||||||
local name, desc = unpack(dyes[i])
|
local name, desc = unpack(dyes[i])
|
||||||
|
|
Loading…
Reference in New Issue