summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-09-12 22:44:24 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-09-12 22:44:24 -0400
commit27fe09039505d74d0f10fece32ba5adca98308e7 (patch)
treeed10c7e8bd2ab6e6faaf8c1f5df2271e0b570501
parent230ac1342a5615100a486cb47831ed53d028055b (diff)
downloadunifieddyes-27fe09039505d74d0f10fece32ba5adca98308e7.tar
unifieddyes-27fe09039505d74d0f10fece32ba5adca98308e7.tar.gz
unifieddyes-27fe09039505d74d0f10fece32ba5adca98308e7.tar.bz2
unifieddyes-27fe09039505d74d0f10fece32ba5adca98308e7.tar.xz
unifieddyes-27fe09039505d74d0f10fece32ba5adca98308e7.zip
clarify item desc in split palette register nodes helper
-rw-r--r--init.lua4
1 files 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"