Console features

  • Klus
    16th Nov 2014 Member 0 Permalink

    I have been recently playing around with the console for a while and discovered some things like: 

    e.g, (!set temp(or property for something else) all 9000) will instantly melt every thing (or vapourize in case of liquids)

    !set type all fire will turn everything into fire

    and that's basicly it :P

     

    I somehow got myself intrested in things like that and I mainly made this thread so I can learn more about TPT and how to use it.

     

    So what I am asking for here is the most detail and features in the console and anything else relevant.

     

    I will be 4evr greatful :)

  • bowserinator
    16th Nov 2014 Member 1 Permalink

    !set <property> <element> <value> is your basic command

    !quit quits

    !bubble x y (Not sure) makes a soap bubble

    tpt.setfpscap(fps) sets your max frame rate to whatever

    tpt.reset_spark()  resets all spark

    tpt.el.<element name>.<property>=<value> Changes whatever, like tpt.el.plex.description="CRAP" changes the description of C-4 to crap

  • QuentinADay
    16th Nov 2014 Member 1 Permalink

    Look at this for all the console commands(or most of them):  https://powdertoy.co.uk/Wiki/W/Lua.html

    Edited 5 times by QuentinADay. Last: 16th Nov 2014
  • Klus
    16th Nov 2014 Member 0 Permalink

    @bowserinator (View Post)

     I tried the last one and now goo has no description. (derp)

  • CeeJayBee
    16th Nov 2014 Member 0 Permalink
    @Lagnadium41 (View Post)
    Restarting the game resets command-line stuff like that. Also yeah, tpt.el.*.*=* is basically tapping into Lua (you can get most of the parts to replace "description" from @bowserinator 's example in lua scripts lua script, ie WTF)
    Edited once by CeeJayBee. Last: 16th Nov 2014
  • jward212
    16th Nov 2014 Member 0 Permalink

    it can work out 4*3/2+(7*90)-30*9*9+77

  • FeynmanLogomaker
    16th Nov 2014 Member 0 Permalink
    Even better, it can run full Lua scripts - "dofile('lua.lua')"

    It also supports LuaSockets, so you can do stuff like "http.request('fbi.gov/hack.php')" to access the Intranet.
  • jward212
    17th Nov 2014 Member 0 Permalink

    does http.request work on other oss, I use os.execute(start...) and I don't think it would work on other oss?

  • Klus
    17th Nov 2014 Member 0 Permalink

    Just because we're on the topic, is it possible to alternate the pressure and velocity?

    I tried and both said there is an invalid property