summaryrefslogtreecommitdiff
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
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
-rw-r--r--init.lua17
-rw-r--r--textures/unifieddyes_palette_aquas.pngbin0 -> 99 bytes
-rw-r--r--textures/unifieddyes_palette_blues.pngbin0 -> 101 bytes
-rw-r--r--textures/unifieddyes_palette_cyans.pngbin0 -> 101 bytes
-rw-r--r--textures/unifieddyes_palette_greens.pngbin0 -> 101 bytes
-rw-r--r--textures/unifieddyes_palette_greys.pngbin0 -> 98 bytes
-rw-r--r--textures/unifieddyes_palette_limes.pngbin0 -> 99 bytes
-rw-r--r--textures/unifieddyes_palette_magentas.pngbin0 -> 101 bytes
-rw-r--r--textures/unifieddyes_palette_oranges.pngbin0 -> 99 bytes
-rw-r--r--textures/unifieddyes_palette_reds.pngbin0 -> 101 bytes
-rw-r--r--textures/unifieddyes_palette_redviolets.pngbin0 -> 99 bytes
-rw-r--r--textures/unifieddyes_palette_skyblues.pngbin0 -> 99 bytes
-rw-r--r--textures/unifieddyes_palette_violets.pngbin0 -> 99 bytes
-rw-r--r--textures/unifieddyes_palette_yellows.pngbin0 -> 101 bytes
14 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
diff --git a/textures/unifieddyes_palette_aquas.png b/textures/unifieddyes_palette_aquas.png
new file mode 100644
index 0000000..85dcab5
--- /dev/null
+++ b/textures/unifieddyes_palette_aquas.png
Binary files differ
diff --git a/textures/unifieddyes_palette_blues.png b/textures/unifieddyes_palette_blues.png
new file mode 100644
index 0000000..496dc34
--- /dev/null
+++ b/textures/unifieddyes_palette_blues.png
Binary files differ
diff --git a/textures/unifieddyes_palette_cyans.png b/textures/unifieddyes_palette_cyans.png
new file mode 100644
index 0000000..38d8ee3
--- /dev/null
+++ b/textures/unifieddyes_palette_cyans.png
Binary files differ
diff --git a/textures/unifieddyes_palette_greens.png b/textures/unifieddyes_palette_greens.png
new file mode 100644
index 0000000..e38a459
--- /dev/null
+++ b/textures/unifieddyes_palette_greens.png
Binary files differ
diff --git a/textures/unifieddyes_palette_greys.png b/textures/unifieddyes_palette_greys.png
new file mode 100644
index 0000000..1fa5292
--- /dev/null
+++ b/textures/unifieddyes_palette_greys.png
Binary files differ
diff --git a/textures/unifieddyes_palette_limes.png b/textures/unifieddyes_palette_limes.png
new file mode 100644
index 0000000..ebfd703
--- /dev/null
+++ b/textures/unifieddyes_palette_limes.png
Binary files differ
diff --git a/textures/unifieddyes_palette_magentas.png b/textures/unifieddyes_palette_magentas.png
new file mode 100644
index 0000000..7c398b7
--- /dev/null
+++ b/textures/unifieddyes_palette_magentas.png
Binary files differ
diff --git a/textures/unifieddyes_palette_oranges.png b/textures/unifieddyes_palette_oranges.png
new file mode 100644
index 0000000..0986014
--- /dev/null
+++ b/textures/unifieddyes_palette_oranges.png
Binary files differ
diff --git a/textures/unifieddyes_palette_reds.png b/textures/unifieddyes_palette_reds.png
new file mode 100644
index 0000000..85b8e5a
--- /dev/null
+++ b/textures/unifieddyes_palette_reds.png
Binary files differ
diff --git a/textures/unifieddyes_palette_redviolets.png b/textures/unifieddyes_palette_redviolets.png
new file mode 100644
index 0000000..76e79e4
--- /dev/null
+++ b/textures/unifieddyes_palette_redviolets.png
Binary files differ
diff --git a/textures/unifieddyes_palette_skyblues.png b/textures/unifieddyes_palette_skyblues.png
new file mode 100644
index 0000000..638025d
--- /dev/null
+++ b/textures/unifieddyes_palette_skyblues.png
Binary files differ
diff --git a/textures/unifieddyes_palette_violets.png b/textures/unifieddyes_palette_violets.png
new file mode 100644
index 0000000..f71b90f
--- /dev/null
+++ b/textures/unifieddyes_palette_violets.png
Binary files differ
diff --git a/textures/unifieddyes_palette_yellows.png b/textures/unifieddyes_palette_yellows.png
new file mode 100644
index 0000000..862ac4f
--- /dev/null
+++ b/textures/unifieddyes_palette_yellows.png
Binary files differ