Duplication

  • ZER02541714
    1st Jan 2012 Member 0 Permalink
    How do you duplicate an element in lua. I want to make two neutron elements and then I was going to go from their. But I don't know how to do this.
  • ArtMaster
    1st Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • ZER02541714
    1st Jan 2012 Member 0 Permalink
    But That isn't what I wanted to do I still can't make two neutrons.
  • Mushroom
    1st Jan 2012 Member 0 Permalink
    @ArtMaster 
    Is it possible to make the new name remaining when you restart TPT with the console only ? If yes, how do you do it ?
    Is it also possible to rewrite the description of the element with the console only ? If yes, how do you do it ?
  • ForumTroll
    1st Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • Mushroom
    1st Jan 2012 Member 0 Permalink
    @ForumTroll
    When I write for example : tpt.el.dmnd.name="DIAM"; it changes the name; but if I close TPT then open it again, the change is not saved.

    My other question was : can you change the description of an element (for example DMND: Indestructible but conducts heat) using the console ?
  • ForumTroll
    2nd Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • ZER02541714
    2nd Jan 2012 Member 0 Permalink
    Wait let me explain I want to completely duplicate the element. I want to duplicate an element. This would mean duplication of It's properties color and everything else. 
  • Mushroom
    2nd Jan 2012 Member 0 Permalink
    @ForumTroll
    Thank you very much.

    EDIT: In which format shall save it ?
  • ForumTroll
    2nd Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned