summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-25 14:53:04 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-25 15:41:14 -0500
commit58cac62bf41436ce157676df09031aa8aa6ed2a0 (patch)
treee3a62346b9224112c2955162e231f3c6016c53ea
parent22243fa684684a8222adb9c177c6445fd3cb32cf (diff)
downloadunifieddyes-58cac62bf41436ce157676df09031aa8aa6ed2a0.tar
unifieddyes-58cac62bf41436ce157676df09031aa8aa6ed2a0.tar.gz
unifieddyes-58cac62bf41436ce157676df09031aa8aa6ed2a0.tar.bz2
unifieddyes-58cac62bf41436ce157676df09031aa8aa6ed2a0.tar.xz
unifieddyes-58cac62bf41436ce157676df09031aa8aa6ed2a0.zip
clean up greyscale portion of extended palette
remap greys slightly, tweak related recipes
-rw-r--r--init.lua12
-rw-r--r--textures/unifieddyes_palette_extended.pngbin299 -> 290 bytes
2 files changed, 6 insertions, 6 deletions
diff --git a/init.lua b/init.lua
index dd86fbd..00c3cf2 100644
--- a/init.lua
+++ b/init.lua
@@ -747,7 +747,7 @@ end
for y = 1, 14 do -- colors 0 and 15 are black and white, default dyes
- if y ~= 5 and y ~= 8 and Y~= 11 then -- don't register the three greys, they're done separately.
+ if y ~= 4 and y ~= 8 and Y~= 11 then -- don't register the three greys, they're done separately.
local rgb = string.format("%02x", y*17)..string.format("%02x", y*17)..string.format("%02x", y*17)
local name = "grey_"..y
@@ -864,9 +864,9 @@ local greymixes = {
{ 1, "dye:black", "dye:black", "dye:black", "dye:dark_grey", 4 },
{ 2, "dye:black", "dye:black", "dye:dark_grey", nil, 3 },
{ 3, "dye:black", "dye:dark_grey", nil, nil, 2 },
- { 4, "dye:dark_grey", "dye:dark_grey", "dye:black", nil, 3 },
- { 5, "dye:white", "dye:black", "dye:black", nil, 3 },
- { 6, "dye:dark_grey", "dye:dark_grey", "dye:grey", nil, 3 },
+ { 4, "dye:white", "dye:black", "dye:black", nil, 3 },
+ { 5, "dye:dark_grey", "dye:dark_grey", "dye:grey", nil, 3 },
+ { 6, "dye:dark_grey", "dye:grey", nil, nil, 2 },
{ 7, "dye:dark_grey", "dye:grey", "dye:grey", nil, 3 },
{ 8, "dye:white", "dye:black", nil, nil, 2 },
{ 9, "dye:grey", "dye:grey", "dye:light_grey", nil, 3 },
@@ -885,7 +885,7 @@ for _, i in ipairs(greymixes) do
local dye4 = i[5]
local yield = i[6]
local color = "grey_"..shade
- if shade == 5 then
+ if shade == 4 then
color = "dark_grey"
elseif shade == 8 then
color = "grey"
@@ -916,7 +916,7 @@ minetest.register_alias("unifieddyes:light_grey", "dye:light_grey")
minetest.register_alias("unifieddyes:white", "dye:white")
minetest.register_alias("unifieddyes:grey_0", "dye:black")
-minetest.register_alias("unifieddyes:grey_5", "dye:dark_grey")
+minetest.register_alias("unifieddyes:grey_4", "dye:dark_grey")
minetest.register_alias("unifieddyes:grey_8", "dye:grey")
minetest.register_alias("unifieddyes:grey_11", "dye:light_grey")
minetest.register_alias("unifieddyes:grey_15", "dye:white")
diff --git a/textures/unifieddyes_palette_extended.png b/textures/unifieddyes_palette_extended.png
index b3a0da0..2ff0323 100644
--- a/textures/unifieddyes_palette_extended.png
+++ b/textures/unifieddyes_palette_extended.png
Binary files differ