So, as of right now, TPT wouldn't need any changes. However, in the next updates, I think elements should be made in separate .LUA files which are modules. Basically, each category would have its own module. At first it might be hard to code in the system, but after that, coding new elements would be a breeze.
On my computer, all file extensions are CAPITALIZED. The main TPT engine uses C++, but maybe the team could code some final bits and pieces then switch to Lua with modules.
Let me simplify.
I said .LUA because of my computer showing every single file extension as ALL CAPS.
The Powder Toy is coded in C++ (probably the most popular coding language), but you can make mods for it in Lua.
The development team could maybe add some extra Lua functions to the kernal...
..then make the modules.
Understood.