summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-25 14:07:35 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-25 14:07:35 -0500
commit9f36afaf507d29634cf84134918ce0c0a28cfd86 (patch)
tree5be197c7575720b1c3820760f0a33b49b2614be8 /init.lua
parent3f9e8e45543e3da292c1043de74a4843d8bc2ade (diff)
downloadunifieddyes-9f36afaf507d29634cf84134918ce0c0a28cfd86.tar
unifieddyes-9f36afaf507d29634cf84134918ce0c0a28cfd86.tar.gz
unifieddyes-9f36afaf507d29634cf84134918ce0c0a28cfd86.tar.bz2
unifieddyes-9f36afaf507d29634cf84134918ce0c0a28cfd86.tar.xz
unifieddyes-9f36afaf507d29634cf84134918ce0c0a28cfd86.zip
greys were mapped slightly wrong, fixed
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index 49f5c70..7bd6892 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 ~= 4 and y ~= 7 and Y~= 12 then -- don't register the three greys, they're done separately.
+ if y ~= 5 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
@@ -874,9 +874,9 @@ 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_4", "dye:dark_grey")
-minetest.register_alias("unifieddyes:grey_7", "dye:grey")
-minetest.register_alias("unifieddyes:grey_12", "dye:light_grey")
+minetest.register_alias("unifieddyes:grey_5", "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")
minetest.register_alias("unifieddyes:white_paint", "dye:white")