Adding digits to gold hud

Hii, does anyone know how to a plugin to add more digits to a gold hud?
Im currently using Moghunter's gold hud :'))

(wanted result in first pic, default in second)
everything is possible, if you want it on your map al the time, I might have
something you could do (fully evented), which also ticks down or raise nicely.
Javascript doesn't display leading zeroes in an integer.
You might have to declare a new variable = ("00000" + num).slice(-5)

And have the hud try to display the new variable
Thanks youu, unfortunately I have so little knowledge on code if it isn't plug and play I have no idea what I'm doing. Maybe i can get used to the default ;;
Javascript doesn't display leading zeroes in an integer.
You might have to declare a new variable = ("00000" + num).slice(-5)

And have the hud try to display the new variable
I would want it to fade when text appears like how Mog's does. I dont know if i have the coding skill to make it work :''') Thank you so much though!😍
everything is possible, if you want it on your map al the time, I might have
something you could do (fully evented), which also ticks down or raise nicely.
I dont know how mogs works or the one you refer too, but this little
script is parallel common event, so you can basicly copy and past and it works.

however, you need to assign the right variable only for it to work ^^

fading in and out require more modification.
and what text do you exactly mean? because I need to dig and try to modify it
that way, else AquaEcho has the solution, but I need to see where the gold num
function is to convert it into a plugin for you (plug and play) or AquaEcho.

as it is the easiest way (without ticking down/up though) as that require more
coding.
Just use the padZero function.
@Trihan wouldn't that add a 0.0000 by than? instead of 00000 when gold is 0?
@Trihan wouldn't that add a 0.0000 by than? instead of 00000 when gold is 0?
No.
1682165351438.png
I didn't know that, but good to know, as I thought mostly, padZero can add
2 digits AFTER the puntation like 0000.00. but nice thing to know for that.
I got it working. Go to MOG_GoldHud.js and make the changes below:
Comment out line 265
Then on the next line put
numbers = Math.abs(value).padZero(5).split("");
mogGold.png
@AquaEcho @ShadowDragon @Trihan

Thank you all for your help! It really means a lot you took time to help me with such a little detail but I really appreciate it! <3333
nice hud, happy game making.

Original thread: https://forums.rpgmakerweb.com/threads/adding-digits-to-gold-hud.156886/