show in color selector when a dye is on-hand in survival, but unavailable

(right-clicked node can't use it)
This commit is contained in:
Vanessa Dannenberg 2018-09-08 10:24:08 -04:00
parent fb2c14b4a8
commit 95f009a282
2 changed files with 5 additions and 1 deletions

@ -862,7 +862,11 @@ function unifieddyes.make_colored_square(hexcolor, colorname, showall, creative,
local unavail_overlay = ""
if not showall and not unifieddyes.palette_has_color[nodepalette.."_"..colorname] then
if overlay == "" then
unavail_overlay = "^unifieddyes_unavailable_overlay.png"
else
unavail_overlay = "^unifieddyes_onhand_unavailable_overlay.png"
end
end
if dye == painting_with then

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 B