mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2025-07-06 18:20:41 +02:00
add "split" palette for mods that need facedir + param2 color
This commit is contained in:
17
init.lua
17
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
|
||||
|
Reference in New Issue
Block a user