After running the game at least once with the mod installed, the mod will generate a default config in the following file:
/config/friends_forever.json
{
"likedModifier": 1.5,
"maxChance": 1.0,
"maxPoints": 255.0,
"rate": 5.0
}
likedModifier
If the Pokémon a piece of food is fed to likes a flavor on that food, the affection for that food is multiplied by this value. If it dislikes a flavor on this food, the affection for that food is divided by this value.
Whether or not a Pokémon likes a flavor is determined by their nature. Here’s some documentation from Bulbapedia on which natures like/dislike which flavors: https://bulbapedia.bulbagarden.net/wiki/Flavor#Flavor_preferences
maxChance
The maximum chance, between 0.0 and 1.0, for a Pokémon to join your team on feeding. This is multiplied by the chance described in the formula in Pokémon joining team.
maxPoints
The maximum number of affection points a Pokémon can gain for a player.
rate
The growth rate for the formula discussed in Pokémon joining team.