tpt.el....name error

  • asdf123
    6th Nov 2012 Member 0 Permalink

    it doesn't work!!!

    always returns "name in use".

    I really want to swear!!!

  • jacob1
    6th Nov 2012 Developer 0 Permalink
    @asdf123 (View Post)
    this will be fixed in the next version (probably), for now it doesn't work.
  • mrsalit0s
    6th Nov 2012 Member 0 Permalink

    @asdf123 (View Post)

    elements.property(elements.DEFAULT_PT_DUST, "Name", "BLAH")

    use this as an alternative.

  • asdf123
    7th Nov 2012 Member 0 Permalink

    how about the other tpt.el... s?

  • mrsalit0s
    8th Nov 2012 Member 0 Permalink

    "Name"
    "Colour"
    "MenuVisible"
    "MenuSection"
    "Advection"
    "AirDrag"
    "AirLoss"
    "Loss"
    "Collision"
    "Gravity"
    "Diffusion"
    "HotAir"
    "Falldown"
    "Flammable"
    "Explosive"
    "Meltable"
    "Hardness"
    "Weight"
    "Temperature"
    "HeatConduct"
    "Description"
    "State"
    "Properties"
    "LowPressure"
    "LowPressureTransition"
    "HighPressure"
    "HighPressureTransition"
    "LowTemperature"
    "LowTemperatureTransition"
    "HighTemperature"
    "HighTemperatureTransition"

     

    example:

    elements.property(elements.DEFAULT_PT_DUST, "Description", "Blah Blah")
    elements.property(elements.DEFAULT_PT_DUST, "Temperature", 1000)
    elements.property(elements.DEFAULT_PT_DUST, "Colour", 0x00FFFFFF)

    and so on.

     

  • boxmein
    8th Nov 2012 Former Staff 0 Permalink
    @asdf123 (View Post)
    The legacy Lua API has been deprecated, you can now use a twice as long element.property function. :)