From 27fe09039505d74d0f10fece32ba5adca98308e7 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 12 Sep 2018 22:44:24 -0400 Subject: clarify item desc in split palette register nodes helper --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index a3f9e22..36007dd 100644 --- a/init.lua +++ b/init.lua @@ -200,9 +200,9 @@ function unifieddyes.generate_split_palette_nodes(name, def, drop) local def2 = table.copy(def) local desc_color = string.gsub(string.upper(string.sub(color, 1, 1))..string.sub(color, 2), "_", " ") if string.sub(def2.description, -1) == ")" then - def2.description = string.sub(def2.description, 1, -2)..", "..desc_color..")" + def2.description = string.sub(def2.description, 1, -2)..", "..desc_color.." shades)" else - def2.description = def2.description.."("..desc_color..")" + def2.description = def2.description.."("..desc_color.." shades)" end def2.palette = "unifieddyes_palette_"..color.."s.png" def2.paramtype2 = "colorfacedir" -- cgit v1.2.3