From 1c7f403f2978bd880b094bbe51a76aeb3c76f592 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 25 Jan 2017 17:49:00 -0500 Subject: add "split" palette for mods that need facedir + param2 color --- init.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'init.lua') 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 -- cgit v1.2.3