8a93393e-a1df-4067-8e35-f3fc09f6ea27 1.0 2015 doubloon jewel ingot artifact idol reroll values = NewDictionary() contents = object.contents foreach(item, contents) { attribute = item + "s" if (HasAttribute(object, attribute)) { value = GetAttribute(object,attribute) if (value > 0) { dictionary add(values, item, value) } } } return(values) 1) { item_s = item_s + "s" } return(item_s) ]]> 0) { if (index = count-1) { s = s + " and " } else { s = s + ", " } } s = s + item_s index = index + 1 } return (s) ]]>