how do i can add an element in mod ?

  • INFINITY-BOI
    30th Jul 2020 Banned 0 Permalink
    This post is hidden because the user is banned
  • ReallyJustDont
    4th Aug 2020 Member 0 Permalink

    Are you planning to make a C++ (powder.exe) or Lua (autorun.lua) mod? Because I know quite a bit about lua mods

  • INFINITY-BOI
    5th Aug 2020 Banned 0 Permalink
    This post is hidden because the user is banned
  • No_one
    7th Aug 2020 Member 0 Permalink

    1)Load autorun.lua (find it somewhere on forum)

    2)Open Lua window that will appear near walls section

    3)Go to "online" tab and download any mod that adds an element

    4)Press "local" and then press "Script folder"

    5)Open .lua file and look at code, learn

    But as i know lua scripts in TPT is quite limited, so it will be hard (or just impossible) to do things that can easily be done using C++. If you need any help with lua or C++ TPT modding you can write me in my discord: EvilGenius#9015.

  • INFINITY-BOI
    7th Aug 2020 Banned 0 Permalink
    This post is hidden because the user is banned