What is lua? I am realativly new to the whole tpt bit, and i would like to learn how to make mods, simple ones at first but getting bigger and better as i progress. Anyone know WHERE to get lua?
@Squirtle(View Post) lua is already inside of TPT. Whenever you go into the console (press '~'), you can type in any lua commands there. An important one is dofile, if you save a lua script to your computer as 'element.txt', you can type "dofile('element.txt')" into the console to run it.
https://powdertoy.co.uk/Wiki/W/Lua.html is a link to some info on lua from the wiki, I also suggest you look around at existing lua elements because there isn't exactly a tutorial or model for how to make an element. Also most lua elements as pretty basic, but some use more advanced methods you might want to make a really big mod.