I am working on making my own elements in Lua, and am using the Ctype and Tmp properties. Unfortunately save stamps don't copy the Ctype or Tmp variables of every element, ONLY those which use them in the "official" version. So my Lua edited elements that DO USE THEM don't get copy/pasted correctly, don't get stamp saved correctly, and don't get saved correctly in the a CPS complete save file.
Please fix this, and make every element have saveable/copyable Tmp and Ctype variables.
@Videogamer555(View Post) not sure about coding, but clearly @vanquish349 has more expertiese than me, so he's proberbly right. I'd certainly like to do that though.
You could use tmp and life, those are saved for every element. If tmp wasn't saving for you, then it must just be a problem in your code, because it should automatically save for everything. You could also copy the life value into the ctype if you want it to display in the HUD.
that would require a lot of reworking of how saves work, if i am not misstaken only like 10 elements save ctype(i may be wrong).
Well then a fix to the save code needs to be made. It should have been that way since the beginning of TPT. Yes the save files will be bigger, but it doesn't matter because it's BZIPed so it's gonna be pretty small anyway.