mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2025-04-01 18:20:45 +02:00
add "split" palette for mods that need facedir + param2 color
This commit is contained in:
parent
00459f8859
commit
1c7f403f29
init.lua
textures
unifieddyes_palette_aquas.pngunifieddyes_palette_blues.pngunifieddyes_palette_cyans.pngunifieddyes_palette_greens.pngunifieddyes_palette_greys.pngunifieddyes_palette_limes.pngunifieddyes_palette_magentas.pngunifieddyes_palette_oranges.pngunifieddyes_palette_reds.pngunifieddyes_palette_redviolets.pngunifieddyes_palette_skyblues.pngunifieddyes_palette_violets.pngunifieddyes_palette_yellows.png
17
init.lua
17
init.lua
@ -39,6 +39,23 @@ else
|
|||||||
S = function(s) return s end
|
S = function(s) return s end
|
||||||
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
|
-- helper functions for other mods that use this one
|
||||||
|
|
||||||
-- code borrowed from homedecor
|
-- code borrowed from homedecor
|
||||||
|
BIN
textures/unifieddyes_palette_aquas.png
Normal file
BIN
textures/unifieddyes_palette_aquas.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 99 B |
BIN
textures/unifieddyes_palette_blues.png
Normal file
BIN
textures/unifieddyes_palette_blues.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 101 B |
BIN
textures/unifieddyes_palette_cyans.png
Normal file
BIN
textures/unifieddyes_palette_cyans.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 101 B |
BIN
textures/unifieddyes_palette_greens.png
Normal file
BIN
textures/unifieddyes_palette_greens.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 101 B |
BIN
textures/unifieddyes_palette_greys.png
Normal file
BIN
textures/unifieddyes_palette_greys.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 98 B |
BIN
textures/unifieddyes_palette_limes.png
Normal file
BIN
textures/unifieddyes_palette_limes.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 99 B |
BIN
textures/unifieddyes_palette_magentas.png
Normal file
BIN
textures/unifieddyes_palette_magentas.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 101 B |
BIN
textures/unifieddyes_palette_oranges.png
Normal file
BIN
textures/unifieddyes_palette_oranges.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 99 B |
BIN
textures/unifieddyes_palette_reds.png
Normal file
BIN
textures/unifieddyes_palette_reds.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 101 B |
BIN
textures/unifieddyes_palette_redviolets.png
Normal file
BIN
textures/unifieddyes_palette_redviolets.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 99 B |
BIN
textures/unifieddyes_palette_skyblues.png
Normal file
BIN
textures/unifieddyes_palette_skyblues.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 99 B |
BIN
textures/unifieddyes_palette_violets.png
Normal file
BIN
textures/unifieddyes_palette_violets.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 99 B |
BIN
textures/unifieddyes_palette_yellows.png
Normal file
BIN
textures/unifieddyes_palette_yellows.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 101 B |
Loading…
x
Reference in New Issue
Block a user