What this does is go through each of your elements and name it to its ID. It's useful but not that much. for i = 1, 255 -- do it for every one of the 255 possible elements do tpt.el[string.lower(tpt.element(i))].name = "" .. tostring(i) -- modify each element's name to its ID. end