It seems to be very usefull and more readable than Tonton Pixel's code. But you are not solving messed up Char/StringIDs E.g. grain instead green "color": { "stringID": "color", "charID": "Clr ", "id": 1131180576, "key": 3, "type": "DescValueType.OBJECTTYPE", "value": { "count": 3, "typename": "ActionDescriptor" }, "object": { "red": { "stringID": "red", "charID": "Rd ", "id": 1382293536, "key": 0, "type": "DescValueType.DOUBLETYPE", "value": 255 }, "grain": { "stringID": "grain", "charID": "Grn ", "id": 1198681632, "key": 1, "type": "DescValueType.DOUBLETYPE", "value": 255 }, "blue": { "stringID": "blue", "charID": "Bl ", "id": 1114382368, "key": 2, "type": "DescValueType.DOUBLETYPE", "value": 255 } } }, I did some measurements because only with only selected two groups the script was runing 10+ seconds. Which is too long. Every lines in code has under 20ms except this: case 'DescValueType.REFERENCETYPE': listArray.push( executeActionGet( listItemValue ) ); Time spend here was 10.3 seconds and this line was performed six times. I suggest comment this line because it doesn't seems to have valuable info now and it will be lightning fast. The only difference is, that I don't see "count" Before/After
... View more