Element Numbers

  • Fusionftw
    19th May 2020 Member 0 Permalink

    How do I find the number of an element (e.g. 182 = POLO)?

     

    Also, who moved this to help? I posted this to creations.

    I also can't see this post in my profile's post list.

    Edited 3 times by Fusionftw. Last: 19th May 2020
  • jacob1
    20th May 2020 Developer 0 Permalink
    There are several options:

    tpt.el.polo.id
    elem.DEFAULT_PT_POLO
    tpt.element('POLO')

    I use one of the first two options in my scripts.


    As for why this thread was weird:
    First it was accidentally caught in an ancient spam filter. I disabled the spam filter now.
    Then I noticed it was in Creations, so I moved it to Help.Creations is meant only for showcasing saves you've created. I also could have moved this to Lua.
    The post history is slow to update for reasons unknown to me. I think it has to be indexed by the search database first.
  • Fusionftw
    20th May 2020 Member 0 Permalink

    Oh, Thanks!