About this mod
A customizable YYTK mod for Fields of Mistria that can increase the amount of heart points your animals gain from various actions (such as petting, feeding, etc.), prevent animals from losing heart points, automatically pet your animals (daily), and automatically feed your animals (daily).
- Requirements
- Permissions and credits
This mod is a customizable YYTK mod for Fields of Mistria that:
- Can increase the amount of heart points your animals gain from various actions (such as petting, feeding, etc.).
- Can prevent animals from losing heart points.
- Can automatically pet your animals (daily).
- Can automatically feed your animals (daily).
Each option can be set individually in the mod's configuration file. The mod will automatically create one with default values.
Important Notes
- Since this mod uses YYTK to change some of the game's code, it will only work on the Windows version of the game.
- The mod will output some information to the YYTK console window. It will let you know if custom values are loaded from the configuration file. It will also let you know if any errors occur when attempting to load or save the configuration file. Lastly, any "effects" made by the mod will be logged, such as when heart points are boosted or prevented from being lost, including auto pet and feed.
Customization
The mod is customizable and allows you to configure each of the options above independently. By default, the mod:
- Applies a 5x multiplier to all heart points added. That means all heart points will be multiplied by 5, and as a result petting an animal would grant 25 heart points instead of the usual 5.
- Prevents heart points from being reduced.
- Does NOT auto pet.
- Does NOT auto feed.
NOTE: The configuration file will NOT exist until the game (and mod) have been started at least once. Therefore, if you wish to configure the mod, start the game until the title screen loads, then EXIT the game, and lastly edit the configuration file.
In order to customize the file, you must modify the properties in its configuration file. This file is located in the AppData directory that Fields of Mistria creates. Below is a directory tree view of where the configuration file exists beginning with AppData:
AppData
├─ Local
│ ├─ Fields of Mistria
│ │├─ mod_data
│ ││├─ AnimalFriends
│ │││├─ AnimalFriends.json
NOTE: The full "path" to the file will vary depending on which drive Windows is installed on along with your account's username. For example, with Windows on the C drive and the username "anna" the full path for the configuration file would be:
C:\Users\anna\AppData\Local\FieldsOfMistria\mod_data\AnimalFriends\AnimalFriends.json
The configuration file by default will look like the following:
{
"auto_feed": false,
"auto_pet": false,
"friendship_multiplier": 5,
"prevent_friendship_loss": true
}
You can change each value as follows:
- Both auto_feed and auto_pet values can be set to true or false to enable or disable those options.
- The friendship_multiplier value adjusts how many heart points you get for interacting with animals. It must be a whole number between 1 and 100 (inclusive).
- The prevent_friendship_loss value can be set to true or false to enable or disable this option.
Below is a screenshot of the configuration file opened in Notepad with modified values for reference.

Requirements
The Mods of Mistria Installer (MOMI) is required for installation.
Installation
HEY, LISTEN!
Back up your save game before trying this mod for the first time!
- Create a folder named mods where the game (FieldsOfMistria.exe) is located. If you're using Steam, you can easily locate that by right-clicking the game in your Library and going to Installed Files > Browse in the modal window. The game's directory path will look similar to what's below:
C:\Program Files (x86)\Steam\steamapps\common\Fields of Mistria
- Download the AnimalFriends.zip file and save it inside the mods folder you created.
- Extract the zip file in this directory. There should now be a folder called AnimalFriends inside the mods folder.
- Delete (or move) the original zip file. Leave the unzipped folder alone.
- Run MOMI and install the mod!
Usage
Run the game via Steam, or the the game executable (FieldsOfMistria.exe) directly. Optionally configure the mod.
Uninstallation
Follow the standard uninstallation procedures specified by MOMI.
Source Code
https://github.com/AnnaNomoly/YYToolkit/blob/stable/AnimalFriends/source/ModuleMain.cpp
Demo Video
FoM Animal Friends.mp4
Shout Outs
- Archie (@archie_uwu): For making Aurie + YYTK and teaching me how to use it.
- Garethp (@garethp): For making MOMI.
- StephWasHere and MAPLE: For helping debug and test the initial version of this mod.