Stuff i want on lua

  • asdf123
    15th Oct 2012 Member 0 Permalink

    tpt.create_line: creates a line of partilces

    pressure: returns pressure of location

    tpt.mouse_pos: returns mouse xy

  • mniip
    15th Oct 2012 Developer 0 Permalink
    @asdf123 (View Post)
    1) borrow it from cracker's script
    2) it will be, in Lua API
    3) there is, tpt.mousex and tpt.mousey
  • asdf123
    17th Oct 2012 Member 0 Permalink

    1) where?

    2) what's Lua API?

    3) thanks!

  • boxmein
    17th Oct 2012 Former Staff 0 Permalink
    @asdf123 (View Post)
    An API is an "Application Programming Interface" which has a list of specially made commands to allow other people to interact with the application with their own code. The Powder Toy has an API for Lua, which is all that you do with "tpt." up front.