Turn TP into a resource like MP?

The game I'm currently working on will use TP as another resource, like MP. I know that you can set the "Preserve TP" flag on characters, but what would it take to set TP to start full, and grow by a formula as a character levels?

I take it that both of these would require a plugin, as it'd be changing something hard-coded into the system?
rpg_objects.js has something around line 3200

Code:
Game_Battler.prototype.initTp = function() {    this.setTp(Math.randomInt(25));};I think if you change it to something like...Game_Battler.prototype.initTp = function() {    this.setTp(100);

then you will start combat with 100 TP
Thanks. I think that works, but only if I don't add a growth formula for leveling. It'd need a new setup to match each level's new max value to calculate 100%.
Ah, above my pay grade, lol

Original thread: https://forums.rpgmakerweb.com/threads/turn-tp-into-a-resource-like-mp.49095/