Social Link Mechanic and like the persona games.

So i wanted to make this game with the a mechanic similar to the Persona social links Where you can spend time with characters and they gain a friendship rank that maxes out at rank 10.
Without a proper context on how exactly this work (I never play persona games), I can only say "You can probably do it using events and variables".

Original thread: https://forums.rpgmakerweb.com/threads/social-link-mechanic-and-like-the-persona-games.117181/