All the element IDs?

  • Voyager15
    8th Jan 2016 Member 0 Permalink

    I wanted to try to make a TPT version of thePeriodic Table of the Elements.

    I'm thinking of calling it something like the Powder Toy Save of the Particles.

     

    All I know so far is that DUST has an ID of 1. I plan to do every single element there is in the game (Including the ones that are going to be in 91.1!!!) and I wonder if any of you happen to have a list lying around.

    Edited once by Voyager15. Last: 8th Jan 2016
  • Jokersona
    8th Jan 2016 Member 0 Permalink

    Yep. I just generated this. There are a few non-default IDs though.

    http://pastebin.com/raw/mZEe3K2u

     

    Script made to dump the list:

    http://pastebin.com/raw/T6WPQzVh

    Edited 4 times by ChargedCreeper. Last: 8th Jan 2016
  • jacob1
    8th Jan 2016 Developer 1 Permalink
    @ChargedCreeper (View Post)
    D: it isn't even organized

    This list is though! http://pastebin.com/J9drw8P6

    local function moo(id)
    io.write(elem.property(id, "Name"))
    io.write(" = ")
    io.write(id)
    io.write("\n")
    end

    for i=1,255 do
    pcall(moo, i)
    end
  • Jokersona
    8th Jan 2016 Member 0 Permalink

    jacob1:

    @ChargedCreeper (View Post)
    D: it isn't even organized

    This list is though! http://pastebin.com/J9drw8P6

    local function moo(id)
    io.write(elem.property(id, "Name"))
    io.write(" = ")
    io.write(id)
    io.write("\n")
    end

    for i=1,255 do
    pcall(moo, i)
    end

     

    I know. I posted that knowing full well someone else would make a better version of it. Also, why are you using pcall?

  • jacob1
    8th Jan 2016 Developer 0 Permalink
    @ChargedCreeper (View Post)
    There is no element with the ID 146. I knew there was a hole somewhere but it's been so long since it mattered that I forgot. So I just always use a pcall.
  • Voyager15
    8th Jan 2016 Member 0 Permalink

    :O There's only 178 TPT elements? I thought there was more.

     

    Thanks for the list!