Help with pressure containment.

  • jacob1
    13th Jul 2018 Developer 0 Permalink
    If you don't care at all about other people being able to use your save,

    elem.property(tpt.el.ttan.id, "HighTemperature", 10000)

    We were trying to help ensure your save would work for everyone. But if you actually don't care, you can run that command to change the melting point of TTAN until you close the game.
  • Cracker1000
    13th Jul 2018 Member 0 Permalink

    Or make an autorun.lua so that it automatically loads the command when game starts 

  • Dnarbnellih2
    13th Jul 2018 Member 0 Permalink

    Awesome! How do I make an autorun.lua though? Could I make a text file with notepad++, put in the command, and save it with a certain prefix?

     

    Edit: Tried the command in-game, went well. Then a made a text file, put in the exact command you put @jacob1, and saved it as a .lua file and named it autorun. I loaded the game, said it loaded said file, and it worked!

    Edited once by Dnarbnellih2. Last: 13th Jul 2018
  • LBPHacker
    13th Jul 2018 Developer 0 Permalink

     

    Yes, it's literally as simple as that.

    EDIT: Aww you ninja'd me, no fair :P

     

    Edited once by LBPHacker. Last: 13th Jul 2018
  • Dnarbnellih2
    13th Jul 2018 Member 0 Permalink

    What do you mean by ninja'd? Also, someone else should be able to open the save if they run the exact same command right?

    Edited once by Dnarbnellih2. Last: 13th Jul 2018
  • moonheart08
    13th Jul 2018 Member 0 Permalink

    @Dnarbnellih2 (View Post)

     yea if they run the same command.
    Ninjaing, or ninja'd is just a forum thing, for when someone posts the answer/presumed correct response to a question seconds before someone else does.
    Source: Me

  • Dnarbnellih2
    13th Jul 2018 Member 0 Permalink

    Thanks man, also, I presume more then 1 command can be put into autorun.lua right?

  • QuanTech
    14th Jul 2018 Member 0 Permalink

    @Dnarbnellih2 (View Post)

     yes that's right

  • Cracker1000
    14th Jul 2018 Member 0 Permalink

    @Dnarbnellih2 (View Post)

     Yes you can even put whole script in autorun.lua

  • DUC
    25th Jul 2018 Member 0 Permalink

    @Dnarbnellih2 (View Post)

     You can also find mod-approved scripts by different players that you can run to make TPT more interesting. You can find them here:

     

    https://starcatcher.us/scripts