Skip to content
Permalink
Browse files

wool: use global 'dye.dyes' table

  • Loading branch information...
Zweihorn authored and paramat committed May 26, 2019
1 parent 80c10ce commit 76a08a7058429d51bd12e9bf5b1f90c569aff68f
Showing with 2 additions and 17 deletions.
  1. +1 −0 mods/wool/depends.txt
  2. +1 −17 mods/wool/init.lua
@@ -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])

0 comments on commit 76a08a7

Please sign in to comment.
You can’t perform that action at this time.