Added Support and correct loading for Repentence descriptions

This commit is contained in:
Wofsauge committed 2021-02-21 16:38:45 +01:00
1 parent 3af4884505
commit ec6c254a30
4 files changed
+166 -1

No files matched your search

+10
View File
@@ -652,6 +652,16 @@ function EID:interpolateColors(kColor1, kColor2, fraction)
return t
end
function EID:updateDescriptionsViaTable(changeTable, tableToUpdate, clearNames)
for k,v in pairs(changeTable) do
if clearNames then
tableToUpdate[k] = {""..k,"",v[3]}
else
tableToUpdate[k] = v
end
end
end
-- Creates a copy of a KColor object. This prevents overwriting existing
function EID:copyKColor(colorObj)
return KColor(colorObj.Red, colorObj.Green, colorObj.Blue, colorObj.Alpha)