summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-25 17:49:00 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-25 18:21:26 -0500
commit1c7f403f2978bd880b094bbe51a76aeb3c76f592 (patch)
treee2b3fc0506ad299bf281e453de89e921ddd55f6d /init.lua
parent00459f8859101df50aca96fba7f350416fa11d22 (diff)
downloadunifieddyes-1c7f403f2978bd880b094bbe51a76aeb3c76f592.tar
unifieddyes-1c7f403f2978bd880b094bbe51a76aeb3c76f592.tar.gz
unifieddyes-1c7f403f2978bd880b094bbe51a76aeb3c76f592.tar.bz2
unifieddyes-1c7f403f2978bd880b094bbe51a76aeb3c76f592.tar.xz
unifieddyes-1c7f403f2978bd880b094bbe51a76aeb3c76f592.zip
add "split" palette for mods that need facedir + param2 color
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 880d2df..7817b3a 100644
--- a/init.lua
+++ b/init.lua
@@ -39,6 +39,23 @@ else
S = function(s) return s end
end
+unifieddyes.hue_to_idx = {
+ red = 2,
+ orange = 3,
+ yellow = 4,
+ lime = 5,
+ green = 6,
+ aqua = 7,
+ cyan = 8,
+ skyblue = 9,
+ blue = 10,
+ violet = 11,
+ magenta = 12,
+ redviolet = 13,
+
+ grey = 1
+}
+
-- helper functions for other mods that use this one
-- code borrowed from homedecor