set pressure

  • thepowderguy
    11th Jul 2013 Member 0 Permalink

    How do you set the pressure of x/CELL, y/CELL in lua?

    thanks.

  • xetalim
    11th Jul 2013 Member 0 Permalink

    @thepowderguy (View Post)

     Ask @mniip.

    The hero of lua.

    I think it is something with

    simulation.pressure=

  • jacob1
    11th Jul 2013 Developer 0 Permalink
    no, it's tpt.set_pressure(x, y, value) I think. Also x and y should be in that x/CELL,y/CELL format, so if you did tpt.set_pressure(100, 100, 255) then the pressure in the 4x4 square at (400,400) would be 255