Request: Persistant TP?

Heyo~!
I wanted to request a plugin or script for persistant TP. I'm sure that this could probably be useful to more than just me, too.

So right now, default battles in RMMV start off the actors with a random amount of 1-25 TP, right? I wanted to get rid of that and just have TP start at 0, slowly build up through battles, to be used later.

Would anyone be able to write up something for that, or point me to any plugins that have that built in?

Thanks,
Mu
Select this trait for you actor:

TxiMUnq.png
the perserve TP flag should do the trick. I edited out the TP clearing from the code so I wouldn't have to add it to each character though. I also don't like the random start piece so I edited that out too.
@Kirikaz 

OH I never noticed that. That would do the trick!

@Erikmidnatt

Ah, thats even better! Is that just somewhere in rpg_objects.js? I tried searching "TP" But only came up with a couple of things...
Yeah it's in rpg_objects.

I don't recall exaclty what I did, I'm not on the computer that did it, but I just commented out the reset on battle end and battle start. Look for this

initTp

If I recall correctly, i just commented out 6 lines in total, check below.

Code:
Game_Battler.prototype.onBattleStart = function() {    this.setActionState('undecided');    this.clearMotion();   // if (!this.isPreserveTp()) {       // this.initTp();   // }}; 
Code:
Game_Battler.prototype.onBattleEnd = function() {    this.clearResult();    this.removeBattleStates();    this.removeAllBuffs();    this.clearActions();    //if (!this.isPreserveTp()) {       // this.clearTp();    //}    this.appear();}; 
I see! Awesome. I'll mark this as solved now since it works out well.

Original thread: https://forums.rpgmakerweb.com/threads/request-persistant-tp.49193/