New attribute bars?

S far I fumbled and managed to get some of the things working by pinching and combining and taking scripts. Now I hit a wall.

I want to add another gauge/meter, like HP, TP... let's call it LovePoints
I figured I can edit GAME BATTLER and add this:

attr_reader :lp # LP


def initialize
@hp = @mp = @tp = @lp = 0
@hidden = false
clear_param_plus
clear_states
clear_buffs
end

#--------------------------------------------------------------------------
# * Change LP
#--------------------------------------------------------------------------
def lp=(lp)
@lp = [[lp, max_lp].min, 0].max
end
#--------------------------------------------------------------------------
# * Get Maximum Value of LP
#--------------------------------------------------------------------------
def max_lp
return 100
end

But how do I go about displaying it? Another bar below TP?
WindowsBase defines Draw_gauage and uses it in draw_actor_X. Can I just edit it and add my own?

Looking at how HP is done, there is actor.hp_rate, but I don't see it defined anywhere.
#--------------------------------------------------------------------------
# * Draw MP
#--------------------------------------------------------------------------
def draw_actor_mp(actor, x, y, width = 124)
draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
change_color(system_color)
draw_text(x, y, 30, line_height, Vocab::mp_a)
draw_current_and_max_values(x, y, width, actor.mp, actor.mmp,
mp_color(actor), normal_color)
end

What is Vocab::mp_a?

I'm basically confused just what script I need to edit.

I've moved this thread to Learning RGSSx. Thank you.

Looking at how HP is done, there is actor.hp_rate, but I don't see it defined anywhere.
CTRL + SHIFT + F
Type "hp_rate"

What is Vocab::mp_a?
It's a term from the term database. It's defined in Vocab module specifically

When in doubt, you can always try to print the value out using Game > Show Console, for example you put this in draw_actor_hp
Code:
puts actor.hp_rate
Using this code will print a number ranging from 0.0 to 1.0
Thank you. Suppose I want to make TP function as stamina (regens every turn, more if guarding/waiting, no gain when getting hit), what do I need to change?

Uncommenting charge_tp_by_damage surely can't be enough?
@ElMagnifico Please make a new thread for a new question. If your original question has been solved, please report this thread to be closed. Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/new-attribute-bars.115651/