How to set type in lua

  • Teking
    6th Jun 2011 Member 0 Permalink
    How to "set type dust ice" in lua. I dont understand the wiki
  • Neospector
    6th Jun 2011 Member 0 Permalink
    @Teking (View Post)
    tpt.set_type("dust","ice")
    I believe.
  • edza101
    6th Jun 2011 Member 0 Permalink
    why is everyone talking about lua
  • Neospector
    6th Jun 2011 Member 0 Permalink
    @edza101 (View Post)
    Because the console went from Simple>Python>Lua
  • Teking
    6th Jun 2011 Member 0 Permalink
    i like the python one back!
  • Neospector
    6th Jun 2011 Member 0 Permalink
    @Teking (View Post)
    You mean you want the simple one back.

    Cracker is adding a disable button for the Lua console. Enjoy.
  • The-Con
    6th Jun 2011 Member 0 Permalink
    There is a wiki about the lua console
  • Teking
    6th Jun 2011 Member 0 Permalink
    How i make it back!?
  • Pilihp64
    6th Jun 2011 Developer 0 Permalink
    There is no difference In difficulty between the python and lua versions. The functions calls are almost identical

    Once the next version of beta is out to use old commands, you add a ! infront.
    So '!set type dust ice'
    Would be the same as 'tpt.set_property("type","dust","ice")'
  • Teking
    6th Jun 2011 Member 0 Permalink
    Ok thx cracker64, so i only have to add a ! to make it like before? Great!
    [edit] Don't works!