Best way to read/write lots of parameters?

Hi all,

I'm working on a Social Connection Feature for the characters in my game. Simple put, they will gain some kind of friendship points if they fight together in your party, so it's good to use several combinations to strengthen bonds.

But there will be about 100 recruitable characters (think about it like in Suikoden), so if everyone can bond with everyone, there will be a lot of Variables necessary, to cover all that. And it's tough to edit, if I add more characters later.

I use some JSONs already to import individual Character Stats, Quest configs and stuff, but so far, it's one way only. The game can read these files, but won't write or update them itself.

Is there a best practice to handle these values?

Thanks!
What I did in my Party Approval plugin is I simply made an array property of $gameSystem.

Anything you attach to $gameSystem will automatically be written to save files, so you can just make a property and refer to the values by actor index to store how many friendship points they have.
That sounds promising, thank you! I will check it out.
Saving all that directly in the save files would definitely my preferred solution.
a long string.
basically, use the alphabet as a numbering system.
we count in base 10.... computers count in base 2, base 8 or base 16.
some old empires counted in base 20.
nothing says you can't count in base 60, if you add all uppercase and lowercase letters, plus numbers, plus some signs.
cap the measurement at 50, and you'd be set.

Original thread: https://forums.rpgmakerweb.com/threads/best-way-to-read-write-lots-of-parameters.171141/