GetAttributeList returns extra attributes? August 21, 2021 06:48PM |
Registered: 4 years ago Posts: 488 |
local a = PGC.GetAttributeList() local attr = {} attr['desc'] = {} attr['icon'] = {} for k,v in pairs(a) do attr['desc'][k] = v.attributeName attr['icon'][k] = v.imageSet if (v.imageUnset) then attr['desc'][k+96] = "NOT "..v.attributeName attr['icon'][k+96] = v.imageUnset end end PGC.print(a)However, lots of attributes now seem to return images for when they are unset, and so the output includes them too, even though they are impossible to get (I think). They include:
Re: GetAttributeList returns extra attributes? August 21, 2021 10:03PM |
Registered: 6 years ago Posts: 639 |
Re: GetAttributeList returns extra attributes? August 22, 2021 08:50AM |
Registered: 4 years ago Posts: 488 |