How To Get Started

  • Unseeable200
    2nd October Member 0 Permalink

    Im looking to attempt to make a mod to add more elements and am wondering where to get started i know you need lua but where do i edit files and type code into among other things

  • 12034056
    2nd October Member 0 Permalink
    1. Run tpt.installScriptManager() in the console
    2. Go to TPT settings and click "Open data folder"
    3. Go to the "scripts" directory (or create one if it doesn't exist)
    4. Create a new .lua file and write code into it
    5. Enable your new .lua script in the script manager

    See how to create new elements and change their properties here:
    Lua API: Elements
    List of all element properties