Autorun.lua

  • Mushroom
    2nd Jan 2012 Member 0 Permalink
    I have a quick question:
    I would like to translate TPT in German for a friend of mine. I just want to change the names and description of the element through the autorun.lua file. As a test I wrote : tpt.el.dmnd.name="DAMA"
    But when I started TPT, the element was still called DMND.

    Could someone help me apply the changes to the game ? 
  • ForumTroll
    2nd Jan 2012 Banned 1 Permalink
    This post is hidden because the user is banned
  • Mushroom
    2nd Jan 2012 Member 0 Permalink
    @ForumTroll
    Thank you.
    I now know why it didn't worked: it was saved as a *.txt file not a lua file.
  • watereye
    2nd Jan 2012 Member 0 Permalink
    @ForumTroll (View Post)

    Thank you and thank you
    @Mushroom (View Post)
    for posting this!
  • timpfeifer
    30th Nov 2013 Member 0 Permalink

    I try to translate it too .I'm at powered materials.

  • Squirtle
    2nd May 2014 Member 0 Permalink
    @Forumtroll thank you! I didnt know to change the file type there, lol tyvm, now my mods are workin.