diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-01-25 17:49:00 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-01-25 18:21:26 -0500 |
commit | 1c7f403f2978bd880b094bbe51a76aeb3c76f592 (patch) | |
tree | e2b3fc0506ad299bf281e453de89e921ddd55f6d | |
parent | 00459f8859101df50aca96fba7f350416fa11d22 (diff) | |
download | unifieddyes-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
-rw-r--r-- | init.lua | 17 | ||||
-rw-r--r-- | textures/unifieddyes_palette_aquas.png | bin | 0 -> 99 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_blues.png | bin | 0 -> 101 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_cyans.png | bin | 0 -> 101 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_greens.png | bin | 0 -> 101 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_greys.png | bin | 0 -> 98 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_limes.png | bin | 0 -> 99 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_magentas.png | bin | 0 -> 101 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_oranges.png | bin | 0 -> 99 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_reds.png | bin | 0 -> 101 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_redviolets.png | bin | 0 -> 99 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_skyblues.png | bin | 0 -> 99 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_violets.png | bin | 0 -> 99 bytes | |||
-rw-r--r-- | textures/unifieddyes_palette_yellows.png | bin | 0 -> 101 bytes |
14 files changed, 17 insertions, 0 deletions
@@ -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 diff --git a/textures/unifieddyes_palette_aquas.png b/textures/unifieddyes_palette_aquas.png Binary files differnew file mode 100644 index 0000000..85dcab5 --- /dev/null +++ b/textures/unifieddyes_palette_aquas.png diff --git a/textures/unifieddyes_palette_blues.png b/textures/unifieddyes_palette_blues.png Binary files differnew file mode 100644 index 0000000..496dc34 --- /dev/null +++ b/textures/unifieddyes_palette_blues.png diff --git a/textures/unifieddyes_palette_cyans.png b/textures/unifieddyes_palette_cyans.png Binary files differnew file mode 100644 index 0000000..38d8ee3 --- /dev/null +++ b/textures/unifieddyes_palette_cyans.png diff --git a/textures/unifieddyes_palette_greens.png b/textures/unifieddyes_palette_greens.png Binary files differnew file mode 100644 index 0000000..e38a459 --- /dev/null +++ b/textures/unifieddyes_palette_greens.png diff --git a/textures/unifieddyes_palette_greys.png b/textures/unifieddyes_palette_greys.png Binary files differnew file mode 100644 index 0000000..1fa5292 --- /dev/null +++ b/textures/unifieddyes_palette_greys.png diff --git a/textures/unifieddyes_palette_limes.png b/textures/unifieddyes_palette_limes.png Binary files differnew file mode 100644 index 0000000..ebfd703 --- /dev/null +++ b/textures/unifieddyes_palette_limes.png diff --git a/textures/unifieddyes_palette_magentas.png b/textures/unifieddyes_palette_magentas.png Binary files differnew file mode 100644 index 0000000..7c398b7 --- /dev/null +++ b/textures/unifieddyes_palette_magentas.png diff --git a/textures/unifieddyes_palette_oranges.png b/textures/unifieddyes_palette_oranges.png Binary files differnew file mode 100644 index 0000000..0986014 --- /dev/null +++ b/textures/unifieddyes_palette_oranges.png diff --git a/textures/unifieddyes_palette_reds.png b/textures/unifieddyes_palette_reds.png Binary files differnew file mode 100644 index 0000000..85b8e5a --- /dev/null +++ b/textures/unifieddyes_palette_reds.png diff --git a/textures/unifieddyes_palette_redviolets.png b/textures/unifieddyes_palette_redviolets.png Binary files differnew file mode 100644 index 0000000..76e79e4 --- /dev/null +++ b/textures/unifieddyes_palette_redviolets.png diff --git a/textures/unifieddyes_palette_skyblues.png b/textures/unifieddyes_palette_skyblues.png Binary files differnew file mode 100644 index 0000000..638025d --- /dev/null +++ b/textures/unifieddyes_palette_skyblues.png diff --git a/textures/unifieddyes_palette_violets.png b/textures/unifieddyes_palette_violets.png Binary files differnew file mode 100644 index 0000000..f71b90f --- /dev/null +++ b/textures/unifieddyes_palette_violets.png diff --git a/textures/unifieddyes_palette_yellows.png b/textures/unifieddyes_palette_yellows.png Binary files differnew file mode 100644 index 0000000..862ac4f --- /dev/null +++ b/textures/unifieddyes_palette_yellows.png |