forked from luanti-org/minetest_game
		
	wool: use global 'dye.dyes' table
This commit is contained in:
		| @@ -1 +1,2 @@ | ||||
| default | ||||
| dye | ||||
|   | ||||
| @@ -1,20 +1,4 @@ | ||||
| local 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"}, | ||||
| } | ||||
| local dyes = dye.dyes | ||||
|  | ||||
| for i = 1, #dyes do | ||||
| 	local name, desc = unpack(dyes[i]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user