diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-12 22:44:24 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-12 22:44:24 -0400 |
commit | 27fe09039505d74d0f10fece32ba5adca98308e7 (patch) | |
tree | ed10c7e8bd2ab6e6faaf8c1f5df2271e0b570501 | |
parent | 230ac1342a5615100a486cb47831ed53d028055b (diff) | |
download | unifieddyes-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.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |