what are all elements prop num?

  • mikemor
    13th Nov 2011 Member 0 Permalink
    please put a chart of prop element numbers.
  • tommig
    13th Nov 2011 Member 0 Permalink
    Sorry, may I ask why?
  • Jallibad
    13th Nov 2011 Member 0 Permalink
    https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=10780
    sorry, it's missing a few of the newer elements.
  • mikemor
    13th Nov 2011 Member 0 Permalink
    @tomming why im asking is because i need to know how to us PROP tool and if i dont know id of the elements i cant use it.
  • jenn4
    13th Nov 2011 Member 0 Permalink
    Look at git
    https://github.com/FacialTurd/The-Powder-Toy/blob/master/includes/powder.h
    There is a big list of elements that starts with:

    #define PT_NONE 0

    and ends

    #define PT_NUM 159
    Number after element is its number.

    or just: http://pastebin.com/wsmstzBA
  • Atrayin
    13th Nov 2011 Member 0 Permalink
    you can just type in the element....
    like for sponge put spng
    or diamond dmnd
  • cctvdude99
    13th Nov 2011 Member 0 Permalink
    @Atrayin (View Post)
    Derp.
    You try that in the current release. Go on, try it.
  • Videogamer555
    13th Nov 2011 Member 0 Permalink
    Also the new box should remember the last-changed property, so when you have 10 different metal boxes, each of which you wish to change into a different element, you currently have to select both property and value for EACH box like:
    Property: Type
    Value: 1
    Property: Type
    Value: 4
    Property: Type
    Value: 50
    Property: Type
    Value: 100


    It should be like this instead
    Property: Type
    Value: 1
    Value: 4
    Value: 50
    Value: 100
    Property: Life
    Value: 100
    Value: 1000
    Property: Ctype
    Value: 5
    Where it will remember the last used setting for "property" between uses of the property tool.

    Oh, and it should also be willing to accept text instead of numbers for Type and Ctype properties

    So if I want METL, I should be able to type "metl" instead of whatever number corresponds to METL.