|
GetAttributeList returns extra attributes? August 21, 2021 04:48PM |
Registered: 7 years ago Posts: 644 |
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 08:03PM |
Registered: 10 years ago Posts: 653 |
|
Re: GetAttributeList returns extra attributes? August 22, 2021 06:50AM |
Registered: 7 years ago Posts: 644 |