Can't find src/simulation/elements

  • the_new_powder99999
    12th Jan 2014 Member 0 Permalink

    I want to create a new element, so I went to the wiki and it started by saying to create an element file in, src/simulation/elements but I can't find the folder. could someone please tell me how to get there?

  • xetalim
    12th Jan 2014 Member 0 Permalink

    Do you have the source?

    It'd be nice to have that, as src/simulation/elements is in the source.

  • boxmein
    12th Jan 2014 Former Staff 0 Permalink
    Basically, if you download TPT, it doesn't actually come with its source code - which you'll need if you want to start making C++ mods. You can acquire it on GitHub with the "Download ZIP" button near the bottom right corner of your screen.

    When you download it and extract the ZIP file somewhere, you'll find in it a ton of files - the files related to elements are inside the subfolders src/simulation/elements.
  • Nobody905
    14th Jan 2014 Member 0 Permalink

    If you want to create an element, use Lua. Search the wiki for "lua".